Kabalisticus commited on
Commit
369782e
1 Parent(s): 41c89ff

back to test

Browse files
Files changed (2) hide show
  1. app.py +2 -3
  2. utils.py +0 -3
app.py CHANGED
@@ -118,7 +118,7 @@ def main():
118
  st.write("### Select Competition")
119
 
120
  # Create a header for the table
121
- cols = st.columns([1, 3, 2, 2, 2, 2, 2, 2, 2])
122
  cols[0].write("Index")
123
  cols[1].write("Competition Name")
124
  cols[2].write("Leader")
@@ -127,12 +127,11 @@ def main():
127
  cols[5].write("UID")
128
  cols[6].write("Hotkey")
129
  cols[7].write("Days on Top")
130
- cols[8].write("Accuracy")
131
 
132
  for index, (competition, details) in enumerate(projects.items(), start=1):
133
  leader_info = st.session_state.get("leader_info", {}).get(competition, {})
134
 
135
- cols = st.columns([1, 3, 2, 2, 2, 2, 1, 2,2,2])
136
  cols[0].write(index)
137
  if cols[1].button(competition):
138
  st.session_state.selected_competition = competition
 
118
  st.write("### Select Competition")
119
 
120
  # Create a header for the table
121
+ cols = st.columns([1, 3, 2, 2, 2, 2, 1, 2])
122
  cols[0].write("Index")
123
  cols[1].write("Competition Name")
124
  cols[2].write("Leader")
 
127
  cols[5].write("UID")
128
  cols[6].write("Hotkey")
129
  cols[7].write("Days on Top")
 
130
 
131
  for index, (competition, details) in enumerate(projects.items(), start=1):
132
  leader_info = st.session_state.get("leader_info", {}).get(competition, {})
133
 
134
+ cols = st.columns([1, 3, 2, 2, 2, 2, 1, 2])
135
  cols[0].write(index)
136
  if cols[1].button(competition):
137
  st.session_state.selected_competition = competition
utils.py CHANGED
@@ -24,9 +24,6 @@ def fetch_competition_summary(api, projects, selected_project):
24
  "Winning Hotkey": summary.get("winning_hotkey"),
25
  "Run Time (s)": summary.get("run_time_s"),
26
  "Created At": run.created_at,
27
- "Accuracy": summary.get("accuracy"),
28
- "Recall": summary.get("recall"),
29
- "ROC AUC": summary.get("roc_auc"),
30
  })
31
  except Exception as e:
32
  st.write(f"Error processing run {run.id}: {str(e)}")
 
24
  "Winning Hotkey": summary.get("winning_hotkey"),
25
  "Run Time (s)": summary.get("run_time_s"),
26
  "Created At": run.created_at,
 
 
 
27
  })
28
  except Exception as e:
29
  st.write(f"Error processing run {run.id}: {str(e)}")