case file #007
2025 · Author
EliteCode & AlgoRank
A competitive-programming platform — problems, contests, an editor and a leaderboard — and the judge that runs the submissions.
Shipped
Problem
why this existsRun untrusted code from strangers, in four languages, fairly — and keep a leaderboard honest.
Architecture
napkin sketch, cleaned up- Next.js appproblems · contests
- Supabaseauth · Postgres
- JudgeGo
- Docker runnersC++ · Go · Java · Python
A Next.js platform with auth on Supabase/PostgreSQL. Submissions run in per-language Docker images, each with a test runner written in that language.
Technical decisions
and the trade-offsA runner per language
Each language gets its own image and a test runner written in that language, so results don't depend on a translation layer.
Key engineering challenges
the bruises- 1
Isolation
Every submission runs in its own container.
Results
- ✔ Problems, contests, an editor, a leaderboard and auth
Learnings
- ✎ The judge is the product; the website is the queue in front of it.