DebugJuniorBackendAuto-graded
Software Engineer: Find out why seats were sold twice
Find and fix the bug that sold 23 theatre seats twice, and prove the fix works.A theatre ticketing service sold 23 seats twice on a sold-out night. Use Claude Code to reproduce the double sales from the night's event log, test the incident note's theory instead of trusting it, fix the cause without leaving any paying customer empty-handed, make the one call two colleagues disagree on, and prove the fix with tests and the replay's numbers. About 30 minutes, in English or Italian.30 min
python
You're done when
- No seat is ever sold twice.
- Every paying customer ends with exactly one ticket or one refund, however often the payment is sent.
- A customer whose hold is active gets a ticket, a late payer gets the seat if it is free, and the open case follows
decision.json, with your reason. bin/testis green on your fix, a test fails on the original code, and broken fixes fail your tests.verification.jsonholds Saturday's numbers from your own replays, on the original code and after your last change toplatea/.
What it measures
Debugging from evidenceReproducing the double sale before changing code, and testing the incident note's theory instead of trusting it.
Root cause, not symptomFixing why seats were sold twice without turning paying customers away or refunding everyone.
VerificationA test that fails on the original code, tests that catch broken fixes, and numbers that match the final code.
Owning the decisionMaking the call two colleagues disagree on, telling the agent, and writing down why.
Your environment
Terminal + editorA full shell in the browser
Claude CodePre-authenticated, no key setup
Isolated microVMYours alone, wiped afterwards
Start this lab
30 min
Start labYou'll sign in to Anthropos to start. The lab opens in a private cloud workspace with Claude Code ready to use.AI Labs is part of Anthropos Workforce. Not on your plan yet? Book a demo