Spaces:
Running
Running
ycy
commited on
Commit
·
3ef5e2a
1
Parent(s):
ed782b1
test
Browse files- src/populate.py +2 -2
src/populate.py
CHANGED
@@ -65,13 +65,13 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
65 |
def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
66 |
"""Creates the different dataframes for the evaluation queues requestes"""
|
67 |
entries = [entry for entry in os.listdir(save_path) if not entry.startswith(".")]
|
68 |
-
print(entries)
|
69 |
-
assert 0
|
70 |
all_evals = []
|
71 |
|
72 |
for entry in entries:
|
73 |
if ".json" in entry:
|
74 |
file_path = os.path.join(save_path, entry)
|
|
|
|
|
75 |
with open(file_path) as fp:
|
76 |
data = json.load(fp)
|
77 |
|
|
|
65 |
def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
66 |
"""Creates the different dataframes for the evaluation queues requestes"""
|
67 |
entries = [entry for entry in os.listdir(save_path) if not entry.startswith(".")]
|
|
|
|
|
68 |
all_evals = []
|
69 |
|
70 |
for entry in entries:
|
71 |
if ".json" in entry:
|
72 |
file_path = os.path.join(save_path, entry)
|
73 |
+
print(file_path)
|
74 |
+
assert 0
|
75 |
with open(file_path) as fp:
|
76 |
data = json.load(fp)
|
77 |
|