Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
pminervini
commited on
Commit
•
241e347
1
Parent(s):
952a5e1
update
Browse files- src/populate.py +2 -2
src/populate.py
CHANGED
@@ -24,8 +24,8 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
24 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
25 |
df = df[cols].round(decimals=2)
|
26 |
|
27 |
-
|
28 |
-
|
29 |
return raw_data, df
|
30 |
|
31 |
|
|
|
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)]
|
29 |
return raw_data, df
|
30 |
|
31 |
|