How cometbuster4969/stickblade-arena works
Stickblade Arena is a blind-voting LLM combat benchmark. Users choose fighters and match settings, watch a physics fight without model identities, vote, then see identities and ratings; match provenance and replays support audit and reruns. The backend serves the web workflow and persists match data, while the frontend exposes the fight, replay, leaderboard, tournament, and research views. README and sampled backend evidence establish the main flow; unsampled frontend page-to-component wiring and some internal runtime calls are not asserted.
Main entry points: server.py HTTP API · api.js API client · main.py Match orchestration · brains.py Fighter brains
Components 25
Arena web app
- Arena pages
stickblade-web/app/page.js - API client
stickblade-web/lib/api.js - Replay player
stickblade-web/components/ReplayPlayer.js - Leaderboard views
stickblade-web/app/leaderboard/page.js - Tournament views
stickblade-web/app/tournament/page.js
Match runtime
- HTTP API
stickblade/server.py - Match orchestration
stickblade/main.py - Fighter brains
stickblade/brains.py - Physics combat
stickblade/combat.py - Ragdoll fighters
stickblade/ragdoll.py - Weapon system
stickblade/weapons.py - Move vocabulary
stickblade/moves.py - Joint control
stickblade/joint_mode.py - Fight rendering
stickblade/render.py
Benchmark integrity
- Benchmark spec
stickblade/benchmark.py - Replay forensics
stickblade/anti_gaming.py - Data quality
stickblade/data_quality.py
Results and records
- Replay recorder
stickblade/recorder.py - Local storage
stickblade/storage.py - Supabase storage
stickblade/storage_supabase.py - Elo ratings
stickblade/ratings.py - Match events
stickblade/events.py - Usage costs
stickblade/costs.py
Other components
- Arena user
- Model providers
Connections 28
- Arena user → Arena pages: selects match
README.md - Arena pages → HTTP API: requests match
README.md - HTTP API → Match orchestration: runs simulation
stickblade/server.py - Match orchestration → Fighter brains: requests actions
stickblade/main.py - Fighter brains → Model providers: queries models
- Match orchestration → Physics combat: steps combat
stickblade/main.py - Physics combat → Ragdoll fighters: simulates bodies
stickblade/combat.py - Ragdoll fighters → Weapon system: builds weapon
stickblade/ragdoll.py - Fighter brains → Move vocabulary: uses actions
stickblade/brains.py - Fighter brains → Joint control: uses controls
stickblade/brains.py - Match orchestration → Fight rendering: renders fight
stickblade/main.py - HTTP API → Benchmark spec: checks benchmark
stickblade/server.py - HTTP API → Replay recorder: records replay
stickblade/server.py - HTTP API → Local storage: persists matches
stickblade/server.py - HTTP API → Supabase storage: selects backend
stickblade/server.py - HTTP API → Replay forensics: checks replay
stickblade/server.py - HTTP API → Data quality: labels evidence
stickblade/server.py - HTTP API → Elo ratings: updates ratings
stickblade/server.py - HTTP API → Match events: handles events
stickblade/server.py - HTTP API → Usage costs: reports costs
stickblade/server.py - HTTP API → Local storage: stores vote
README.md - Arena user → HTTP API: casts blind vote
README.md - HTTP API → Arena user: reveals fighters
README.md - Elo ratings → Local storage: updates Elo
- HTTP API → API client: serves data
README.md - API client → Replay player: loads replay
- API client → Leaderboard views: loads rankings
- API client → Tournament views: loads tournament