jasonshaoshun commited on
Commit
149e8f6
·
1 Parent(s): 63ae112

caulsal-track debug

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