djstrong commited on
Commit
738a279
1 Parent(s): 845f28e
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +1 -0
src/leaderboard/read_evals.py CHANGED
@@ -108,6 +108,7 @@ class EvalResult:
108
  def to_dict(self):
109
  """Converts the Eval Result to a dict compatible with our dataframe display"""
110
  average = sum([v for v in self.results.values() if v is not None]) / len(Tasks)
 
111
  # data_dict = {
112
  # "eval_name": self.eval_name, # not a column, just a save name,
113
  # AutoEvalColumn.precision.name: self.precision.value.name,
 
108
  def to_dict(self):
109
  """Converts the Eval Result to a dict compatible with our dataframe display"""
110
  average = sum([v for v in self.results.values() if v is not None]) / len(Tasks)
111
+ data_dict={}
112
  # data_dict = {
113
  # "eval_name": self.eval_name, # not a column, just a save name,
114
  # AutoEvalColumn.precision.name: self.precision.value.name,