Spaces:
Running
Running
Mihail Yonchev
commited on
Commit
•
89346c3
1
Parent(s):
fa6cba1
fix: bug for 0 values
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -146,7 +146,7 @@ class EvalResult:
|
|
146 |
}
|
147 |
|
148 |
for task in Tasks:
|
149 |
-
data_dict[task.value.col_name] = self.results.
|
150 |
|
151 |
return data_dict
|
152 |
|
|
|
146 |
}
|
147 |
|
148 |
for task in Tasks:
|
149 |
+
data_dict[task.value.col_name] = data_dict[task.value.col_name] = self.results[task.value.benchmark] if self.results[task.value.benchmark] is not None else "N/A"
|
150 |
|
151 |
return data_dict
|
152 |
|