Aaron Mueller commited on
Commit
1417775
·
1 Parent(s): 98488bf

caps in col name?

Browse files
Files changed (1) hide show
  1. src/populate.py +1 -1
src/populate.py CHANGED
@@ -14,7 +14,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
14
  all_data_json = [v.to_dict() for v in raw_data]
15
  all_data_json_filtered = []
16
  for item in all_data_json:
17
- item["track"] = item["eval_name"].split("_")[-1]
18
  if "VQA" in benchmark_cols and "VQA" in item:
19
  all_data_json_filtered.append(item)
20
  if "VQA" not in benchmark_cols and "VQA" not in item:
 
14
  all_data_json = [v.to_dict() for v in raw_data]
15
  all_data_json_filtered = []
16
  for item in all_data_json:
17
+ item["Track"] = item["eval_name"].split("_")[-1]
18
  if "VQA" in benchmark_cols and "VQA" in item:
19
  all_data_json_filtered.append(item)
20
  if "VQA" not in benchmark_cols and "VQA" not in item: