Jack Monas commited on
Commit
b281d64
·
1 Parent(s): c9df33b
Files changed (1) hide show
  1. app.py +47 -62
app.py CHANGED
@@ -2,56 +2,59 @@ import streamlit as st
2
  import pandas as pd
3
 
4
 
 
 
 
5
 
6
- def scoring_layout():
7
- st.markdown("### Scoring")
8
  st.write(
9
  "Our scoring system rewards strong performance across all challenges, with extra weight "
10
- "given to the Evaluation Challenge. The breakdown is as follows:"
11
  )
12
 
13
- # Create three columns for a more interesting layout
14
- col1, col2, col3 = st.columns(3)
 
 
 
 
 
 
 
 
 
 
15
 
16
- with col1:
17
- st.markdown("##### Compression")
18
- st.markdown(
19
- """
20
- - **1st Place**: 10 points
21
- - **2nd Place**: 7 points
22
- - **3rd Place**: 5 points
23
- """
24
- )
25
-
26
- with col2:
27
- st.markdown("##### Sampling")
28
- st.markdown(
29
- """
30
- - **1st Place**: 10 points
31
- - **2nd Place**: 7 points
32
- - **3rd Place**: 5 points
33
- """
34
- )
35
-
36
- with col3:
37
- st.markdown("##### Evaluation")
38
- st.markdown(
39
- """
40
- - **1st Place**: 20 points
41
- - **2nd Place**: 14 points
42
- - **3rd Place**: 10 points
43
- """
44
  )
45
-
46
- st.markdown("#### Tie-Breakers")
 
47
  st.write(
48
- "The overall winner will be the team with the highest total points. "
49
- "In the event of a tie, the following tie-breakers will be applied in order:\n\n"
50
- "1. Highest Evaluation Challenge score\n"
51
- "2. Highest Sampling Challenge score\n\n"
52
- "If teams remain tied after these two criteria, a panel review will determine the final ranking."
53
  )
54
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  def main():
56
  st.set_page_config(page_title="World Model Challenge")
57
 
@@ -61,7 +64,9 @@ def main():
61
  "Welcome to the World Model Challenge server. This platform hosts three challenges "
62
  "designed to advance research in world models for robotics: Compression, Sampling, and Evaluation."
63
  )
64
-
 
 
65
  st.markdown("### Motivation")
66
  st.write(
67
  "Real-world robotics faces a fundamental challenge: environments are dynamic and change over time, "
@@ -89,27 +94,7 @@ def main():
89
  )
90
  st.markdown("---")
91
 
92
- scoring_layout()
93
-
94
- st.markdown("#### Overall Leaderboard")
95
- st.write(
96
- "The overall leaderboard, which shows the total points across all challenges, will go live on March 10th. "
97
- "In addition, each challenge—Compression, Sampling, and Evaluation—will have its own leaderboard on their respective Hugging Face submission servers. "
98
- "Below is a preview of what the overall leaderboard format might look like:"
99
- )
100
-
101
- # Sample leaderboard data as a preview
102
- data = {
103
- "Rank": [1, 2, 3],
104
- "Team Name": ["Team Alpha", "Team Beta", "Team Gamma"],
105
- "Compression Points": [10, 7, 5],
106
- "Sampling Points": [10, 7, 5],
107
- "Evaluation Points": [20, 14, 10],
108
- "Total Points": [40, 28, 20],
109
- }
110
-
111
- leaderboard_df = pd.DataFrame(data)
112
- st.table(leaderboard_df)
113
 
114
 
115
 
 
2
  import pandas as pd
3
 
4
 
5
+ def scoring_section():
6
+ # Title
7
+ st.title("Scoring")
8
 
9
+ # Intro text
 
10
  st.write(
11
  "Our scoring system rewards strong performance across all challenges, with extra weight "
12
+ "given to the Evaluation Challenge."
13
  )
14
 
15
+ # Points Breakdown in a table
16
+ st.markdown("#### Points Breakdown")
17
+ st.markdown(
18
+ """
19
+ | Challenge | 1st Place | 2nd Place | 3rd Place |
20
+ |-------------|----------:|----------:|----------:|
21
+ | **Compression** | 10 | 7 | 5 |
22
+ | **Sampling** | 10 | 7 | 5 |
23
+ | **Evaluation** | 20 | 14 | 10 |
24
+ """,
25
+ unsafe_allow_html=True
26
+ )
27
 
28
+ # Tie-Breakers in an expander for a cleaner layout
29
+ with st.expander("Tie-Breakers"):
30
+ st.write(
31
+ "The overall winner will be the team with the highest total points. "
32
+ "In the event of a tie, the following tie-breakers will be applied in order:\n\n"
33
+ "1. Highest Evaluation Challenge score\n"
34
+ "2. Highest Sampling Challenge score\n\n"
35
+ "If teams remain tied after these two criteria, a panel review will determine the final ranking."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  )
37
+
38
+ # Overall Leaderboard Section
39
+ st.markdown("#### Overall Leaderboard")
40
  st.write(
41
+ "The overall leaderboard, which shows the total points across all challenges, will go live on **March 10th**. "
42
+ "Additionally, each challenge—**Compression**, **Sampling**, and **Evaluation**—will have its own leaderboard on their "
43
+ "respective Hugging Face submission servers. Below is a preview of the overall leaderboard format:"
 
 
44
  )
45
 
46
+ # Sample leaderboard preview
47
+ data = {
48
+ "Rank": [1, 2, 3],
49
+ "Team Name": ["Team Alpha", "Team Beta", "Team Gamma"],
50
+ "Compression Points": [10, 7, 5],
51
+ "Sampling Points": [10, 7, 5],
52
+ "Evaluation Points": [20, 14, 10],
53
+ "Total Points": [40, 28, 20],
54
+ }
55
+ leaderboard_df = pd.DataFrame(data)
56
+ st.table(leaderboard_df)
57
+
58
  def main():
59
  st.set_page_config(page_title="World Model Challenge")
60
 
 
64
  "Welcome to the World Model Challenge server. This platform hosts three challenges "
65
  "designed to advance research in world models for robotics: Compression, Sampling, and Evaluation."
66
  )
67
+
68
+ st.markdown("---")
69
+
70
  st.markdown("### Motivation")
71
  st.write(
72
  "Real-world robotics faces a fundamental challenge: environments are dynamic and change over time, "
 
94
  )
95
  st.markdown("---")
96
 
97
+ scoring_section()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
 
99
 
100