SlopCodeBench Explained: Results, Metrics, and What It Means (arXiv 2603.24755)
An independent benchmark found that coding agents' code gets worse as they keep extending it, even when told to write clean code. Here are the results and how to check each change for the same residue.
SlopCodeBench (arXiv 2603.24755, Orlanski et al., first submitted March 2026, revised May 2026) measures how coding agents' code degrades as they extend their own solution under changing requirements. No agent finishes a single problem, and code quality worsens in about three of four runs, even with instructions to write clean code.
It has 36 problems split into 196 checkpoints. Each checkpoint changes the requirements, and the agent builds on its own code with no reset. Tests check only the external CLI or API contract, leaving structure to the agent, which makes structure measurable. Site: scbench.ai. Code: SprocketLab/slop-code-bench.
It is independent research, separate from aislop and from this site's agent code-quality benchmark.
Key results
From the paper's abstract, across 15 agents built on open and closed models:
- No agent solves any problem end to end. The best agent passes 14.8% of checkpoints.
- Structural erosion rises in 77% of trajectories, and verbosity in 75.5%.
- Agent code is 2.3x more verbose and 2.0x more eroded than 473 open-source Python repositories.
- Human repositories degrade less often, and by smaller margins, across their git histories.
- Explicit quality guidance cut initial verbosity and erosion by up to a third, but did not change the rate of degradation.
So a better prompt gives a cleaner start, but every change still needs a check.
The cleanest agent is not the best solver
Top ten rows from scbench.ai as of 14 October 2026. The site now lists 19 models, more than the paper, so check it for the current table. Erosion and verbosity are scored 0 to 1; lower is better.
| # | Model / agent | Isolated solve | Erosion ↓ | Verbosity ↓ |
|---|---|---|---|---|
| 1 | GPT 5.5 / Codex | 28.1% | 0.494 | 0.269 |
| 2 | GPT 5.3-Codex / Codex | 26.0% | 0.644 | 0.336 |
| 3 | GPT 5.4 / Codex | 25.5% | 0.278 | 0.193 |
| 4 | GPT 5.2-Codex / Codex | 21.9% | 0.728 | 0.398 |
| 5 | Opus 4.6 / Claude Code | 20.9% | 0.737 | 0.318 |
| 6 | Opus 4.7 / Claude Code | 20.9% | 0.759 | 0.357 |
| 7 | Kimi K2.6 / Kimi CLI | 18.9% | 0.764 | 0.399 |
| 8 | Opus 4.5 / Claude Code | 17.3% | 0.691 | 0.297 |
| 9 | Sonnet 4.6 / Claude Code | 16.8% | 0.741 | 0.316 |
| 10 | Composer 2 / Cursor CLI | 16.3% | 0.716 | 0.353 |
The third-ranked agent has by far the lowest erosion and verbosity in the top ten, and a later release in a model family can erode more than an earlier one. Compare agents on both, and keep checking output after you choose.
What erosion and verbosity measure
- Verbosity is redundant or duplicated code: comment padding, repeated helpers, leftover branches from earlier attempts.
- Structural erosion is complexity collecting in a few oversized functions because the agent appends instead of refactoring.
Tests can stay green while both climb; the code just costs more to change.
Paper signal to aislop rule
The benchmark itself, with pinned tasks and hidden tests, does not belong in CI. The residue it describes does, and aislop already names these shapes:
- Comment padding → narrative comment, trivial comment
- Leftover helpers from earlier attempts → thin wrapper, empty function, unreachable code
- Silent “it still works” paths → swallowed exception
- Type-system escape hatches → unsafe type assertion
- Complexity concentrating in one place → function and file size limits
Python verbosity checks based on the paper shipped in aislop v0.9.4.
Check every change before it merges
- Run npx aislop scan on the branch and read the named findings.
- Fix the mechanical hits with aislop fix and send the rest back to the agent that wrote them.
- Add the GitHub Action from quality gates for AI coding. Pin the CLI version and start the threshold at the current score.
- Keep human review for intent, architecture, and risk.
More: 20 AI slop code examples, aislop’s agent code-quality benchmark, and what aislop is.
Frequently asked questions
What is SlopCodeBench?
An academic benchmark (arXiv 2603.24755) that measures how coding agents' code degrades as they extend their own solutions under changing requirements. It has 36 problems and 196 checkpoints, is hosted at scbench.ai, and is not a scanaislop product.
What are the main SlopCodeBench results?
Across 15 agents, none solves a problem end to end and the best passes 14.8% of checkpoints. Erosion rises in 77% of trajectories and verbosity in 75.5%, and agent code is 2.3x more verbose and 2.0x more eroded than 473 open-source Python repositories.
What do erosion and verbosity mean in SlopCodeBench?
Structural erosion is complexity concentrating in a few places as the agent appends instead of refactoring; verbosity is redundant or duplicated code. Both are scored 0 to 1 on scbench.ai, where lower is better.
Which agent is best on SlopCodeBench?
In our October 2026 snapshot of scbench.ai, GPT 5.5 with Codex had the highest isolated solve rate (28.1%), while GPT 5.4 with Codex had the lowest erosion (0.278) and verbosity (0.193) in the top ten. The leaderboard changes, so check scbench.ai for the current table.
Does telling the agent to write clean code fix it?
Only partly. Explicit quality guidance cut initial verbosity and erosion by up to a third but did not change the rate of degradation, which is why every change needs a check.
Is SlopCodeBench made by aislop?
No. SlopCodeBench is independent research by Orlanski et al.; aislop turns some of the residue it describes into deterministic rules for real repositories.
How do I gate against what SlopCodeBench measures?
You cannot rerun the benchmark on every pull request, but you can detect the residue it describes: verbosity, duplicated helpers, comment padding, and oversized functions. Run npx aislop scan locally and in CI.