Mihail Yonchev commited on
Commit
89346c3
1 Parent(s): fa6cba1

fix: bug for 0 values

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +1 -1
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.get(task.value.benchmark, "N/A")
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