Infrastructure Noise in Agentic Coding Evaluations

anthropic · Research & Academia · 2026 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Reproducible evaluation infrastructure for agentic coding benchmarks

Anthropic found that agentic coding benchmark scores can shift materially based on Kubernetes resource enforcement, even when the model, harness, and task set stay fixed. Because agents install dependencies, run tests, and iterate inside live environments, CPU/RAM limits are part of the evaluation itself rather than a neutral container detail.

Constraints:

Architecture

Anthropic ran Terminal-Bench 2.0 on Google Kubernetes Engine while systematically varying resource configurations from strict 1x per-task specs to uncapped resources. All other variables stayed constant: same Claude model, same evaluation harness, and same task set. The experiments separated two effects: up to around 3x resource headroom, extra resources mostly reduced spurious infrastructure errors; beyond that, extra resources actively helped agents solve tasks by allowing heavyweight dependencies, subprocesses, and memory-intensive test suites. Anthropic recommends specifying both guaranteed allocations and hard kill thresholds, empirically calibrating the band so floor/ceiling scores are within noise, and treating resource configuration as a first-class experimental variable.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  Terminal_Bench_2_0_tasks["Terminal-Bench 2.0 tasks"] --> Evaluation_harness["Evaluation harness"]
  SWE_bench_crossover_tasks["SWE-bench crossover tasks"] --> Evaluation_harness
  Claude_model["Claude model"] --> Evaluation_harness
  Evaluation_harness --> Kubernetes_containers["Kubernetes containers"]
  Google_Kubernetes_Engine_cluster["Google Kubernetes Engine cluster"] --> Kubernetes_containers
  Resource_configuration_matrix["Resource configuration matrix"] --> Guaranteed_allocation["Guaranteed allocation"]
  Resource_configuration_matrix --> Hard_kill_threshold["Hard kill threshold"]
  Guaranteed_allocation --> Kubernetes_containers
  Hard_kill_threshold --> Kubernetes_containers
  Kubernetes_containers --> Agent_solution_process["Agent solution process"]
  Agent_solution_process --> Result_analyzer["Result analyzer"]
  Hard_kill_threshold --> Infrastructure_error_tracker["Infrastructure error tracker"]
  Infrastructure_error_tracker --> Result_analyzer
  Evaluation_harness --> Result_analyzer
  Result_analyzer --> Benchmark_reporting_guidance["Benchmark reporting guidance"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Terminal-Bench 2.0 tasks Agentic coding benchmark tasks with per-task CPU and RAM recommendations. Evaluation harness, Kubernetes containers
SWE-bench crossover tasks Second benchmark used to test whether RAM sensitivity generalized beyond Terminal-Bench. Evaluation harness, Resource configuration matrix
Claude model Held-constant model used in the controlled Terminal-Bench experiments. Evaluation harness, Kubernetes containers
Evaluation harness Runs tasks, lets the agent write programs, install dependencies, run tests, and iterate. Terminal-Bench 2.0 tasks, Claude model, Kubernetes containers, Result analyzer
Google Kubernetes Engine cluster Production cluster substrate for running containers with resource constraints. Kubernetes containers, Resource configuration matrix
Kubernetes containers Task execution environments where resource guarantees and hard limits affect success. Google Kubernetes Engine cluster, Guaranteed allocation, Hard kill threshold, Agent solution process
Guaranteed allocation Resources reserved up front for each container. Kubernetes containers, Resource configuration matrix
Hard kill threshold Resource ceiling at which a container is terminated. Kubernetes containers, Infrastructure error tracker
Resource configuration matrix Six Terminal-Bench configurations from strict 1x to uncapped plus SWE-bench RAM variation. Guaranteed allocation, Hard kill threshold, Result analyzer
Agent solution process The model's interactive behavior: installing dependencies, spawning subprocesses, writing code, and running tests. Kubernetes containers, Result analyzer
Infrastructure error tracker Measures pod/container failures unrelated to model capability. Hard kill threshold, Result analyzer
Result analyzer Computes success rates, infrastructure error rates, statistical significance, and leaderboard uncertainty. Evaluation harness, Infrastructure error tracker, Benchmark reporting guidance
Benchmark reporting guidance Recommendations for specifying resource floors, ceilings, enforcement, and skepticism bands. Result analyzer

Data flow

Terminal-Bench tasks run inside Kubernetes containers with per-task CPU/RAM specifications. The evaluation harness launches the same Claude model against the same task set under six resource configurations. Kubernetes reserves guaranteed resources and kills containers at the hard limit. Anthropic measures success rate and infrastructure error rate across configurations, compares statistical significance, replicates the direction across Claude variants, and tests SWE-bench with RAM up to 5x baseline. The resulting guidance is to report resource bands and enforcement methodology alongside benchmark scores.

3 supporting quotes
“Everything else stayed constant: same Claude model, same harness, same task set.”article, stated
“Container runtimes enforce resources via two separate parameters: a guaranteed allocation—the resources reserved up front—and a hard limit”article, stated
“resource configuration for agentic evals should be treated as a first-class experimental variable”article, stated

Why this architecture

The controlled matrix isolates infrastructure as an experimental variable. By holding model, harness, and tasks fixed while varying resource floors/ceilings, Anthropic can distinguish spurious infrastructure failure reduction from genuine task-easiness changes caused by generous resources. The resulting architecture treats benchmark execution as an end-to-end system test, not a pure model-output measurement.

3 supporting quotes
“To quantify the effect of the scaffold, we ran Terminal-Bench 2.0 across six resource configurations”article, stated
“Everything else stayed constant: same Claude model, same harness, same task set.”article, stated
“Agentic evals are end-to-end system tests by construction, and any component of that system can act as a confounder.”article, stated

Models used: Claude model held constant in Terminal-Bench experiments · different Anthropic model variants · models other than Claude mentioned but not rigorously tested

Scale

Alternatives considered (roads not taken)

Treat benchmark resource specs as both floor and hard ceiling

Rejected because: This leaves zero headroom for transient memory spikes and causes spurious OOM failures.

“Our Kubernetes implementation treated the per-task resource specs as both a floor and a hard ceiling”article, stated
“When these are set to the same value, there's zero headroom for transient spikes”article, stated

Run uncapped or highly generous resources

Rejected because: Generous allocations actively change what tasks agents can solve and can reward heavyweight strategies.

“additional resources start actively helping the agent solve problems it couldn't solve before”article, stated
“generous limits are more forgiving and reward agents that can better exploit all available resources.”article, stated

Collapse all resource configurations into one benchmark score

Rejected because: Different limits test different capabilities and make generalizability hard to interpret.

“Both are legitimate things to test, but collapsing them into a single score without specifying the resource configuration”article, stated
“makes the differences—and real-world generalizability—hard to interpret.”article, stated

Trust small leaderboard gaps as pure model capability

Rejected because: A 2-point lead can reflect hardware, timing, or infrastructure differences rather than capability.

“a 2-point lead on a leaderboard might reflect a genuine capability difference, or it might reflect that one eval ran on beefier hardware”article, stated
“A few-point lead might signal a real capability gap—or it might just be a bigger VM.”article, stated

Patterns

eval-driven-development (quality)

Anthropic treats benchmark infrastructure as an experimental variable and calibrates resource bands empirically before interpreting scores.

“resource configuration for agentic evals should be treated as a first-class experimental variable”article, stated
“The band between them should be calibrated so that scores at the floor and ceiling fall within noise of each other.”article, stated

observability-tracing (operations)

The investigation tracks infrastructure error rates separately from task success so pod/OOM failures are not mistaken for model failures.

“infra error rates were surprisingly high: as many as 6% of tasks were failing because of pod errors”article, stated
“success rates increased with resource headroom. This was primarily driven by infra error rates dropping monotonically”article, stated

safety-policy-enforcement (governance)

Resource limits are separated into guaranteed allocations and hard ceilings to avoid spurious failures while preventing score inflation.

“we recommend that evals specify both parameters per task, not a single pinned value.”article, stated
“avoid spurious OOM kills, while still enforcing a hard ceiling that prevents score inflation.”article, stated

cost-aware-routing (operations)

The study shows benchmark scores depend on resource budgets, so cost/resource allocation must be reported and matched when comparing models.

“Two agents with different resource budgets and time limits aren't taking the same test.”article, stated
“small score differences on agentic evals carry more uncertainty than the precision of the reported numbers suggests”article, stated

Tradeoffs

Resource ceiling calibration

Chose 3x-style headroom band for Terminal-Bench 2.0 over strict 1x enforcement.

Rationale: 3x reduced infra errors by about two-thirds while keeping score lift within noise.

“a 3x ceiling over the per-task specs cut infra error rates by roughly two-thirds (5.8% to 2.1%, p < 0.001)”article, stated
“while keeping the score lift modest and well within noise (p = 0.40).”article, stated

Separate floor and ceiling

Chose guaranteed allocation plus hard kill threshold over single exact resource specification.

Rationale: The split gives enough breathing room to avoid OOM noise while preserving a hard ceiling against score inflation.

“A single exact spec sets the guaranteed allocation equal to the kill threshold, leaving zero margin”article, stated
“Separating the two parameters lets you give containers enough breathing room to avoid spurious OOM kills”article, stated

Benchmark interpretation

Chose treat small leaderboard gaps skeptically over interpret every 1-2 point delta as model capability.

Rationale: Moderate infrastructure spread and binomial uncertainty can already cover the gap.

“The observed spread across the moderate range of resource configurations in Terminal-Bench is just below 2 percentage points.”article, stated
“Naive binomial confidence intervals already span 1-2 percentage points”article, stated

End-to-end versus pure model measurement

Chose document infrastructure when using end-to-end agent evals over pretend runtime environment is irrelevant.

Rationale: Agentic evals necessarily test the whole runtime process, so infrastructure choices must be part of the measurement specification.

“The runtime is no longer a passive container, but an integral component of the problem-solving process.”article, stated
“Public benchmarks are typically meant to measure pure model capabilities, but in practice they risk conflating them with infrastructure quirks.”article, stated

Gotchas (what bit them)

Strict resource enforcement causes false model failures.

Root cause: Kubernetes specs set as both guaranteed allocation and hard ceiling leave no headroom for transient memory spikes.

Resolution: Specify a guaranteed floor and separate hard kill threshold.

“a momentary memory fluctuation can OOM-kill a container that would otherwise have succeeded.”article, stated
“we recommend that evals specify both parameters per task, not a single pinned value.”article, stated

Too much headroom changes what the benchmark measures.

Root cause: Generous allocations let agents use heavyweight dependencies, subprocesses, and memory-intensive tests that fail under tight limits.

Resolution: Calibrate the resource band so the ceiling improves stability without making the task materially easier.

“extra resources enable the agent to try approaches that only work with generous allocations”article, stated
“a 3x ceiling over the per-task specs cut infra error rates by roughly two-thirds”article, stated

Different models' default strategies interact with infrastructure limits.

Root cause: Some agents install large libraries while others implement lean standard-library solutions.

Resolution: Report resource configuration so model rankings can be interpreted as system-dependent.

“some models’ first move is to install the standard Python data science stack: pandas, networkx, scikit-learn, and all their toolchain.”article, stated
“Different models have different default approaches, and the resource configuration determines which of those approaches happen to succeed.”article, stated

Leaderboard differences can be smaller than infrastructure noise.

Root cause: Resource allocation, cluster health, time limits, hardware, concurrency, egress, and time of day all affect end-to-end agent evals.

Resolution: Skepticism for sub-3-point gaps unless configurations are documented and matched.

“every element of the evaluation setup can influence the final score, from the cluster health to the hardware specs”article, stated
“leaderboard differences below 3 percentage points deserve skepticism until the eval configuration is documented and matched.”article, stated

Provider and external evaluator results may be asymmetric.

Root cause: Model providers can dedicate hardware and shield evals from variance, while outside evaluators may not be able to.

Resolution: Publish setup configurations and, where possible, run across multiple times/days.

“A model provider can shield its eval infrastructure from this by dedicating hardware, but external evaluators can't easily do the same.”article, stated
“running at multiple times and on multiple days would help average out the noise.”article, stated

Evaluation

Anthropic held model, harness, and task set constant while varying Terminal-Bench 2.0 resource configurations from 1x strict enforcement to uncapped. It tracked success rates, infrastructure error rates, statistical significance, and replicated directionality across Claude variants. It also ran a SWE-bench RAM crossover on 227 problems with 10 samples each.

Metrics: Terminal-Bench setup gap: 6 percentage points, p < 0.01 · infra errors: 5.8% strict to 0.5% uncapped · 1x to 3x infra errors: 5.8% to 2.1%, p < 0.001 · 1x through 3x success within noise, p=0.40 · 3x to uncapped: infra errors down 1.6 points, success up almost 4 points · SWE-bench: 227 problems, 10 samples each · SWE-bench 5x RAM versus 1x: +1.54 percentage points · leaderboard skepticism threshold: below 3 percentage points

4 supporting quotes
“the gap between the most- and least-resourced setups on Terminal-Bench 2.0 was 6 percentage points (p < 0.01).”article, stated
“infra error rates dropping monotonically at each step, going from 5.8% at strict enforcement to 0.5% when uncapped.”article, stated
“We varied the total available RAM up to 5x the baseline across 227 problems with 10 samples each.”article, stated
“Scores again increased monotonically with RAM, but were only 1.54 percentage points higher at 5x than 1x.”article, stated

Outcomes

This is a rigorous evaluation-infrastructure study, not an application deployment. Its lesson transfers directly to production agent systems: runtime resources are part of the behavior envelope, and model capability cannot be separated cleanly from infrastructure without controlled measurement.

4 supporting quotes
“The runtime is no longer a passive container, but an integral component of the problem-solving process.”article, stated
“resource allocation isn't neutral there either.”article, stated
“A few-point lead might signal a real capability gap—or it might just be a bigger VM.”article, stated
“the infrastructure and operational choices made by evaluation providers and benchmark maintainers become part of the specification”summary, stated