You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,9 @@ BalatroBench is a static web application that displays performance leaderboards
11
11
### Core Components
12
12
13
13
-**index.html**: Main leaderboard page with responsive table layout using Tailwind CSS
14
-
-**script.js**: Fetches and renders leaderboard data, with interactive expandable rows showing detailed charts and statistics
14
+
-**community.html**: Community strategy leaderboard page with similar layout and functionality
15
+
-**about.html**: About page with project information and metrics documentation
16
+
-**script.js**: Shared JavaScript for all pages - fetches and renders leaderboard data, with interactive expandable rows showing detailed charts and statistics
15
17
-**data/**: Contains benchmark results organized by version, strategy, and data type
16
18
-`data/benchmarks/v0.8.0/default/leaderboard.json`: Primary model leaderboard data
17
19
-`data/community/v0.8.0/default/leaderboard.json`: Community strategy leaderboard data
@@ -31,6 +33,7 @@ Models are identified by `vendor/model` format and ranked by performance metrics
31
33
32
34
### Interactive Features
33
35
36
+
-**Navigation**: Top navigation bar with links between main leaderboard, community, and about pages
34
37
-**Expandable Rows**: Click on desktop (lg+) to expand detailed view with:
35
38
- Round distribution histogram using Chart.js
36
39
- Provider usage pie chart
@@ -93,6 +96,16 @@ python3 -m http.server 8000
93
96
94
97
The project accepts AI strategy submissions through a community form process. Contributors develop strategies using the `balatrollm` framework, test locally, then submit via web form for automated server validation and leaderboard inclusion.
95
98
99
+
## Site Structure
100
+
101
+
The application consists of three main pages:
102
+
103
+
1.**Main Leaderboard** (`index.html`): Primary model performance rankings
3.**About** (`about.html`): Project information and metrics documentation
106
+
107
+
All pages share the same navigation structure and use the same `script.js` for functionality.
108
+
96
109
## Static Hosting
97
110
98
111
This is a pure client-side application requiring no backend server - suitable for deployment to static hosting services like GitHub Pages, Netlify, or Vercel.
0 commit comments