Back to feed
News Story
Hacker News (AI filter)
1 sources

Show HN: Parsimony - an open-source benchmark for how much code AI models add

Parsimony is an open-source benchmark that measures how much code AI models add by counting coding units (statements, calls, names, literals) in patches from existing benchmarks like DeepSWE, SWE-bench Verified, and SWE-bench Live. It subtracts deleted code to measure net units and avoids rewarding code cramming. The creator ran GPT-6 and Claude 5.5 on a few tasks and invites feedback and public patch exports for newer models.

SynthePulse Insight · AI deep reading

When Benchmarks Start Penalizing "Writing More Code": What Parsimony Actually Tries to Measure

Version 1 · 1 source

An open-source benchmark swaps the ranking criterion for AI coding models from "how many problems solved" to "how much extra code was written on the problems solved." It counts syntactic units rather than lines, subtracts deleted code, and admits it only measures size, not quality.

  • Parsimony is an open-source benchmark that measures how much code AI models add on coding tasks, arguing that existing benchmarks only look at solve rate and cost and do not penalize redundant code.
  • It does not count by lines but instead counts "coding units" such as statements, calls, comparisons, names, and literals; net units equal additions minus deletions, so padding code earns no reward.
  • Ranking is based on the model's average net added units on solved tasks, with the lowest value ranked first; solve status is taken directly from published SWE-bench Verified results, and tests are not rerun.
  • The evaluation only measures Python, excludes tests, documentation, and generated files, and never executes code, only parsing the two versions of files before and after the patch.
  • The author admits smaller is not always better: unit count measures size, not readability or design; models that write more code also tend to solve more tasks, with a Spearman correlation of 0.33–0.60.
Open section navigationA Reverse Leaderboard: Competing to Write Less

A Reverse Leaderboard: Competing to Write Less

Parsimony is an open-source benchmark for measuring how much code AI models add on coding tasks. Its starting point is a dimension the author sees as a gap: existing benchmarks only measure solve rate and cost, do not penalize redundant code, and redundant code increases the long-term maintenance difficulty of a codebase.

So its ranking rule is the opposite of common leaderboards—models are ranked by their average net added units on solved tasks, with the lowest value ranked first. In other words, given the same problems solved, the less written, the higher the rank.

Not Counting Lines, Counting Syntactic Units

Parsimony does not count by lines but instead counts "coding units" such as syntactic elements (statements, calls, comparisons, names, literals), so padding code earns no reward. Net units equal added units minus deleted units; deleted code is subtracted rather than ignored.

This design means it rewards "small net increase," not "few changed lines." Rewriting a loop as a one-line expression may change little in line count, but it will be faithfully reflected in unit count.

Where the Data Comes From: Reusing SWE-bench, Not Rerunning Tests

Solve status is taken from published SWE-bench Verified results, and tests are not rerun. The evaluation method applies each patch to the task code and parses the two versions of the changed files, without running any code.

In scope, Parsimony only measures Python and excludes tests, documentation, and generated files. In the leaderboard, "solved task count" comes from SWE-bench Verified, while "measurable count" indicates how many solved attempts can be measured.

Notably, the "net added units (mean)" metric also includes failed attempts, while the "net added units on solved tasks (mean)" used for ranking only counts solved tasks. Both measures coexist, and readers need to see clearly which one they are looking at.

A Unified Agent, but the Agent Itself Remains a Variable

All models use the same agent, mini-SWE-agent, but that agent itself still affects how much code is written. This means differences on the leaderboard may not all come from the model and may partly reflect the agent's behavior.

In addition, the Artificial Analysis Intelligence Index is an external score, matched by model and reasoning intensity, but it does not affect Parsimony's ranking. It is more like a reference coordinate displayed alongside, not a basis for ranking.

The Boundary the Author Admits: Small Does Not Equal Good

The author admits smaller is not always better, and unit count measures size, not readability or design. This is the benchmark's most important self-limitation: it measures "how much was written," not "how well it was written."

More troublesome, on a leaderboard with more than 26 models, models that write more code also tend to solve more tasks, with a Spearman correlation of 0.33–0.60. That is, there is a positive correlation between code volume and problem-solving ability, and purely pursuing "writing less" may create a trade-off with problem-solving ability.

Unverified Pale Circles

The author says GPT-6 and Claude 5.5 have no public patches yet, so he ran them himself on 3–10 tasks using his own subscription, with results shown as pale circles that do not participate in ranking. These results are unverified and can only be regarded as the author's personal observations.

The author also says GPT-5.6 Sol was run both ways, and the amount of code he added in his own run was 0.88 times its published run result. This difference suggests that different run environments bring result fluctuations, and also shows that the leaderboard's dependence on upstream data is not risk-free.

The Reusable Part: Bring Your Own Data

Users can download a sample JSON file, fill in their own results, and generate the same charts and tables locally in the browser; the file is not uploaded. This provides a low-barrier comparison entry point for code volume data from other benchmarks.

But remember, the leaderboard data depends on published SWE-bench results; if upstream results are updated or biased, Parsimony's ranking will change accordingly. It measures a valuable dimension, not a conclusion that can stand on its own.

Credibility boundary

All facts in this article come from a single source (the Parsimony release post on Hacker News) and its evidence package. Among them, the benchmark's positioning, method, counting rules, scope limitations, ranking rules, correlation data, and local data feature are confirmed facts; the motivational statement that existing benchmarks do not penalize redundant code, and the author's self-run results for GPT-6, Claude 5.5, and GPT-5.6 Sol are source claims not verified by a third party. The author's self-run results do not participate in ranking, and readers should not treat them as equivalent to leaderboard data.

Insight takeaway

Parsimony's value is not in giving an answer to "which model is best," but in turning a long-ignored dimension—how much extra code was written given the problems solved—into a comparable number. But it has itself stated: this number only measures size, not quality, and it is positively correlated with problem-solving ability. Using it as a single ranking would misread what it really tries to express.

Primary report

Hacker News (AI filter)

Primary source