Interfaces or Bodies? A 24-Instance Pilot Measurement of ε-Sufficient Context for Language-Model Code Editing in Go
Contributors
Hosting institution:
Description
A recent note defines a context as ε-sufficient for a code-editing language model when the model's pass rate on it is within ε of its pass rate on the best context in a stated family, and proves that under a bounded reader this property is not closed under superset. This report gives the first measurements. From 282 trunk commits of the GitHub CLI (June--October 2026) screened by fixed, logged rules, 24 fail-to-pass instances were obtained. Holding localisation at the gold write-set, three models (one on a 10-instance subset) edited the instances under up to nine contexts: task text only; the write-set alone; the write-set plus the exported interfaces of its direct dependencies (A1); the same with full bodies (A1b); A1 plus the interfaces of dependent packages (A1F); and A1 padded with unrelated same-repository code to 32k, 64k, 128k and 200k prompt tokens. Patches were verified by hidden fail-to-pass tests and by the tests of the write-set and its dependents. On Claude Haiku 5.5 (10 samples per cell) the interface context had a higher pass rate than bodies by +0.04 [+0.01, +0.08] at one third of the tokens and than the write-set alone by +0.07 [+0.02, +0.13]; adding dependent-package interfaces did not help (-0.05). These are exploratory paired estimates on 24 instances, not tests. Padding A1 to 200k tokens changed the pass rate by -0.03 [-0.15, +0.09] on Haiku, +0.04 [-0.22, +0.33] on Claude Sonnet 5.5 (3 samples per cell) and +0.07 [0.00, +0.19] on Claude Opus 5 (3 samples per cell, on the 10 instances Sonnet had not solved from task text alone): no interval excludes zero and the sign is not consistent across models, so the degradation curve is flat within the resolution of this pilot. Sonnet solved 14 of 24 instances at least once from the task text alone, Haiku 4 of 24, which makes a task-only control essential for any confirmatory study. Run-to-run variation at default sampling was substantial (25% of Haiku cells non-unanimous). The whole measurement cost about 61 in API calls at list prices. Instances, contexts, harness and all 2,360 verdicts are released. This is an exploratory pilot on one repository; it fixes the design of a preregistered study and makes no confirmatory claim.
Notes
Files
main.pdf
Additional details
Related works
- Is supplement to
- 10.5281/zenodo.23282195 (DOI)
- Is supplemented by
- Software: https://github.com/Shockware-Limited/suffbench (URL)
- References
- 10.5281/zenodo.23282863 (DOI)