The Brief
Bug Fix from Repro
A user reported a bug. We've reduced it to one failing test. The repo has 120 tests; 119 pass, 1 fails. Fix only the bug.
Constraints - Don't add new abstractions or refactor unrelated code. - All 120 tests must pass after your fix. - Add at least one regression test that would have caught this bug.
What we measure - Diff size: minimal change wins. Senior engineers fix bugs; juniors rewrite the function. - Tool-Choice IQ: how much grep/read vs how much LLM-write. Reading the code first is rewarded. - Recovery Index: did you back out a wrong hypothesis cleanly, or did you pile on?
Allowed tools code_run, file_search.