xeon27 commited on
Commit
116683a
·
1 Parent(s): 8555000

Log df shape

Browse files
Files changed (1) hide show
  1. src/populate.py +3 -0
src/populate.py CHANGED
@@ -44,6 +44,9 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
44
  # # filter out if any of the benchmarks have not been produced
45
  # df = df[has_no_nan_values(df, benchmark_cols)]
46
 
 
 
 
47
  # make values clickable and link to log files
48
  for col in benchmark_cols:
49
  df[col] = df[[AutoEvalColumn.model.name, col]].apply(lambda x: f"[{x[col]}]({get_inspect_log_url(model_name=x[AutoEvalColumn.model.name].split('>')[1].split('<')[0], benchmark_name=TASK_NAME_INVERSE_MAP[col]['name'])})" if x[col] is not None else "-", axis=1)
 
44
  # # filter out if any of the benchmarks have not been produced
45
  # df = df[has_no_nan_values(df, benchmark_cols)]
46
 
47
+ # TMP: Log
48
+ print(df.shape)
49
+
50
  # make values clickable and link to log files
51
  for col in benchmark_cols:
52
  df[col] = df[[AutoEvalColumn.model.name, col]].apply(lambda x: f"[{x[col]}]({get_inspect_log_url(model_name=x[AutoEvalColumn.model.name].split('>')[1].split('<')[0], benchmark_name=TASK_NAME_INVERSE_MAP[col]['name'])})" if x[col] is not None else "-", axis=1)