Infrastructure noise in agentic coding evals
Agentic coding benchmarks such as Terminal-Bench 2.0 are sensitive to the infrastructure they run on, not just to model capability. In the authors' experiments, resource configuration alone produced a 6-percentage-point gap between the most- and least-resourced setups (p < 0.01), which is larger than the gaps that often separate top leaderboard entries. They argue that resource allocation should be treated as a controlled experimental variable, and that small leaderboard differences deserve skepticism unless the evaluation setup is documented and matched. ## Why Agentic Evals Depend on Their Runtime - Static benchmarks score only the model's output, but agentic evals give the model a full environment to write code, install dependencies, run tests, and iterate, so the runtime becomes part of the problem-solving process. - Terminal-Bench 2.0 publishes recommended CPU and RAM per task, but specifying resources is not the same as enforcing them consistently. ## Enforcement Mismatch in Kubernetes - The authors ran Terminal-Bench 2.0 on Google Kubernetes Engine and found their scores didn't match the official leaderboard. Up to 6% of tasks failed from pod errors, mostly unrelated to the model's ability. - Their setup treated the per-task specs as both a guaranteed allocation and a hard kill limit, leaving zero headroom. A momentary memory spike could OOM-kill a container that would otherwise have succeeded. - The official leaderboard uses a more lenient sandboxing provider that permits temporary overallocation, which favors infrastructure stability. ## Effects of Resource Headroom - The authors tested six configurations, from strict enforcement of the per-task specs (1x) to uncapped, holding the model, harness, and task set constant. - Infra error rates fell monotonically, from 5.8% at 1x to 0.5% when uncapped. The drop from 1x to 3x (5.8% to 2.1%) was significant at p < 0.001. - From 1x to 3x, success rates varied within noise (p = 0.40). Most tasks that crashed at 1x would have failed regardless. - Beyond roughly 3x, success rises faster than infra errors fall. Extra resources let agents try approaches that need generous allocations, like pulling large dependencies or running memory-heavy test suites. Uncapped, the total lift over 1x was +6 percentage points (p < 0.01). - Tasks such as rstan-to-pystan and compile-compcert improved noticeably with more memory. ## How Resource Limits Change What Is Measured - Up to about 3x, extra resources mainly fix infrastructure reliability. Above that, they change the capability being tested. - Tight limits reward lean, efficient strategies, while generous limits reward agents that can brute-force solutions with heavyweight tools. Both are legitimate, but a single score without a stated configuration obscures the difference. - On bn-fit-modify, installing the standard data science stack (pandas, networkx, scikit-learn) runs out of memory under tight limits. A leaner from-scratch implementation succeeds, but models differ in which approach they default to. - The authors replicated the core effect across several Anthropic models. The direction was consistent, though the magnitude varied. They haven't rigorously tested non-Claude models. - On SWE-bench, a crossover experiment across 227 problems with 10 samples each, scaling RAM up to 5x produced a monotonic increase, but only 1.54 points, a smaller effect because those tasks are less resource-intensive. ## Other Sources of Variance - Time limits can also affect results under certain configurations. - Cluster health, hardware specs, concurrency, and even egress bandwidth can all act as confounders. - Pass rates appeared to fluctuate with time of day, likely due to API latency under varying traffic, though this hasn't been formally measured. - Running evaluations across multiple times and days would help average out this noise. ## Recommendations - Ideally, run each eval on identical hardware for both the scaffold and the inference stack, though this isn't always practical. - Specify two parameters per task: a guaranteed allocation and a separate hard kill threshold, rather than a single pinned value. - Calibrate the band between them so that floor and ceiling scores fall within noise of each other. In Terminal-Bench 2.0, a 3x ceiling cut infra errors by about two-thirds while keeping the score lift within noise (p = 0.40). - Report the chosen multiplier, since the ideal value will vary by benchmark and task distribution. ## Implications for Labs, Maintainers, and Readers - Labs should document and control resource configuration with the same rigor applied to prompt format or sampling temperature. - Benchmark maintainers should publish recommended specs and specify their enforcement methodology. - Readers should be skeptical of leaderboard differences below 3 percentage points until configurations are documented and matched. The spread across moderate resource configurations in Terminal-Bench was just under 2 points, binomial confidence intervals already span 1 to 2 points, and the extremes reached 6 points. A few-point lead might signal a real capability gap, or it might just be a bigger VM.