Coding Agent Index Methodology

Overview

Artificial Analysis benchmarks coding agents on end-to-end software engineering tasks. We measure how well agents complete realistic coding work, and how performance varies across outcome, reliability, token usage, cost, and execution time.

Public results on the Coding Agent Index page are built from task-level benchmark attempts and aggregated into per-evaluation scores, pooled efficiency metrics, and the Artificial Analysis Coding Agent Index.

This page focuses on how the public Artificial Analysis Coding Agent Index is constructed, what benchmark components are currently included, and how the public pass@1, cost, token-usage, and execution-time metrics are derived.

Artificial Analysis Coding Agent Index

The current public Artificial Analysis Coding Agent Index is a composite benchmark score built from the configured benchmark components in the public coding-agents suite.

Different coding agents can perform very differently on repository Q&A, implementation and bug-fix tasks, and terminal-heavy workflows. The index summarizes those benchmark families into one top-level performance view while preserving the per-benchmark breakdowns underneath.

Coding Agent Index v1.5 is the equal-weight average of DeepSWE v1.1, Terminal-Bench 4.0 and SWE-Atlas-QnA.

Index Components

The current public index includes the following benchmark components:

EvaluationFieldTasksAttempts per taskResponse TypeScoring
DeepSWE v1.1Long-Horizon Software Engineering1133Code patch / repository changesProgram verifier pass/fail, pass@1
Terminal-Bench 4.0Agentic Terminal Use663Terminal-based task executionTest suite pass/fail, pass@1
SWE-Atlas-QnARepository Q&A1243Open AnswerScale AI Task Resolve Rate (binary pass/fail), pass@1
DeepSWE v1.1
Long-horizon software engineering tasks that require changes to an existing repository. Version 1.1 retains the same 113 tasks as v1.0, updates execution environments and grades committed patches in a separate verifier environment. We block internet access during the agent phase except for required model API connections. We work to preserve DeepSWE's internet isolation by vetting agents' built-in tools and blocking server-side search and browsing capabilities that could provide internet access.
Terminal-Bench 4.0
Terminal tasks spanning software engineering, machine learning, scientific computing, security and system administration. Version 4.0 updates instructions, environments and verifiers, revises compute and time budgets, and removes saturated or problematic tasks.
SWE-Atlas-QnA
Repository questions that require agents to trace code and explain its behavior. We follow Scale AI's published grading methodology, using Claude Opus 4.5 as the judge.

Evaluated Tasks

The current public index covers 303 evaluated tasks across the 3 benchmark components.

What The Index Aggregates

For each agent variant, Artificial Analysis computes a pass@1 score for each included benchmark component and then aggregates those component scores into the public index.

The same benchmark suite also underlies the public pooled efficiency metrics on the benchmark page, including cost to run, token usage, and execution time. The performance and efficiency views therefore reflect the same benchmark coverage rather than being drawn from unrelated runs.

Scoring And Outcomes

pass@1 Results

SWE-Atlas-QnA uses Scale AI's Task Resolve Rate: the percentage of tasks for which the agent's answer passes all rubric items. Tasks with changes to tracked repository files fail.

Per-Evaluation Scores

We average three attempt scores per task, then average across tasks so each task has equal weight.

Attempts that exceed the task time limit or end in a hard stop safety refusal score zero.

Reward Hacking

Reward hacking is when an agent earns a reward on a task without demonstrating the capability the task measures, for example by editing the tests that grade it or fetching a published solution instead of working one out. Terminal-Bench scores these attempts zero under its leaderboard integrity update, and Artificial Analysis applies the same rule.

Detection currently applies only to Terminal-Bench 4.0: its tasks, tests and reference solutions are public, and its attempts run with internet access.

An attempt is flagged as reward hacking if the agent:

  • edits test files, writes directly to the verifier's reward file, or otherwise manipulates the grading mechanism or test harness
  • accesses or copies the reference solution bundled with the task
  • obtains the task's reference solution or expected outputs from an external source, whether by web search or fetch tool, by curl or wget, by cloning a repository, or by downloading a dataset or model
  • reproduces a graded value it never computed

Ordinary network use passes: installing packages and reading library documentation are normal parts of solving a task. So is a search that turns up nothing: an agent that looks for the solution, fails to find it, and then works the answer out itself has not reward hacked.

Every attempt that passes Terminal-Bench's deterministic verifier is reviewed by an agent judge, run through Harbor's harbor analyze command. The agent judge reads the agent's full trajectory (every command the agent ran and every response it received) alongside the task, its tests and its reference solution. Flagged attempts are scored zero.

The agent judge runs Claude Code with Claude Sonnet 5, the same agent and model Terminal-Bench uses for its own leaderboard checks. Its prompt uses Harbor's built-in reward_hacking criterion, which we extend to cover answers taken from outside the environment. The full prompt is below.

Efficiency Metrics

We report cost, token usage, and execution time as pooled per-task-attempt averages across the current public coding-agents benchmark suite.

  • Cost to run: average pay per token API cost per task, based on provider token pricing rather than consumer plans.
  • Token usage: average input, cache, cache-write, reasoning, and output tokens per task.
  • Execution time: average wall-clock runtime per task, including full task wall time and the agent wall-time subset where available.

Where telemetry is missing for a given metric, we exclude those missing values from the corresponding average rather than treating them as zero.

In the cost metric, we treat cached input separately from uncached input where provider pricing supports that distinction, and include cache-write charges when providers bill for creating prompt cache state. This is intended to reflect pay per token API pricing more closely than a flat per-token estimate.

Agent Settings

Public benchmark rows represent agent variants, not just model names. Settings that can change behavior are kept distinct in reporting.

Reasoning settings are specific to each evaluated configuration.

Benchmarking methodology may evolve as new evaluations and agent variants are added, but public comparisons are intended to reflect like-for-like agent variants within the published benchmark suite.

Version History

Version 1.5

September 2026 - current

  • Replaced Terminal-Bench v2.1 with Terminal-Bench 4.0: 66 harder terminal tasks, updated environments and verifiers, and revised compute and time budgets
  • Upgraded DeepSWE v1.0 to v1.1, retaining the same 113 tasks with updated execution environments and isolated verification of committed patches
  • Aligned SWE-Atlas-QnA grading with Scale AI's published methodology, using Claude Opus 4.5 as the judge across 124 repository Q&A tasks

Version 1.4

August 2026 - September 2026

  • Upgraded Terminal-Bench v2 to Terminal-Bench v2.1, covering the full 89-task set
  • Added reward hacking detection aligned with Terminal-Bench's integrity methodology, scoring reward-hacked trials 0
  • Revised token counting methodology for agents that report reasoning within output tokens

Version 1.3

July 2026—August 2026

  • Refined SWE-Atlas-QnA binary pass/fail scoring to align with Scale AI's Task Resolve Rate methodology

Version 1.2

July 2026

  • Changed SWE-Atlas-QnA scoring from rubric reward to binary pass/fail, requiring all rubric criteria to pass for a task to be marked correct

Version 1.1

June 2026—July 2026

  • Added DeepSWE (long-horizon software engineering)
  • Removed SWE-Bench-Pro-Hard-AA from Coding Agent Index

Version 1.0

May 2026—June 2026

  • Initial release with SWE-Bench-Pro-Hard-AA (code generation), Terminal-Bench v2 (agentic terminal use), and SWE-Atlas-QnA (repository Q&A)