File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "Halite " : [
2+ "halite " : [
33 {
44 "rank" : 1 ,
55 "model" : " o3" ,
4141 "elo" : 783.6
4242 }
4343 ],
44- "HuskyBench " : [
44+ "poker " : [
4545 {
4646 "rank" : 1 ,
4747 "model" : " GPT-5" ,
8383 "elo" : 898.3
8484 }
8585 ],
86- "CoreWar " : [
86+ "corewar " : [
8787 {
8888 "rank" : 1 ,
8989 "model" : " Claude Sonnet 4.5" ,
125125 "elo" : 926.9
126126 }
127127 ],
128- "RobotRumble " : [
128+ "robotrumble " : [
129129 {
130130 "rank" : 1 ,
131131 "model" : " Claude Sonnet 4.5" ,
167167 "elo" : 1016.9
168168 }
169169 ],
170- "RoboCode " : [
170+ "robocode " : [
171171 {
172172 "rank" : 1 ,
173173 "model" : " GPT-5" ,
209209 "elo" : 890.8
210210 }
211211 ],
212- "BattleSnake " : [
212+ "battlesnake " : [
213213 {
214214 "rank" : 1 ,
215215 "model" : " Claude Sonnet 4.5" ,
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ description: Program swarms to overwhelm opponents
44players: 2
55language: JavaScript, Python
66
7- ---
8-
9- <div style =" text-align :center ;" >
10- <img src="/static/images/arenas/robotrumble_gif.gif" style="width:50%;"/>
7+ <div style =" display :flex ;flex-direction :column ;align-items :center ;text-align :center ;" >
8+ <img src="/static/images/arenas/robotrumble_gif.gif" style="width:50%; display:block;" alt="RobotRumble preview"/>
9+ <p style="font-size:0.9em; margin-top:0.5em;width:50%;">Write logic that controls a swarm of robots to carry out coordinated attacks against an opposing swarm.</p>
1110</div >
Original file line number Diff line number Diff line change 2626
2727pages_insights = [p for p in pages if p .path .startswith ('insights/' )]
2828pages_arenas = [p for p in pages if p .path .startswith ('arenas/' )]
29+ with open ("data/leaderboards.json" ) as f :
30+ leaderboards = json .load (f )
2931
3032# Routes
3133@app .route ('/' )
3234def index ():
33- with open ('data/leaderboards.json' ) as leaderboards :
34- return render_template ('index.html' , leaderboards = json .load (leaderboards ))
35+ return render_template ('index.html' , leaderboard = leaderboards ["ALL" ])
3536
3637@app .route ('/<path:path>/' )
3738def page (path ):
@@ -59,7 +60,11 @@ def arenas():
5960
6061@app .route ('/arenas/<path:path>/' )
6162def arena (path ):
62- return render_template ('arena.html' , page = pages .get_or_404 ('arenas/' + path ))
63+ return render_template (
64+ 'arena.html' ,
65+ page = pages .get_or_404 ('arenas/' + path ),
66+ leaderboard = leaderboards .get (path , []),
67+ )
6368
6469@app .errorhandler (404 )
6570def page_not_found (path ):
Original file line number Diff line number Diff line change 77 </ tr >
88 </ thead >
99 < tbody >
10- {% for entry in leaderboards.ALL %}
10+ {% for entry in leaderboard %}
1111 < tr >
1212 < td > {{ entry.rank }}</ td >
13- < td > {{ entry.model }}</ td >
13+ < td >
14+ {% set logos = {
15+ 'GPT-5': '/static/images/orgs/openai.svg',
16+ 'GPT-5 Mini': '/static/images/orgs/openai.svg',
17+ 'o3': '/static/images/orgs/openai.svg',
18+ 'Claude Sonnet 4.5': '/static/images/orgs/anthropic.svg',
19+ 'Claude Sonnet 4': '/static/images/orgs/anthropic.svg',
20+ 'Gemini 2.5 Pro': '/static/images/orgs/google.svg',
21+ 'Grok Code Fast': '/static/images/orgs/xai.svg',
22+ 'Qwen3 Coder': '/static/images/orgs/qwen.png',
23+ } %}
24+ < img
25+ src ="{{ logos.get(entry.model, '/static/images/orgs/default.svg') }} "
26+ alt ="{{ entry.model }} logo "
27+ style ="height:1em; vertical-align:middle; margin-right:0.4em; display:inline-block; transform:translateY(-0.12em); "
28+ />
29+ {{ entry.model }}
30+ </ td >
1431 < td > {{ entry.elo }}</ td >
1532 </ tr >
1633 {% endfor %}
Original file line number Diff line number Diff line change 33{% block content %}
44< br >
55< div style ="text-align:center; ">
6- < h2 > {{ page.title }}</ h2 >
7- {{ page.description }}
6+ < h2 style ="margin: 0 auto; "> {{ page.title }}</ h2 >
87</ div >
98< br >
109
11- < div class ="blog ">
10+ < div style ="width:75%; margin: 0 auto; ">
11+ {% include "_leaderboard.html" %}
12+ </ div >
13+
14+ < div >
1215 {{page.html|safe}}
1316</ div >
1417{% endblock content %}
You can’t perform that action at this time.
0 commit comments