Idea · Aug 27, 2026

Bug Olympics

A competitive in-class game where students race to fix a live queue of seeded buggy code snippets, with a real-time Supabase leaderboard, per-bug time tracking, and a post-round heat map showing which error types slowed the whole class down.

What it would do

Bug Olympics turns debugging practice into a 20-minute classroom event. The instructor creates a session by uploading a JSON file of 8-12 buggy code snippets: each snippet includes a description of the intended behavior, one or more seeded bugs (logical error, off-by-one, wrong return type, missing null check), and a hidden test suite. When the instructor presses 'Start,' all students see the first snippet simultaneously in a Monaco editor embedded in the browser. Students fix the code and click 'Submit.' A server-side sandboxed runner (Python subprocess with a 5-second timeout) executes the hidden tests and returns pass/fail. A correct fix retires the snippet for that student and advances them to the next one. Time-to-fix is recorded per student per snippet. A Supabase real-time channel powers a live leaderboard showing each student's handle, number of snippets completed, and current streak of correct first-attempts. After all students finish or the round timer expires (default 20 minutes), the instructor sees a heat map: rows are snippets, columns are error-type tags (logical, syntax, API misuse, off-by-one), and cell color encodes median time-to-fix across the class. Snippets that took more than twice the class median get flagged automatically with a 'revisit' badge for use in the next lecture. The student view also shows a personal bar chart of their time-per-bug after the round ends, so individuals can compare their weakest error types to the class distribution. No account creation: students join by entering a session code and a chosen handle.

Key features

  • Instructor snippet uploader: JSON file with buggy code, intended behavior description, and hidden test suite
  • Monaco editor in the browser for in-session code editing and submission
  • Server-side sandboxed test runner (Python subprocess, 5-second timeout) for immediate pass/fail feedback
  • Supabase real-time leaderboard: handle, snippets completed, first-attempt streak
  • Post-round heat map: median time-to-fix by snippet and error-type tag
  • Personal bar chart of time-per-bug shown to each student after the round

More in Developer Tooling

Stack Trace Theater

A browser tool that animates Python and Java stack traces as frame-by-frame call stack walkthroughs, with LLM-generated plain-English explanations at each level so novices understand not just what failed but why.

Developer ToolingTeaching toolMediumAug 30, 2026

Bug Witness Investigation

An interrogation-style debugging game where CS students question AI witness characters to deduce a bug's root cause, building systematic diagnostic thinking through narrative gameplay.

Developer ToolingTeaching toolMediumAug 29, 2026

Pair Review Roulette

A web app for structured in-class peer code review: the instructor pastes submission URLs, the app auto-pairs students, shows code side-by-side with inline comment anchors, runs a countdown timer, and delivers a Claude-generated reflection synthesis to each author after the session.

Developer ToolingTeaching toolMediumAug 26, 2026

Test Oracle Trainer

A classroom tool where instructors upload a program with hidden injected bugs and students write tests to find them, earning Claude-powered Socratic hints for bugs they haven't caught yet.

Developer ToolingTeaching toolMediumAug 24, 2026

All 131 ideas in Developer Tooling →