Spaces:
Runtime error
Runtime error
minhopark-neubla
commited on
Commit
•
4a09652
1
Parent(s):
a39938f
Revert change
Browse files- src/populate.py +2 -2
src/populate.py
CHANGED
@@ -17,8 +17,8 @@ def get_leaderboard_df(results_path: str, cols: list, benchmark_cols: list) -> p
|
|
17 |
|
18 |
df = pd.DataFrame.from_records(all_data_json)
|
19 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
20 |
-
|
21 |
-
df = df.round(decimals=2)
|
22 |
# filter out if any of the benchmarks have not been produced
|
23 |
df = df[has_no_nan_values(df, benchmark_cols)]
|
24 |
return raw_data, df
|
|
|
17 |
|
18 |
df = pd.DataFrame.from_records(all_data_json)
|
19 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
20 |
+
df = df[cols].round(decimals=2)
|
21 |
+
# df = df.round(decimals=2)
|
22 |
# filter out if any of the benchmarks have not been produced
|
23 |
df = df[has_no_nan_values(df, benchmark_cols)]
|
24 |
return raw_data, df
|