sh1gechan commited on
Commit
020b254
1 Parent(s): be7331c

Update src/leaderboard/read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +2 -3
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
- print("task_value.benchmark:", task_value.benchmark)
135
- value = self.results.get(task_value.benchmark)
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}")