Idea · Jul 13, 2026
Debugging Theater
Students debug a broken program not by reading the code but by interviewing an AI character who can only describe what they observe as a user - no root cause, no stack traces - forcing systematic hypothesis-driven diagnosis as a transferable professional skill.
What it would do
Junior developers often debug by guessing or adding print statements until something changes; they lack systematic diagnostic skill because assignments always give them the code. Debugging Theater removes the code. Students are told that a program has a bug and given a behavioral spec ('the app should accept a CSV and return a sorted list; something is wrong'). They interview an AI 'user persona' through a chat interface: the AI can respond to specific test inputs ('what happens if the first column is empty?'), describe observed behavior in plain English, and confirm or deny hypotheses ('is the output ever sorted partially?'), but is strictly constrained from revealing implementation details or error messages. Students must form a written hypothesis, test it through conversation, and submit a bug report. The instructor panel shows a log of every student's conversation and hypothesis chain, making it easy to grade diagnostic reasoning quality rather than just the correct answer. Multiple bug scenarios are provided, from off-by-one errors to race conditions, each with a different AI persona.
Key features
- Student chat interface with an AI user persona constrained to describe symptoms only, never source code
- Structured submission form: hypothesis, supporting evidence from conversation, proposed fix
- Instructor scenario builder: define a bug, the program's expected behavior, and the AI persona's allowed knowledge
- Instructor review panel: full conversation logs, hypothesis chain, and scoring rubric integration
- Five starter scenarios spanning CS1-CS2 topics (sorting, file parsing, linked list, recursive descent, concurrency)