jasonshaoshun commited on
Commit
6ea8a3e
·
1 Parent(s): 149e8f6

caulsal-track debug

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +3 -3
src/leaderboard/read_evals.py CHANGED
@@ -458,7 +458,7 @@ def get_raw_eval_results_mib_causalgraph(results_path: str, requests_path: str)
458
  result = eval_result.init_from_json_file(filepath)
459
  data_dict = result.to_dict()
460
 
461
- print(f"data_dict.keys(): {data_dict.keys()}")
462
 
463
  # Add method counter to the method name if it's not the first instance
464
  if method_counters[method_name] > 1:
@@ -471,8 +471,8 @@ def get_raw_eval_results_mib_causalgraph(results_path: str, requests_path: str)
471
 
472
  # Create the detailed DataFrame
473
  detailed_df = pd.DataFrame(data_dicts)
474
- detailed_df.set_index("Method", inplace=True)
475
- print(f"detailed_df coluns are {detailed_df.columns.tolist()}")
476
  # if "eval_name" in detailed_df.columns:
477
  # detailed_df.drop("eval_name", axis=1, inplace=True)
478
 
 
458
  result = eval_result.init_from_json_file(filepath)
459
  data_dict = result.to_dict()
460
 
461
+ # print(f"data_dict.keys(): {data_dict.keys()}")
462
 
463
  # Add method counter to the method name if it's not the first instance
464
  if method_counters[method_name] > 1:
 
471
 
472
  # Create the detailed DataFrame
473
  detailed_df = pd.DataFrame(data_dicts)
474
+ # detailed_df.set_index("Method", inplace=True)
475
+ # print(f"detailed_df coluns are {detailed_df.columns.tolist()}")
476
  # if "eval_name" in detailed_df.columns:
477
  # detailed_df.drop("eval_name", axis=1, inplace=True)
478