debug
Browse filesSigned-off-by: n1ck-guo <heng.guo@intel.com>
- src/populate.py +2 -0
src/populate.py
CHANGED
@@ -15,6 +15,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, dynamic_path: str,
|
|
15 |
print(all_data_json)
|
16 |
all_data_json.append(baseline_row)
|
17 |
filter_models_flags(all_data_json)
|
|
|
18 |
print("Keys in the first record of all_data_json:", all_data_json[0].keys())
|
19 |
|
20 |
|
@@ -26,6 +27,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, dynamic_path: str,
|
|
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 |
|
|
|
15 |
print(all_data_json)
|
16 |
all_data_json.append(baseline_row)
|
17 |
filter_models_flags(all_data_json)
|
18 |
+
print([all_data_json[i]['model_name_for_query'] for i in len(all_data_json)])
|
19 |
print("Keys in the first record of all_data_json:", all_data_json[0].keys())
|
20 |
|
21 |
|
|
|
27 |
|
28 |
# filter out if any of the benchmarks have not been produced
|
29 |
df = df[has_no_nan_values(df, benchmark_cols)]
|
30 |
+
print("get_leaderboard_df:", df)
|
31 |
return raw_data, df
|
32 |
|
33 |
|