Aaron Mueller commited on
Commit
86a4a73
·
1 Parent(s): 9134b9b

update leaderboard logic

Browse files
Files changed (2) hide show
  1. src/populate.py +0 -1
  2. src/submission/submit.py +1 -2
src/populate.py CHANGED
@@ -22,7 +22,6 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
22
  all_data_json = all_data_json_filtered
23
 
24
  df = pd.DataFrame.from_records(all_data_json)
25
- print(df)
26
  df = df.sort_values(by=[AutoEvalColumn.text_average.name], ascending=False)
27
  df = df[cols].round(decimals=1)
28
 
 
22
  all_data_json = all_data_json_filtered
23
 
24
  df = pd.DataFrame.from_records(all_data_json)
 
25
  df = df.sort_values(by=[AutoEvalColumn.text_average.name], ascending=False)
26
  df = df[cols].round(decimals=1)
27
 
src/submission/submit.py CHANGED
@@ -74,7 +74,6 @@ def add_new_eval(
74
  "predictions": predictions,
75
  "status": "PENDING",
76
  "submitted_time": current_time,
77
- "private": False,
78
  }
79
 
80
  print("Made it after 4")
@@ -109,4 +108,4 @@ def add_new_eval(
109
 
110
  return styled_message(
111
  "Your request has been submitted to the evaluation queue!\nPlease wait for up to an hour for the request to show in the PENDING list."
112
- )
 
74
  "predictions": predictions,
75
  "status": "PENDING",
76
  "submitted_time": current_time,
 
77
  }
78
 
79
  print("Made it after 4")
 
108
 
109
  return styled_message(
110
  "Your request has been submitted to the evaluation queue!\nPlease wait for up to an hour for the request to show in the PENDING list."
111
+ )