Developer lasushin releases Parsimony, an open-source benchmark that measures how much extra code AI models write
Developer lasushin released Parsimony, an open-source benchmark that measures how much more code AI models and agent harnesses, the tool layer that schedules a model's task execution, write than humans do to fix the same issue. It counts syntax units in patches (statements, calls, variable names), not lines, comments or tests, then compares against human fixes for the same issues. The author reports that on SWE-bench Verified the median model writes about 1.9 times the human fix, and about 1 times on DeepSWE. For one pair of open-weight models, changing only the harness moved the ratio from 0.80 times under Codex to 0.99 times under mini-SWE-agent and OpenClaw, with harness data from Joel Niklaus's Harness Leaderboard. The author also notes that stronger models write slightly more code. Some newer models were run by the author in Codex and Claude Code and are marked unverified on DeepSWE. The website and GitHub repository are public, and the author is collecting public patches for new models and contributors.
Existing coding benchmarks mainly look at two things: the solve rate, and the tokens and cost a model's output consumes. They do not penalise writing extra code. As long as an agent gets the tests to pass, its score still looks good even if it also adds a pile of unused functions and calls along the way. Parsimony takes a different angle. It takes the patches agents submitted to public benchmarks such as DeepSWE, SWE-bench Verified and SWE-bench Live, parses the code before and after the patch, counts how many syntax units (statements, calls, names) were added and removed, and compares that with human fixes for the same issues. It does not count lines, comments or tests.
When evaluating coding agents, looking only at the solve rate misses technical debt: for the same issue, the amount of code written under different harnesses can differ by about 20%. When teams choose a model or harness, they can look at Parsimony's ratio together with the solve rate, but they should note that it only covers models whose patches are already public, and that some of the data was run by the author and is not yet verified.