Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
pminervini
commited on
Commit
•
952a5e1
1
Parent(s):
717e20e
update
Browse files- src/populate.py +1 -1
src/populate.py
CHANGED
@@ -22,7 +22,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
22 |
df = pd.DataFrame.from_records(all_data_json)
|
23 |
if AutoEvalColumn.average.name in df:
|
24 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
25 |
-
|
26 |
|
27 |
# filter out if any of the benchmarks have not been produced
|
28 |
df = df[has_no_nan_values(df, benchmark_cols)]
|
|
|
22 |
df = pd.DataFrame.from_records(all_data_json)
|
23 |
if AutoEvalColumn.average.name in df:
|
24 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
25 |
+
df = df[cols].round(decimals=2)
|
26 |
|
27 |
# filter out if any of the benchmarks have not been produced
|
28 |
df = df[has_no_nan_values(df, benchmark_cols)]
|