sh1gechan commited on
Commit
27fbd7a
1 Parent(s): 5455e12

Update src/leaderboard/read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +2 -5
src/leaderboard/read_evals.py CHANGED
@@ -3,8 +3,6 @@ import json
3
  import math
4
  import os
5
  from dataclasses import dataclass
6
- from decimal import Decimal
7
-
8
  import dateutil
9
  import numpy as np
10
 
@@ -76,9 +74,8 @@ class EvalResult:
76
  for task in Tasks:
77
  task_value = task.value
78
  print("task_value", task_value)
79
- result = scores.get(task_value.metric)
80
- results[task_value.metric] = Decimal(result)
81
- print("results", results)
82
 
83
 
84
  return self(
 
3
  import math
4
  import os
5
  from dataclasses import dataclass
 
 
6
  import dateutil
7
  import numpy as np
8
 
 
74
  for task in Tasks:
75
  task_value = task.value
76
  print("task_value", task_value)
77
+ score = scores.get(task_value.metric)
78
+ results[task_value.metric] = score
 
79
 
80
 
81
  return self(