Kabalisticus commited on
Commit
242c8f5
1 Parent(s): c1f3835
Files changed (2) hide show
  1. app.py +2 -2
  2. utils.py +3 -0
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, 3, 2])
122
  cols[0].write("Index")
123
  cols[1].write("Competition Name")
124
  cols[2].write("Leader")
@@ -131,7 +131,7 @@ def main():
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
 
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, 2,2])
122
  cols[0].write("Index")
123
  cols[1].write("Competition Name")
124
  cols[2].write("Leader")
 
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, 22,2,2])
135
  cols[0].write(index)
136
  if cols[1].button(competition):
137
  st.session_state.selected_competition = competition
utils.py CHANGED
@@ -24,6 +24,9 @@ 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
  })
28
  except Exception as e:
29
  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
+ "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)}")