Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -131,9 +131,8 @@ class EvalResult:
|
|
131 |
# data_dict[task_value.col_name] = self.results.get(task_value.benchmark, None)
|
132 |
for task in Tasks:
|
133 |
task_value = task.value
|
134 |
-
|
135 |
-
|
136 |
-
print("value:", value)
|
137 |
data_dict[task_value.col_name] = Decimal(value)
|
138 |
|
139 |
print(f"Debug: Returned dictionary from to_dict: {data_dict}")
|
|
|
131 |
# data_dict[task_value.col_name] = self.results.get(task_value.benchmark, None)
|
132 |
for task in Tasks:
|
133 |
task_value = task.value
|
134 |
+
value = self.results.get(task_value.metric)
|
135 |
+
print(f"Debug: task_value.metric: {task_value.metric}, value: {value}")
|
|
|
136 |
data_dict[task_value.col_name] = Decimal(value)
|
137 |
|
138 |
print(f"Debug: Returned dictionary from to_dict: {data_dict}")
|