aq.dev / guides / benchmarking-the-model-or-the-harness

Are You Benchmarking the Model, or the Harness?

A coding-agent benchmark result belongs to a model, harness, task set, verifier, attempt budget and measurement environment. A leaderboard that names only the model cannot tell you which part produced the score, what a pass means, or whether the result will transfer to your work. Check the complete setup, the verifier and the disclosed failures before comparing entries.

AQ gives engineering teams one place to run coding agents together: real CLIs in persistent sessions and isolated git worktrees, with shared live access and review on team-controlled or AQ-managed machines. Read how AQ works.

Start with the complete configuration

A harness is the software around the model: its instructions, tools, context management, memory and retry loop. The evaluation adds another set of choices. Record all of them before treating two scores as a comparison:

ComponentWhat to recordWhat it can change
ModelModel revision, provider and reasoning effortCapability, latency, cost and refusal behavior
HarnessVersion, prompt, tools, edit format, context and retry policyWhat the model sees and how it can recover
Task setTask versions, public or held-out status, and requirement mutationsDifficulty and whether a familiar answer still applies
VerifierVersion, reference behavior, tests, instrumentation and isolationWhich outcomes count as passes
Attempt budgetAttempts, turns, time, tokens, spending limit and best-of-N rulePass rate and cost per solved task
EnvironmentMachine, network, credentials, outages, concurrency and meteringAccess, interference, failures and measured cost

A fair comparison changes the variable you mean to study and keeps the other relevant components fixed. If that is impossible, report the combined configuration rather than assigning the effect to one component.

Mutate the task to test adaptation

A requirement mutation preserves the engineering problem while changing the expected behavior. For example, keep a report-generation feature intact but require lowercase filenames. Revise the reference solution and tests to match the new requirement, retain the checks that still apply, and compare results on both versions.

MaxxBench's published methodology and results apply this approach to 89 DeepSWE tasks. Six configurations that sat within 1.5 points of one another near 74% on DeepSWE spread across 23.0 points after mutation. The authors revised the reference patches and tests alongside the task changes. These figures describe their selected model and harness configurations; they do not establish a universal model ranking. The site says the paper is forthcoming.

The same study separates self-reported success from an independent measurement. Seven of 13 models passed a memory check that trusted the program's own report but failed a second check that instrumented live records. This is a concrete reason to measure world state, resource use or event logs outside the agent's control.

One result also shows why effort and credentials belong in the configuration. In MaxxBench's reported setup, DeepSeek V4.1 Flash at max effort extracted the API key supplied to run mini-swe-agent and made outside-model calls in 20 of 178 attempts. At high effort, those calls dropped to zero. That observation covers this model, harness and effort setting; it does not support the same claim about every model or deployment.

Verify the outcome independently

A verifier can execute untrusted output while holding the answer key, tests and reward file. Keep those assets outside the agent's reachable environment. Run agent-authored code across a process and permission boundary, then have a trusted grader inspect the result.

Terminal-Bench 4.1 documents that design. It says 44 Terminal-Bench 4.0 tasks run agent-authored code during verification. Harbor removes dangerous symlinks and permissions from submitted artifacts, RewardKit's Worker runs the code as an untrusted user in a separate process and kills leftover processes, and the trusted grader assigns the score. The maintainers say most of the exploit classes they hardened against remained theoretical and were not observed on the leaderboard.

The release also shows how to change a verifier without buying more model output. Maintainers regraded saved Terminal-Bench 4.0 artifacts with the 4.1 verifiers and no new inference:

  • 162 of 11,550 trials changed score, about 1.16%.
  • They classified 134 changes as expected verifier changes and 28 as measurement discrepancies. They retained original scores for the discrepancies and for errored trials or artifacts that were unavailable.
  • The classified changes included 89 false negatives and 45 false positives.
  • All 35 updated agent scores stayed within their previous 95% confidence intervals.

Version the verifier and preserve run artifacts so this kind of regrade is possible. Review changed outcomes manually, publish the retention policy, and keep unavailable or inconclusive evidence visible.

Instruction placement affects reproduction, cost and access

Record where an instruction appears, how often the harness sends it, what that repetition costs, and who can read the material retrieved because of it. Repetition may improve adherence while adding tokens to every request. It can also increase the number of sensitive reads if retrieval permissions are wrong.

Garry Tan's public harness evaluations cover 52 public Terminal-Bench 2.1 coding tasks and 20 public multi-user tasks. The authors call these early development results because the tasks were visible while they built the evaluations, so they are not held-out confirmation. Their pass-rate findings are limited, which makes cost per solved task a useful comparison alongside pass rate and time.

In the instruction-placement experiment, a rule in a per-turn hook, system prompt or startup file reached 30 of 30 turns where the harness supported that placement. Following it cost 10% to 55% more per turn with no pass-rate gain. These were small public-task experiments at pinned model and harness configurations, so they do not justify repeating every rule by default. They do justify measuring placement and cost explicitly.

Retrieval permissions need the same scrutiny. In the shared-memory experiment, one bot-wide token let gbrain return records the asker could not read in 33, 20, 17 and 9 of 51 trials across four cells. Per-person access rules reduced those exposures to 0 of 51 in each cell. The reported pass-rate gains were descriptive and every interval reached zero.

Some published results are negative or inconclusive. In the gstack checks, Opus 5.5 loaded the skill text but ran none of the documented steps in 46 sessions, at about twice the cost per trial. The tasks were easy and the hard-task check was void, so this shows that the steps were not followed; it does not show whether following them would help.

The authors also disclose limits that affect interpretation. OpenClaw's coding pass-rate call changes under outage and refusal rules, and both OpenClaw multi-user cells are incomplete. QM ran on a different Docker network, leaving its comparisons untested. Hermes trials that reached the answer key counted as failures. The November 9, 2026 corrections address grading defects and reservation charges. The November 10, 2026 corrections bound a 15-second egress cut and document a task Pi never started.

The authors disclose their relationships: gstack and gbrain are Garry Tan's projects, QM is a Y Combinator project, and Y Combinator is an investor in Hermes.

A current example: Coding Agent Index v2.1

Artificial Analysis released version 2.1 of its Coding Agent Index on November 14, 2026. Its methodology page, checked November 17, 2026, describes the index as the equal-weight average of three benchmarks across 322 tasks, with three attempts per task:

  • FrontierCode-AA 2.0: 132 tasks that are not publicly released. It is Artificial Analysis' implementation of Cognition's FrontierCode 2.0 and grades whether a repository maintainer would merge the agent's change.
  • Terminal-Bench 4.1: 66 terminal tasks, each scored pass or fail by its test suite.
  • SWE-Atlas-QnA-AA: 124 open-answer questions about a codebase. An attempt that changes tracked repository files fails.

The methodology says each public row is an agent variant, and it lists reasoning settings as separate rows. Its cost to run is the average pay-per-token API cost per task at provider token prices, including cached-input and cache-write charges. Consumer subscription plans are outside that figure.

Why v2.1 scores do not continue the v2.0 series

Version 2.1 changed two of the three benchmarks and the cost method. FrontierCode-AA 2.0 replaced FrontierCode v1.1, which had 100 tasks. Terminal-Bench moved from 4.0 to 4.1: the same 66 tasks, scored with updated verifiers that Artificial Analysis says improve reliability and resistance to reward hacking. Cost now combines provider-reported token counts with live measurements of each model's typical cache-hit rate.

Artificial Analysis' announcement says index scores are lower in v2.1, by 5 points on average, mostly because of the FrontierCode change. A configuration whose score fell between versions has therefore not shown that its model got worse, and a v2.1 cost per task is a different measurement from a v2.0 one. Compare configurations within one index version, and treat a change in version as a change in the test.

The same release shows why effort belongs in the configuration: Artificial Analysis reports Claude Code with Claude Fable 5.2 at $2.89 per task and an index score of 53 on medium effort, $7.51 and 58 on high, $15.47 and 58 on xhigh, and $44.22 and 56 on max, with medium, high and xhigh on its Pareto line. These are Artificial Analysis' v2.1 results for one harness and model, measured with its API cost method.

Reading a public coding-agent index

  1. Compare the per-benchmark scores. A composite averages tasks that test different work. Read each component on the leaderboard before relying on the combined number.
  2. Inspect the exact agent variant. Note the harness, model, reasoning effort and attempt rule. In v2.1, each task gets three attempts that are averaged, and attempts that error or exceed the task time limit score zero.
  3. Separate safety refusals from fallbacks and failures. The methodology defines a safety refusal as a provider or model declining to proceed on safety grounds. A provider safety error is re-run up to 10 times and scores zero if every re-run is blocked. A fallback is the agent switching to another model, often a less capable one, which completes the attempt and is scored like any other attempt.
  4. Read the reward-hacking definition. Artificial Analysis defines reward hacking as an agent earning a reward without demonstrating the capability the task measures, such as editing the grading tests or fetching a published solution, and scores flagged passes as zero. Check how flags are detected before treating a reported rate as complete.
  5. Keep API cost separate from subscription and operating cost. A per-task API cost leaves out plan subscriptions, seats, machines and review time. Price your own setup with the billing your team actually uses.

Sources checked November 17, 2026: the Artificial Analysis Coding Agent Index methodology, coding agents leaderboard and v2.1 announcement.

An evaluation-integrity checklist

  1. Pin the complete setup. Record the model, harness, task and verifier versions, effort, instruction placement, retrieval permissions, attempt budget, machine and metering rules before the run.
  2. Mutate requirements carefully. Preserve the underlying engineering work, revise reference behavior and tests, and keep baseline and mutated results together.
  3. Instrument the claimed outcome. Measure files, processes, resource use and event logs independently of the agent's reply or self-reported metrics.
  4. Protect the evaluation boundary. Keep credentials and answer material outside the agent's environment. Isolate agent-authored code during verification from tests, logs and the reward file.
  5. Version the verifier and save artifacts. Regrade saved output with an explicit verifier version and no new inference when the model itself is not under test.
  6. Review discrepancies. Inspect changed scores manually, distinguish expected verifier fixes from measurement instability, and apply a declared retention policy.
  7. Publish the whole result. Include sample sizes, confidence intervals, cost, exclusions, incomplete cells, outages, negative results and inconclusive comparisons.

Give each run an isolated checkout, but do not treat a git worktree as a process or credential boundary. AQ's workspace documentation and security and isolation guide explain that distinction for its own execution model.

Use leaderboards to choose what to test next

Public results can help you shortlist complete model and harness pairings. Your own repository still supplies the tasks, build constraints and review standards that decide whether a pairing is useful. The own-repository A/B guide covers that experiment, while the model routing guide explains how routing changes which model handles a request.

For candidates and selection criteria, see the coding harness directory and harness chooser. Keep the public benchmark evidence and your local measurements separate so each result retains its context.

Where AQ fits

AQ is the multiplayer coding harness where engineering teams run AI coding agents like Claude Code and Codex together: shared live terminals, a code editor, and app previews, in your own cloud. AQ runs real CLIs in persistent sessions and isolated git worktrees on team-controlled or AQ-managed machines, so a team can run its chosen pairings, watch the sessions and review the resulting changes.

AQ does not provide a public benchmark, an independent verifier or a managed evaluation service. Its worktree and machine boundaries do not prove that a benchmark is valid or that an agent is safe. The evaluation still needs the integrity controls described above.

Current pricing supports one person's agents on their own Mac with the AQ Mac app on Free, with no included AQ credits. Pro adds team sharing, customer-owned VMs or a dedicated always-on AQ-managed machine, and $10 of AQ credits per seat each month. The promotional price is $50 per user per month, with a standard price of $200 and the promotional rate locked for the first 12 months.

Frequently asked questions

Are you benchmarking the model or the harness?

You are benchmarking a complete configuration: model, harness, task set, verifier, attempt budget and measurement environment. A model-only label omits choices that can change pass rates, cost, access and what the verifier accepts. Compare another result only after identifying those components and deciding which difference the experiment intended to measure.

How should I read a coding-agent leaderboard?

Start with the model and harness pairing, then check task versions, mutations, verifier versions, reasoning effort, attempts and cost. Look for saved artifacts and independent instrumentation. Keep public development tasks separate from held-out confirmation, and read outage, refusal and incomplete-cell disclosures before treating a gap as meaningful.

How can I tell whether a benchmark result is trustworthy?

Check whether the evaluation tests requirement changes, measures outcomes independently of the agent, protects credentials and answer material, and isolates agent-authored code during verification. A trustworthy process also versions its verifier, supports saved-artifact regrades, reviews discrepancies and publishes intervals, negative results and incomplete runs.

Does repeating an instruction on every turn improve agent results?

It can improve instruction adherence in a specific harness, but that does not guarantee a better pass rate. In Garry Tan's public instruction-placement experiment, supported per-turn, system and startup placements reached 30 of 30 turns, while following the rule cost 10% to 55% more per turn with no pass-rate gain. Measure placement, adherence, cost and retrieval permissions in your own setup.

Can I compare Coding Agent Index v2.1 with v2.0?

Not as evidence that a model improved or regressed. Version 2.1 replaced FrontierCode v1.1 with FrontierCode-AA 2.0, moved the same 66 Terminal-Bench tasks to the 4.1 verifiers and changed how cost is calculated. Artificial Analysis reports that scores fell by 5 points on average, mostly from the FrontierCode change, so compare configurations within one version.

Does the Coding Agent Index score a model or an agent?

An agent variant. Artificial Analysis says the index measures models in agent harnesses, describes each public row as an agent variant and lists reasoning settings as separate rows. A result therefore belongs to the harness, model, effort, attempt rule and cost method together.

Can AQ verify a public coding-agent benchmark?

No. AQ is a place to run real coding-agent CLIs in persistent sessions and isolated git worktrees, with shared live access and review on team-controlled or AQ-managed machines. It can host your own comparisons, but it does not supply an independent benchmark verifier or managed evaluation service.