← Back to the recipe

Run data

Test cleanup is the job everyone wants to hand off. Can the cheap model do it without quietly deleting coverage?

Claude Code 2.1.312 · 6 Nov 2026 · 6 runs · costs as Claude Code reports them. Raw summary (JSON)

Prompt

Clean up this project's test suite without changing behavior. Deduplicate redundant tests, rename unclear tests, remove dead or skipped tests that add nothing, and extract shared fixtures where it helps. Do not change any files under src/. Run the tests when you're done and leave them passing.

Runs

RunModelCostTurnsTimenpm test passeshidden behavioral suite (discount/coupon/total edges)mutation still caught (SAVE10→9%)src/ untouchedran tests after last editchanges only under tests/ (no new deps)precise SAVE10 coverage still presentDiff
Sonnet #1sonnet-5-5$0.1431750spasspasspasspasspasspasspassdiff
Sonnet #2sonnet-5-5$0.1031132spasspasspasspasspasspasspassdiff
Sonnet #3sonnet-5-5$0.1061134spasspasspasspasspasspasspassdiff
Haiku #1haiku-5-5$0.0162169spasspasspasspasspasspasspassdiff
Haiku #2haiku-5-5$0.0102842spasspasspasspasspasspasspassdiff
Haiku #3haiku-5-5$0.0131453spasspasspasspasspasspasspassdiff