Parsimony

Existing benchmarks measure solve rate and cost, but don't punish excess code, which makes a codebase harder to work with in the long term. Parsimony measures how much code AI models add.

It takes the patches that benchmarks already publish and counts syntax units (calls, names, literals and so on) rather than lines: net syntax units = added − removed (method).

Compare models

Change chart

How to read this

Models are ranked by mean net syntax units added on the tasks they solved, lowest first. "Net syntax units added (mean)" also includes failed attempts. Solved comes from SWE-bench Verified; tests aren't rerun. Measured is how many solved attempts could be measured.

Each model has its own solved, measured comparison tasks and peer mixture. Missing measurements are not zero; large patches can dominate the ratio. Hover over a ratio for its shared-task count and conditional 95% range, or over Measured for success coverage. These ranges do not cover missingness, peer selection or differing harness/retry policies; configurations are not controlled model-only comparisons. Ranking details and offline diagnostics.

Leaderboard


Swipe the table sideways for more columns.

Rank Model

Missing a model? Request it. A number looks wrong? Report it. Have spare API credits? Run a model on the tasks.

Method

Limits

Add your own benchmark

Have code-size numbers from another benchmark? Download the example file, fill in your results and open it to get the same chart and table. The file stays in your browser. Format and how to share it.


Example: check for a negative number

Both return the same result.

def has_negative(values):
    found = False
    for value in values:
        if value < 0:
            found = True
    return found
def has_negative(values):
    return any(value < 0 for value in values)