Spaces:
Running
Running
Mihail Yonchev
commited on
Commit
•
bfe2440
1
Parent(s):
89346c3
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] =
|
150 |
|
151 |
return data_dict
|
152 |
|
|
|
146 |
}
|
147 |
|
148 |
for task in Tasks:
|
149 |
+
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 |
|