SlopCodeBench Interactive Research Explainer
What happens to code quality as coding agents extend the same program over several checkpoints? SlopCodeBench measures tests passed, code flagged as verbose, and complexity concentrated in a few functions.
Historical Table 2 and the substitute-sample audit
The paper reports 473 human repositories and 2,869 agent checkpoints. The audit scored 473 substitute human repositories and 423 recovered agent checkpoints under the same pinned scoring setup. The values below are means. A separate file summarizes 646 published scores.
| Metric | Paper human | Paper agent | Audit human | Audit agent |
|---|---|---|---|---|
| Verbosity | 0.190 | 0.440 | 0.254 | 0.436 |
| Structural erosion | 0.340 | 0.680 | 0.428 | 0.660 |
Verbosity measures the share of source lines the scorer flags, including repeated code. Structural erosion measures how much complexity sits in functions whose cyclomatic complexity exceeds 10. A program can keep passing its tests while accumulating duplication or concentrating more logic in hard-to-change functions.
Historical scoring-rule audit
Switch the rule bundle to see the mean agent-to-human verbosity ratio on 12 human repositories and 13 agent checkpoints. Both scores use the same source files and scoring engine. The 137-rule bundle is historical. The author said 214 was the intended count in the paper, and the exact Table 2 rule set remains unverified.
mean agent-to-human verbosity
Independent coding-agent trajectory
One Codex run extended a LaTeX-to-Markdown converter across five checkpoints. Each saved version was evaluated against five suites. Rows are source versions and columns are test suites. The archived matrix contains 1,345 case-level outcomes for this trajectory.
| Version | Suite 1 | Suite 2 | Suite 3 | Suite 4 | Suite 5 |
|---|
The uploaded trace covers that converter run. The Table 2 checkpoint cohort comes from recovered historical runs. A single trajectory supports observations about this task. Generalization across agents and tasks requires independent trajectories.
Root causes and patch interactions
Source interventions linked 50 persistent failures to four mechanisms in this trajectory. In suite 3, 39 of 43 failing text comparisons produced identical HTML across three Markdown renderers. Exact text matching remains part of the original task specification.
Compare a saved patch combination with the original source at the same checkpoint. Recovered tests changed from fail to pass. Regressions changed from pass to fail. The archive contains 120 comparisons.
Changed test cases
Interactive evidence failed to load. The evidence file is available below.
SlopCodeBench — Reproducibility Audit Toolkit
Install the existing CLI to score Python source with both rule bundles. Run bash reproduce.sh in the materials folder with the pinned environment to check the example and recompute the saved audit statistics. The public log archive contains 987 scoring attempts, including failures and retries.