SlopCodeBench Full 36-Problem Audit: 0.0011 Erosion Across 196 Checkpoints (Nomos v4.42.0)#
Full-Suite Evaluation (36 Multi-Release Applications / 196 Checkpoints, 0 Failed Runs) of Apache 2.0 `nomos v4.42.0` Governing Claude Code 2.1.252 (Anthropic Direct Claude Sonnet 5.5) on `SprocketLab/slop-code-bench` (arXiv:2603.24755).
Full-Suite Provenance & Reproducibility Ledger
Benchmark Suite: `SprocketLab/slop-code-bench` (`arXiv:2603.24755`, Orlanski et al. 2026;scb-check==0.1.3)
Harness & Model:[email protected]onclaude-sonnet-5-5via Anthropic Direct (thinking=low,just-solve.jinja,pass_policy=any-case)
Nomos Release Binary & Preset: `mgantlett/nomos@a73c1b8` (v4.42.0, Apache 2.0,20MBCGO_ENABLED=0static pure-Go PolyAST binary) · Upstream Preset (`PR 53`)
Total Full-Suite API Spend (196Checkpoints):`$79.4981`($0.4056mean /$0.2977median per checkpoint,95.55%cache-read rate)
Companion Dispatches: Field Dispatch D-15 (`9`-Problem Pilot) · Field Dispatch D-18 (`v4.39` 2nd-Order AST Physics)
1. Closing the Two Pilot Objections: Full 36/36 Coverage at Baseline Cost#
Our 9-problem pilot (Field Dispatch D-15) established that deterministic AST hooks cut multi-release code erosion by 99.6% (0.0034 vs. 0.8798 Control), yet left two legitimate questions open for engineering leaders:
- Scale across all
36applications (196checkpoints): Would pure-Go structural governance hold zero-erosion stability across unfamiliar domains such asmocked_http,circuit_eval,sith,recli, anddynamic_bufferwithout false-positive hook blocks? - Unit economics (
$0.78/ckpt onv4.24.0OpenRouter): Could a faster pure-Go substrate plus terse container advisories eliminate the2.23xtoken overhead while preserving functional pass rates?
Across all 36/36 applications (196 checkpoints, 849 nomos verify passes, 67 PostToolUse nudges, 98 Stop gates, and 0 PreToolUse false-positive denials), Agent = Model + Harness held 0.0000 structural erosion on 195 of 196 checkpoints (99.5%) and 35 of 36 final applications, cutting full-suite mean erosion to 0.0011 (0.0000 median) at $79.50 total ($0.4056/ckpt).
2. Full 36/36 Scorecard & Ecosystem Paradigm Comparison#
Published runs on SprocketLab/slop-code-bench now span three distinct approaches to managing multi-release agent quality: unguarded frontier models, LLM-in-the-loop code review (PR 51), and deterministic 0-LLM write/turn hooks (Issue 55 and Nomos v4.42.0):
| Approach & Reference | Scope | Mean Erosion | Mean Verbosity | Mean / Max cc_max |
Pass Rate / Core | Spend ($/ckpt) |
Time / Steps per Ckpt |
|---|---|---|---|---|---|---|---|
| LLM-in-the-Loop Reviewer (`PR 51`, Sonnet 5.5) | 20 probs (2 seeds) |
- | - | - | -1.3 pp vs. base |
+53% cost vs. base |
Extra review round |
Loki Deterministic Hooks (`Issue 55`, Codex + gpt-6.1-sol) |
36/36 (196 ckpts) |
0.0969 (med 0.0857) |
0.1113 (med 0.1108) |
11.55 / 38.0 (0.51 high-CC) |
85.4% (68.4% Core, 31.6% Iso) |
`$75.11` (`$0.383`) |
301.7s / 29.3 steps |
Nomos v4.42.0 Pure-Go Hooks (Claude Code + Sonnet 5.5 Direct) |
36/36 (196 ckpts) |
0.0011 (med 0.0000) |
0.1027 (med 0.0950) |
8.96 / 15.0 (0.026 high-CC) |
82.0% (67.9% Core, 25.5% Iso) |
`$79.50`** (**`$0.406`) |
184.4s / 14.9 steps |
(Model and harness baselines differ across Issue 55 [codex 0.159.2 + gpt-6.1-sol, thinking=medium] and this run [claude-code 2.1.252 + claude-sonnet-5-5, thinking=low]; both cover the full official 36-problem / 196-checkpoint benchmark.)
Three architectural distinctions separate Nomos v4.42.0 inside the container:
- Zero External Linter Dependencies: Rather than shelling out to
Ruff+mypy+ Rust helper models,Nomos v4.42.0embeds a single20MB static pure-Gopolyastbinary (replacing WASMwazeroin D-18) covering11languages with zero container package installs. - Hard
CC <= 10Ceiling vs. Soft Nudging: NarrowingPostToolUsestrictly to mutation tools (Write|Edit|MultiEdit|NotebookEdit) paired with--advisory-style terseand aStopanti-phantom verification gate kept195of196checkpoints (99.5%) at0.0000erosion (0.026high-CC functions per checkpoint vs.0.51). - Half the Steps &
39%Faster Wall Clock: Frontier Claude Sonnet 5.5 paired with deterministic hooks resolved checkpoints in14.9steps and184.4smean wall time (95.55%prompt-cache hit rate across183.5Mcache-read tokens).
3. Controlled 9-Problem Progression (Control -> v4.24.0 -> v4.42.0)#
Comparing the exact 9 pilot applications (41 checkpoints) from D-15 isolates how the v4.39 to v4.42 substrate refactor and Anthropic Direct routing compounded both quality and cost:
Metric (9 Pilot Apps / 41 Checkpoints) |
Control (OpenRouter) | Nomos v4.24.0 (OpenRouter) |
Nomos v4.42.0 (Anthropic Direct) |
Delta vs. v4.24.0 / Control |
|---|---|---|---|---|
| Mean Test Pass Rate | 89.7% |
90.0% |
91.9% |
+1.9 pp vs. v4.24 / +2.2 pp vs. Control |
| Core Checkpoints Solved | 80.5% (33/41) |
80.5% (33/41) |
78.0% (32/41) |
-1 checkpoint |
| Mean / Final Structural Erosion | 0.8406 / 0.8798 |
0.0046 / 0.0034 |
0.0000 / 0.0000 |
9/9 apps 0.0000 (log_query fixed) |
| Mean / Final Verbosity | 0.4007 / 0.3818 |
0.1157 / 0.1155 |
0.0939 / 0.0990 |
-14.3% vs. v4.24 / -74.1% vs. Control |
Final cc_max Mean |
61.9 |
9.8 |
9.6 (max = 10 on 9/9) |
Zero high-CC functions across 41/41 ckpts |
Total API Spend (41 ckpts) |
`$14.33` ($0.35/ckpt) |
`$31.94` ($0.78/ckpt) |
`$17.27` ($0.42/ckpt) |
-45.9% vs. v4.24.0 |
Standout problem-level gains on v4.42.0:
file_merger(4ckpts): Pass rate recovered from85.4%(v4.24.0) to94.7%, matching Control's94.9%while holding0.0000erosion (cc_max = 9vs.101Control).dag_execution(3ckpts): Pass rate climbed from66.0%(Control) and78.0%(v4.24.0) to90.3%with0.0000erosion (cc_max = 10).log_query(5ckpts): Eliminated the lone0.0307(cc_max = 11) erosion blip fromv4.24.0, hitting0.0000erosion (cc_max = 10) while holding99.4%pass rate.
Honest Attribution of the -45.9% Spend Drop#
Separating raw token volume from provider pricing on migrate_configs (5 checkpoints) keeps the accounting honest:
- Provider billing rates (
Anthropic Directvs.OpenRouter): Anthropic Direct billedclaude-sonnet-5-5at$2.00input /$10.00output /$0.10cache-read /$2.50cache-write per 1M tokens (3xcheaper cache reads than OpenRouter's$0.30/Msticker rate). With95.55%of total input tokens served from cache (183.5Mcache-read vs.937kuncached input), Direct API routing drove the bulk of the dollar reduction. - Substrate hook precision (
v4.42.0vs.v4.24.0): NarrowingPostToolUseto write tools and switching to--advisory-style tersecaught more structural drift early (3radar catches vs.1onmigrate_configs), lifting pass rate+2.3 pp(91.3%vs.89.0%) and cutting final verbosity-19.9%(0.1514vs.0.1890) while costing only+$0.07/ckptover unguarded Control ($0.362vs.$0.295).
4. Forensic Outlier Post-Mortem (195/196 Clean + meshctl)#
Auditing every anomaly across all 196 checkpoints surfaced two exact, actionable root causes:
- The Sole Non-Zero Erosion Checkpoint (
trajectory_api/checkpoint_5-0.2095erosion,cc_max = 15,359/373 = 96.2%pass):
Incheckpoint_5, the agent ranps -eo pid,args | grep "[t]rajectory_api" | awk '{print $1}' | xargs -r kill -9to clear port8765. Becauseslop-code-benchpasses the full prompt containingtrajectory_apionclaude's command line (upstream Issue 46), that command SIGKILLed the agent's own Claude Code process mid-turn at line49ofstdout.jsonlbeforeStopcould fire onparse_ops(CC 15). Every other checkpoint (195/196) hit0.0000erosion. - The Sole Zero-Pass Checkpoint (
meshctl/checkpoint_8-0/78pass,1/83oncheckpoint_1):
Inspectingmeshctl/tests/conftest.py(_copy_entrypoint_workspace) revealed that the problem's test harness copies only("meshctl", "meshctl.py", "requirements.txt")into each isolatedtmp_path/workspacetest directory, omitting sibling.pymodules. When Nomos decomposedmeshctlcleanly intomesh_commands.py,mesh_resources.py, andmesh_validate.py, every test crashed on import (ModuleNotFoundError: No module named 'mesh_commands').
Concrete v4.43 Engineering Takeaways:
- Add a container
PreToolUseguard flagging self-terminatingpkill -f/ps ... | grep ... | xargs killcommands whose pattern can match the active agent CLI process. - When a Python repository uses a bare script entrypoint (
entry.py), detect multi-file sibling imports duringPostToolUse/Stopand advise either packaging (pyproject.toml+ editable install inrequirements.txt) or local path anchoring if an external runner copies only the entrypoint file.
5. Open-Core Reproducibility & Verified Checksums#
All AST physics, 11-language complexity/clone sensors, and container hooks evaluated here ship in Apache 2.0 `mgantlett/nomos v4.42.0`, wired into Upstream Preset `PR 53`:
- Linux
x86_64(nomos_Linux_x86_64.tar.gz):SHA-256: b0511bbacb915112d48b0d8100d6839dbce2b34fe1dbef4cb0fefea154112295 - Linux
arm64(nomos_Linux_arm64.tar.gz):SHA-256: c12df3a1b5036491bc23bb9830e12f5a16d3345660fb1267e1ffece834a4e4c5
uv run slop-code run \
--agent configs/agents/claude_code_nomos.yaml \
--model anthropic/sonnet-5.5 \
--environment configs/environments/docker-python3.12-uv.yaml \
--prompt configs/prompts/just-solve.jinja \
thinking=low \
version=2.1.252 \
pass_policy=any-case
@misc{Orlanski2026SlopCodeBench,
author = {Gabriel Orlanski and Devjeet Roy and Alexander Yun and Changho Shin and Alex Gu and Albert Ge and Dyah Adila and Nicholas Roberts and Frederic Sala and Aws Albarghouthi},
title = {{SlopCodeBench}: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks},
year = {2026},
eprint = {2603.24755},
archivePrefix = {arXiv},
primaryClass = {cs.SE},
url = {https://arxiv.org/abs/2603.24755}
}
Nomos