AICodeArena — Multi-LLM Code Evaluation Platform
Links
- 💻 Repository: github.com/Saadbeg2/AICodeArena
Overview
AICodeArena is a full-stack platform for fairly evaluating and comparing AI-generated code across large language models. Pick a programming problem, fire it at several models at once, and watch a live leaderboard rank their submissions by real test results — not vibes.
Most “which AI writes better code” debates are anecdotal. AICodeArena makes the comparison reproducible: the same prompt goes to every model, every submission runs against the same hidden tests, and scoring is fully automated.
Built in Summer 2026 in collaboration with Professor Hilford (University of Houston).
How It Works
- Problem bank — assignments defined as JSON (description, starter code, editable vs. read-only files, hidden tests).
- Prompt builder — constructs model prompts without exposing hidden tests, so models can’t game the grading.
- Multi-model competition — sends the same prompt to every selected model in parallel via provider adapters, with independent timeouts and failure isolation per model.
- Validation — submissions are sanity-checked before execution (never silently “repaired”).
- Evaluation — code runs against hidden tests in real runtimes:
- Browser assignments → Playwright + Chromium + hidden QUnit tests
- Node/Pug assignments → Node + Jest + jsdom
- Results — scores persist to SQLite and surface in a React dashboard: competition view, leaderboard, per-model test breakdowns, and side-by-side comparison with reference solutions.
Tech Stack
- Backend: Python, FastAPI (20+ REST endpoints), SQLAlchemy + SQLite
- Frontend: React 18 + Vite
- Providers: Gemini, Groq, Mistral, OpenRouter (dynamic model catalog)
- Evaluation: Playwright, Chromium, QUnit, Jest, jsdom
- Quality: 288 backend unit tests, frontend Vitest suites, strict submission validation
Screenshots
Competition dashboard — problem bank, run controls, and live results
Run results across 8 models with per-model scores and status
Per-model test breakdown with pass/fail detail
What This Project Demonstrates
- Full-stack system design: API design, data modeling, async execution, and a real dashboard
- Fairness engineering: hidden-test isolation, deterministic scoring, reproducible runs
- Production-minded Python: structured error handling per provider, timeouts, concurrency via thread pools
- Test discipline: 288 backend tests covering the evaluation pipeline end to end