meg-huggingface commited on
Commit
7dd365e
1 Parent(s): 307a0ec

Debug statements

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +2 -1
src/leaderboard/read_evals.py CHANGED
@@ -202,8 +202,9 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
202
  results.append(v)
203
  print("Results is now:")
204
  print(results)
205
- except KeyError: # not all eval values present
206
  print("Key Error! Continuing.")
 
207
  continue
208
 
209
  return results
 
202
  results.append(v)
203
  print("Results is now:")
204
  print(results)
205
+ except KeyError as e: # not all eval values present
206
  print("Key Error! Continuing.")
207
+ print(e)
208
  continue
209
 
210
  return results