hn.today

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

parsimony.lasu.dev24 points2 comments
Screenshot of 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 when submitting patches, focusing on code growth rather than just pass/fail rates or compute cost. It computes net "coding units" - syntax elements such as statements, calls, comparisons, names, and literals - by parsing before-and-after versions of changed Python files and subtracting removed units from added ones. Tests, docs and generated files are excluded, patches are not executed, and pass/fail status is taken from SWE-bench’s published results. Models are ranked by mean net units added across solved tasks (including failed attempts in that metric), with an interactive leaderboard and charts driven by JSON data hosted on GitHub.

Findings and caveats are explicit: smaller output is not always better because unit counts measure size, not readability or design, and models that produce more code tend to solve more tasks (Spearman 0.33-0.60 on boards with 26+ models). All models run through the same mini-SWE-agent, which still influences code volume. Extra features include an Artificial Analysis Intelligence Index (informational only), author-run unverified "faded" model runs, an example refactor to illustrate reduced units, and tooling to import other benchmark results so teams can compare code-size impacts alongside classical evaluation metrics.

Read on parsimony.lasu.dev2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

Chabuduo World

Chabuduo World

AI has reached a level where good enough outputs can replace human effort across many fields, leading to a world where most people rely on basic tools rather than developing advanced skills. This shift risks diminishing the pursuit of mastery, as the effort required to become an expert becomes less necessary with accessible AI assistance. (tracingwoodgrains.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.