Overview
This article from Anthropic's engineering team quantifies how infrastructure configuration—specifically resource allocation and enforcement methodology—introduces significant noise into agentic coding benchmarks like SWE-bench and Terminal-Bench 2.0. Their experiments show that the gap between the most- and least-resourced setups on Terminal-Bench 2.0 was 6 percentage points (p < 0.01), meaning small leaderboard differences may reflect infrastructure differences rather than genuine model capability gaps.
What You'll Learn
How infrastructure resource configuration introduces measurable noise into agentic coding benchmark scores
Why leaderboard differences below 3 percentage points on agentic evals deserve skepticism
How container runtime resource enforcement (guaranteed allocation vs. hard kill threshold) affects evaluation stability
When additional resources fix infrastructure reliability versus when they actively change what a benchmark measures
How to calibrate resource headroom for agentic coding evaluations to minimize infrastructure confounders
Prerequisites & Requirements
- Understanding of container runtimes and resource management (CPU, RAM limits, OOM kills)
- Familiarity with AI/ML model evaluation and benchmarking concepts
- Basic understanding of Kubernetes resource requests and limits(optional)
- Awareness of agentic coding benchmarks like SWE-bench and Terminal-Bench(optional)
- Basic statistical literacy (p-values, confidence intervals)
Key Questions Answered
How much does infrastructure configuration affect agentic coding benchmark scores?
What causes infrastructure errors in agentic coding evaluations?
What is the difference between resource headroom fixing reliability versus changing what a benchmark measures?
How should container resource limits be specified for agentic coding benchmarks?
Should you trust small differences in agentic coding benchmark leaderboards?
How do different resource configurations favor different model strategies?
Does resource allocation affect SWE-bench scores the same way as Terminal-Bench?
What other hidden variables besides resource allocation affect agentic eval scores?
Key Statistics & Figures
Technologies & Tools
Some links below are affiliate links. We may earn a commission if you make a purchase.
Key Actionable Insights
1Specify both a guaranteed allocation (floor) and a hard kill threshold (ceiling) for container resources in agentic evals, rather than a single pinned value. Setting them equal leaves zero headroom, causing transient memory spikes to OOM-kill containers that would otherwise succeed, artificially depressing scores.This is the primary recommendation from the article. Terminal-Bench 2.0's Kubernetes implementation initially set both parameters equal, resulting in 5.8% infra error rates that dropped to 2.1% with a 3x ceiling.
2Calibrate the resource headroom band so that scores at the floor and ceiling of the band fall within statistical noise of each other. For Terminal-Bench 2.0, a 3x multiplier over per-task specs achieved this balance, cutting infra errors by two-thirds while keeping score differences non-significant (p = 0.40).The exact multiplier will vary by benchmark and task distribution, so it should be empirically determined and reported. The key principle is that the headroom should eliminate infrastructure artifacts without making tasks easier to solve.
3Treat resource configuration as a first-class experimental variable in agentic evaluations, documented and controlled with the same rigor as prompt format or sampling temperature. Without published setup configurations, external observers cannot distinguish genuine capability differences from infrastructure artifacts.This applies to AI labs, benchmark maintainers, and anyone publishing or consuming benchmark results. Publishing recommended specs (as Terminal-Bench 2.0 does) helps, while specifying enforcement methodology would close the remaining gap.
4Apply skepticism to agentic coding benchmark leaderboard differences below 3 percentage points. The observed spread across moderate resource configurations is just below 2 percentage points, and naive binomial confidence intervals already span 1-2 percentage points—infrastructure confounders stack on top of that.This is critical for decision-makers choosing which models to deploy based on benchmark rankings. A few-point lead might reflect a genuine capability difference or simply reflect different infrastructure configurations.
5Run public coding evals at multiple times and on multiple days to average out temporal variance. Pass rates can fluctuate with time of day due to API latency varying with traffic patterns, adding another layer of noise beyond resource configuration.This addresses confounders that are hard to control even with standardized resource specs. External evaluators who cannot dedicate hardware are particularly vulnerable to this variance.
6Be aware that resource configuration changes what an agentic eval actually measures: tight limits reward efficient, lean coding strategies while generous limits reward agents that exploit available resources with heavyweight tools. Collapsing both into a single score without specifying resources makes results hard to interpret.Both measurement modes are legitimate depending on the use case—but they should be explicitly distinguished. Different deployment scenarios may favor different strategies.