Spaces:
Sleeping
Sleeping
meg-huggingface
commited on
Commit
•
a200055
1
Parent(s):
89f936a
Debugging / removing Average
Browse files- src/populate.py +3 -1
src/populate.py
CHANGED
@@ -13,9 +13,11 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
13 |
print("To get the leaderboard df, the raw_data is:")
|
14 |
print(raw_data)
|
15 |
all_data_json = [v.to_dict() for v in raw_data]
|
|
|
|
|
16 |
|
17 |
df = pd.DataFrame.from_records(all_data_json)
|
18 |
-
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
19 |
df = df[cols].round(decimals=2)
|
20 |
|
21 |
# filter out if any of the benchmarks have not been produced
|
|
|
13 |
print("To get the leaderboard df, the raw_data is:")
|
14 |
print(raw_data)
|
15 |
all_data_json = [v.to_dict() for v in raw_data]
|
16 |
+
print("After running to_dict, now it is:")
|
17 |
+
print(all_data_json)
|
18 |
|
19 |
df = pd.DataFrame.from_records(all_data_json)
|
20 |
+
#df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
21 |
df = df[cols].round(decimals=2)
|
22 |
|
23 |
# filter out if any of the benchmarks have not been produced
|