EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions

arXiv cs.AI Papers

Summary

Introduces EvoCode-Bench, a benchmark of 26 stateful coding tasks across 227 rounds that evaluates coding agents in multi-turn iterative interactions, revealing that single-round performance overestimates multi-round capabilities by 22–40 points.

arXiv:2605.24110v1 Announce Type: new Abstract: Coding agents are increasingly used as iterative development partners, but most benchmarks still evaluate one specification followed by one final assessment. This leaves out a basic question: can an agent keep its own codebase working as requirements change? We introduce EvoCode-Bench, a benchmark of 26 stateful coding tasks and 227 evaluated rounds. Each task preserves the agent's workspace for 5-15 rounds, states requirements through observable behavior, and uses cumulative executable tests to check new requirements and still-active prior ones. We evaluate 13 coding agents with two metrics: MT@4, a four-attempt fail-stop multi-round score, and SR, a single-round score from a reference-completed prior state. For most agents, SR exceeds MT@4 by 22-40 points. The gap also changes rankings: the highest-SR agent (78.9) ranks only third in persistent execution (44.0 MT@4). Even the strongest agents achieve only about 50% success on multi-turn metrics, and aggregate pass rate drops below half of round-1 performance by round 5. Failure analysis shows tier-dependent behavior: weaker agents fail early, while stronger agents survive long enough to expose specification-tracking and regression failures. We release the benchmark data and Harbor multi-turn infrastructure.
Original Article
View Cached Full Text

Cached at: 05/26/26, 09:04 AM

# EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions
Source: [https://arxiv.org/html/2605.24110](https://arxiv.org/html/2605.24110)
Haiyang Shen1,2\*, Xuanzhong Chen1,3\*, Wendong Xu1,4\*‡\\ddagger Yun Ma2†\\dagger, Liang Chen1†\\dagger, Kuan Li1†\\dagger 1UniPat AI2Peking University3Tsinghua University4HKU \{haiyangshen,xuanzhongchen,wendongxu,liangchen,kuanli\}@unipat\.ai,mayun@pku\.edu\.cn \*Equal contribution\.‡\\ddaggerCoding Project Leader\.†\\daggerCorresponding authors

###### Abstract

Coding agents are increasingly used as iterative development partners, but most benchmarks still evaluate one specification followed by one final assessment\. This leaves out a basic question: can an agent keep its own codebase working as requirements change? We introduceEvoCode\-Bench, a benchmark of 26 stateful coding tasks and 227 evaluated rounds\. Each task preserves the agent’s workspace for 5–15 rounds, states requirements through observable behavior, and uses cumulative executable tests to check new requirements and still\-active prior ones\. We evaluate 13 coding agents with two metrics: MT@4, a four\-attempt fail\-stop multi\-round score, and SR, a single\-round score from a reference\-completed prior state\. For most agents, SR exceeds MT@4 by 22–40 points\. The gap also changes rankings: the highest\-SR agent \(78\.9\) ranks only third in persistent execution \(44\.0 MT@4\)\. Even the strongest agents achieve only about 50% success on multi\-turn metrics, and aggregate pass rate drops below half of round\-1 performance by round 5\. Failure analysis shows tier\-dependent behavior: weaker agents fail early, while stronger agents survive long enough to expose specification\-tracking and regression failures\. We release the benchmark data and Harbor multi\-turn infrastructure\.

## 1Introduction

Coding agents have evolved from code\-completion tools into systems that plan, edit files, execute commands, and interact with development environments\. Products such as Claude CodeAnthropic \([2026](https://arxiv.org/html/2605.24110#bib.bib36)\), CursorAnysphere \([2026](https://arxiv.org/html/2605.24110#bib.bib37)\), CodexOpenAI \([2026](https://arxiv.org/html/2605.24110#bib.bib38)\), and WindsurfWindsurf \([2026](https://arxiv.org/html/2605.24110#bib.bib39)\)are now used for tasks such as debugging, data analysis, service deployment, and infrastructure management\. In these settings, the agent must operate within a persistent workspace: each edit changes files, dependencies, interfaces, and tests that later interactions inherit\. This makes coding a useful setting for evaluating tool\-using agents because decisions leave executable traces and correctness can be checked through behavior\.

Current evaluation only partly matches this setting\. Function\-level benchmarksChenet al\.\([2021](https://arxiv.org/html/2605.24110#bib.bib1)\); Austinet al\.\([2021](https://arxiv.org/html/2605.24110#bib.bib2)\); Jainet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib3)\); Zhuoet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib4)\)evaluate localized programming ability through one\-shot generation\. Repository\-level benchmarks test repair, completion, and feature addition in realistic codebasesLiuet al\.\([2024a](https://arxiv.org/html/2605.24110#bib.bib5)\); Jimenezet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib6)\); Yanget al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib7)\); Liet al\.\([2024b](https://arxiv.org/html/2605.24110#bib.bib31)\); Haiet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib32)\); Dinget al\.\([2026](https://arxiv.org/html/2605.24110#bib.bib34)\)\. SWE\-GymPanet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib10)\)turns software engineering tasks into training environments\. Environment\-level benchmarks such as AppWorldTrivediet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib12)\)and Terminal\-BenchMerrillet al\.\([2026](https://arxiv.org/html/2605.24110#bib.bib23)\)evaluate agents that interact with executable environments\. Multi\-turn evaluation has also been studied in dialogue, tool use, and general agent settingsZhenget al\.\([2023b](https://arxiv.org/html/2605.24110#bib.bib18)\); Kwanet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib25)\); Labanet al\.\([2026](https://arxiv.org/html/2605.24110#bib.bib24)\); Yaoet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib19)\); Luet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib15)\)\. These efforts make coding evaluation more realistic, but their usual unit is still one task specification followed by one terminal assessment\. Persistent coding adds a different requirement: later turns must build on the agent’s own artifact while preserving all active requirements\.

In practice, users interact with coding agents iteratively: they add output formats, correct behavior, introduce constraints, and deprecate earlier requirements\. Unlike dialogue, where an earlier poor response can often be corrected in text, coding materializes decisions into file layouts, schemas, APIs, and dependency choices\. These commitments constrain later work and can create regressions\. A benchmark for this setting needs cross\-round dependencies, cumulative executable tests, and scoring that identifies when the evolving workspace first stops satisfying the active specification\.

To address this gap, we introduceEvoCode\-Bench, a benchmark for coding agents in interactive, persistent multi\-turn sessions where requirements evolve and sometimes conflict\.EvoCode\-Benchcontains 26 multi\-round tasks and 227 evaluated rounds, with 5 to 15 rounds per task\. The benchmark is grouped by two axes:*Interaction style*, which describes how users communicate across rounds, and*Engineering activity*, which describes the kind of code change each round asks for\. Since correct agents may build different internal designs,EvoCode\-Benchevaluates behavior rather than implementation paths: instructions state observable requirements, and verification scripts exercise those requirements through execution instead of inspecting code structure\. Section[3](https://arxiv.org/html/2605.24110#S3)presents the full taxonomy and task construction pipeline\.

We evaluate 13 leading coding agents using the Terminus\-2 harnessHarbor Framework Team \([2026b](https://arxiv.org/html/2605.24110#bib.bib41)\)and Harbor execution protocolHarbor Framework Team \([2026a](https://arxiv.org/html/2605.24110#bib.bib40)\)\. We extend Harbor so that one Docker workspace and one agent session persist across round boundaries while cumulative verifiers are swapped and state lineage is recorded\. The evaluation gives three findings\. First, SR exceeds MT@4 by 22 to 40 points for most agents, and the gap reranks models: Opus\-4\.6 has the highest SR \(78\.9\) but only the third\-highest MT@4 \(44\.0\)\. Second,EvoCode\-Benchis challenging even for the strongest models: only two agents exceed half of the multi\-round credit, and top agents still fail on many long trajectories\. Third, performance degrades rapidly with interaction depth\. Failure analysis shows tier\-dependent breakdown patterns: lower\-tier agents typically miss early requirements, whereas stronger agents struggle with conflict resolution, self\-correction, and regression management in later turns\. These results point to preserving correctness across evolving requirements as a separate evaluation target\.

#### Contributions\.

We contribute: \(i\) a task definition for interactive persistent multi\-turn coding with evolving and conflicting requirements; \(ii\)EvoCode\-Bench, with 26 tasks, 227 evaluated rounds, persistent workspaces, reference deltas, cumulative verifiers, fail\-stop scoring, and a two\-axis taxonomy; \(iii\) open\-source Harbor multi\-turn extensions for continuous sessions, verifier swaps, reference fast\-forwarding, snapshot/resume lineage, and fail\-stop accounting; and \(iv\) a 13\-agent evaluation showing that single\-round performance can overstate persistent reliability and change model ranking\.

## 2Related Work

#### Code Generation and Repair Benchmarks

Code evaluation benchmarks have progressed from function\-level generationChenet al\.\([2021](https://arxiv.org/html/2605.24110#bib.bib1)\); Austinet al\.\([2021](https://arxiv.org/html/2605.24110#bib.bib2)\)through instruction\-following with library callsJainet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib3)\); Zhuoet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib4)\)to repository\-level task solving\. SWE\-benchJimenezet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib6)\)and SWE\-bench MultimodalYanget al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib7)\)require agents to resolve real issues; RepoBenchLiuet al\.\([2024a](https://arxiv.org/html/2605.24110#bib.bib5)\)evaluates repository\-level completion\. A parallel line studies repository\-level generation: EvoCodeBenchLiet al\.\([2024a](https://arxiv.org/html/2605.24110#bib.bib30)\), DevEvalLiet al\.\([2024b](https://arxiv.org/html/2605.24110#bib.bib31)\), RepoExecHaiet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib32)\), CodeSZanet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib33)\), NL2Repo\-BenchDinget al\.\([2026](https://arxiv.org/html/2605.24110#bib.bib34)\), and NoCode\-benchDenget al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib35)\)each advance different facets of repository construction and feature implementation\. SWE\-GymPanet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib10)\)turns software engineering tasks into training environments\. Two recent efforts add sequential structure: SWE\-EVOZhaoet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib42)\)requires implementing an entire software release under cumulative regression tests from a single specification, and SlopCodeBenchGarget al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib43)\)evaluates code quality across sequential additive checkpoints\. While both test sustained correctness within a single session, they rely on fixed or additive specifications without interactive user dialogue or requirement revision\.EvoCode\-Benchdistinguishes itself through an inherently interactive multi\-turn design: requirements evolve and conflict across rounds through simulated user dialogue, and the cumulative verifier checks the agent’s own accumulated workspace at every round\. This explicitly measures regression avoidance, conflict resolution, and incremental adaptation under requirement change that fixed\-specification benchmarks do not measure\.

#### Autonomous Coding Agent Evaluation

Recent research on autonomous agents explores systems capable of planning, executing shell commands, and interacting with development environments\. SWE\-agentYanget al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib8)\)and OpenHandsWanget al\.\([2025b](https://arxiv.org/html/2605.24110#bib.bib9)\)provide agent\-computer interfaces; while Terminal\-BenchMerrillet al\.\([2026](https://arxiv.org/html/2605.24110#bib.bib23)\)and AppWorldTrivediet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib12)\)evaluate executable\-environment interaction\. AutoCodeRoverZhanget al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib11)\), AgentlessXiaet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib21)\), and SWE\-DevDuet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib20)\)target repository repair or feature development\. However, these settings typically still define success based on a single task specification and a single trajectory\. Our work introduces iterative interaction into this loop\. Built on HarborHarbor Framework Team \([2026a](https://arxiv.org/html/2605.24110#bib.bib40)\),EvoCode\-Benchsupports persistent environments, cumulative tests, and state accounting across rounds\.

#### Multi\-Turn Interaction Evaluation

Multi\-turn evaluation spans dialogue, general agents, and tool use\. MT\-BenchZhenget al\.\([2023b](https://arxiv.org/html/2605.24110#bib.bib18)\), MT\-EvalKwanet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib25)\), and LMSYS\-Chat\-1MZhenget al\.\([2023a](https://arxiv.org/html/2605.24110#bib.bib26)\)study conversational interaction; Laban et al\.Labanet al\.\([2026](https://arxiv.org/html/2605.24110#bib.bib24)\)show that distributing information across turns can sharply reduce performance\. AgentBenchLiuet al\.\([2024b](https://arxiv.org/html/2605.24110#bib.bib13)\), OSWorldXieet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib17)\), BFCLPatilet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib16)\),τ\\tau\-benchYaoet al\.\([2024](https://arxiv.org/html/2605.24110#bib.bib19)\), and ToolSandboxLuet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib15)\)evaluate sequential decision making or stateful tool use\. In the coding domain, specific studies have investigated multi\-turn generation, dependency\-ordered code flow, and securityZhenget al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib27)\); Wanget al\.\([2025a](https://arxiv.org/html/2605.24110#bib.bib28)\); Rawalet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib29)\)\.EvoCode\-Benchis complementary: it evaluates repository\-level development chains by executing cumulative tests after every round, ensuring that each intermediate artifact is behaviorally verified\.

## 3EvoCode\-Bench

This section definesEvoCode\-Benchas a benchmark for persistent multi\-turn coding\. The main design choice is to treat coding as an evolving workspace rather than isolated prompts: each response changes files, dependencies, interfaces, and tests that later rounds inherit\.EvoCode\-Benchpersists one workspace and one agent session across all rounds, carries active requirements forward through cumulative tests, and records the first round where the accumulated implementation violates the active specification\.

### 3\.1Task Definition and Taxonomy

![Refer to caption](https://arxiv.org/html/2605.24110v1/figures/main_improved_final.png)

Figure 1:Overview ofEvoCode\-Bench\. \(a\) Each round contains an instruction, reference solution, and cumulative tests checked by human review and oracle verification\. \(b\) MT@4 keeps one Docker environment and agent session across rounds, with fail\-stop termination\. \(c\) SR fast\-forwards to the reference state before each target round\.AEvoCode\-Benchtask hasNNrounds executed in one persistent Docker container \(Figure[1](https://arxiv.org/html/2605.24110#S3.F1)b\)\. At roundii, the agent receives instructionℐi\\mathcal\{I\}\_\{i\}and edits workspace𝒲i−1\\mathcal\{W\}\_\{i\-1\}into𝒲i\\mathcal\{W\}\_\{i\}\. The verifier𝒯1:i\\mathcal\{T\}\_\{1:i\}tests all active requirements through roundii; the next instruction is issued only after a pass\. Each round yieldsri∈\{0,1\}r\_\{i\}\\in\\\{0,1\\\}\. Ifri=0r\_\{i\}=0, evaluation stops and later rounds receive zero credit\.

Fail\-stop scoring makes the failure point interpretable\. Permitting an agent to continue after a failure would conflate two distinct capabilities: recovering from an invalid workspace versus preserving a valid, evolving state\.EvoCode\-Benchmeasures the latter in its main multi\-turn score; Appendix[F\.5](https://arxiv.org/html/2605.24110#A6.SS5)discusses recovery\-oriented and reference\-fast\-forwarded alternatives\.

#### Two\-dimensional taxonomy\.

Multi\-turn coding tasks differ in both communication style and engineering pressure\.EvoCode\-Benchlabels each task along two axes: interaction style and engineering activity\.

#### Interaction styles\.

The first axis captures where requirements live\.Explorativetasks start with a detailed request and then use terse follow\-ups, testing intent recovery from prior conversation and repository state\.Contractualtasks provide detailed behavioral specifications at every round, including revisions to earlier behavior\.Document\-driventasks place persistent semantics in project artifacts such as specifications orAGENTS\.md, testing whether agents treat repository documents as part of the active specification\.

#### Engineering activities\.

The second axis captures the dominant engineering pressure: construction, specification evolution, review\-driven improvement, or migration with compatibility preservation\. Table[1](https://arxiv.org/html/2605.24110#S3.T1)gives definitions and distribution\. Later tables abbreviate these labels as Con, Spec, Rev, Mig, Exp, Ctr, and Doc\.

Reporting both axes supports task\-level multi\-turn analysis and round\-level single\-round analysis; Appendix[C](https://arxiv.org/html/2605.24110#A3)gives a released example\.

Table 1:Task taxonomy and distribution\. Each count cell reports*tasks / rounds*, so the table reflects both the multi\-round task inventory and the round\-level evaluation units used for single\-round analysis\. Expl\., Contr\., and Doc\. denote explorative, contractual, and document\-driven interaction styles\.Engineering ActivityCapability measuredExpl\.Contr\.Doc\.TotalConstructionBuilding a system incrementally while preserving earlier features and interfaces\.9 / 803 / 371 / 713 / 124Spec EvolutionUpdating an implementation after a later round overturns a core assumption\.1 / 81 / 71 / 73 / 22ReviewImproving non\-functional properties such as performance, security, and observability without regression\.3 / 211 / 71 / 95 / 37MigrationMoving a legacy system to a new implementation style while keeping backward compatibility\.3 / 291 / 71 / 85 / 44Total16 / 1386 / 584 / 3126 / 227

### 3\.2Data Collection Pipeline

Constructing multi\-turn tasks requires coherent requirement chains, cumulative behavioral tests, and incremental reference solutions \(Figure[1](https://arxiv.org/html/2605.24110#S3.F1)a\)\. A valid task must make later rounds depend on earlier state while still allowing multiple correct implementation paths\. We use a four\-stage quality pipeline; Appendices[B](https://arxiv.org/html/2605.24110#A2)and[D](https://arxiv.org/html/2605.24110#A4)give the released format and additional QA details\.

#### Task design protocol\.

The main validity risk is that agents may take different early implementation paths\. Instructions describe observable behavior, tests verify execution rather than source layout, and each round’s tests are independent of prior reference patches\. Each task begins with a substantial system foundation and includes at least one correction and one conflict, so agents must both extend and revise existing behavior\.

#### Task construction and internal review\.

Engineers author complete chains, including instructions, reference solutions, tests, and Docker environments\. LLM assistance is used for drafting candidate task ideas and failure\-analysis prompts, but released instructions, tests, reference deltas, and accepted diagnostic labels are author\-reviewed\. Two independent reviewers then check instruction coherence and three\-way alignment among instructions, tests, and solutions\. Reviewers ask whether a competent implementation that differs from the reference can pass, whether each test assertion follows from a current requirement, and whether later rounds preserve all requirements that have not been explicitly superseded\. Tasks with critical findings are revised before oracle verification\.

#### Oracle verification\.

Each reference solution is executed in the full environment and must obtainri=1r\_\{i\}=1for every round\. This catches incorrect solutions, missing dependencies, nondeterministic tests, and unsatisfiable specifications\.

#### Cross\-validation\.

Final cross\-validation verifies reference behavior, traces every assertion to a current specification, and audits shortcut strategies\. We inspect whether a model could pass by hard\-coding fixture outputs, ignoring documented formats, or satisfying only the latest round while breaking earlier requirements\. Unresolved tasks are revised or removed\. The resulting benchmark is intentionally smaller than broad single\-turn collections, but each released task supplies a longer and more controlled development trajectory\.

### 3\.3Dataset Statistics

\(a\) Task length5–7 rounds9 tasks / 61 rounds8–9 rounds12 tasks / 99 rounds10–15 rounds5 tasks / 67 rounds\(b\) Technical domainsML & MLOps9Data engineering4Systems & code3Scientific3Testing & automation4Infra and security3\(c\) Requirement\-change pressureExtension198Correction69Conflict42110 rounds carry≥\\geq1 correction or conflict

Figure 2:Dataset statistics forEvoCode\-Benchbeyond the taxonomy distribution in Table[1](https://arxiv.org/html/2605.24110#S3.T1)\. The benchmark contains 26 multi\-turn tasks and 227 evaluated rounds, with 5 to 15 rounds per task, broad technical coverage, and frequent requirement corrections or conflicts\.EvoCode\-Benchcontains 26 tasks and 227 evaluated rounds\. Figure[2](https://arxiv.org/html/2605.24110#S3.F2)summarizes scale, task length, technical coverage, and requirement\-change pressure; Table[1](https://arxiv.org/html/2605.24110#S3.T1)gives the taxonomy cross product\. Each task is long enough for early implementation choices to constrain later work, while short enough for failures to be traced to concrete requirement changes\.

The benchmark covers MLOps, data engineering, systems programming, scientific computing, testing, automation, cloud/devops, security, and compiler implementation\. We intentionally avoid treating domain labels as the primary taxonomy because technical domain and multi\-turn behavior are not the same property: an MLOps task can be construction\-oriented, review\-driven, or migration\-oriented depending on the requirement chain\. Domain coverage instead supports external validity, while the two\-dimensional taxonomy supports analysis of multi\-turn behavior\.

Rounds are annotated with non\-exclusive change types:*extension*,*correction*, and*conflict*\. The distinction captures stale behavior after specification changes, not only missing latest\-round features\.

Instruction length follows interaction style: explorative tasks shorten after the first round, contractual tasks stay detailed, and document\-driven tasks move semantics into artifacts such asAGENTS\.md\. All styles use the same executable verifier\.

### 3\.4Evaluation Protocol

All evaluations use Harbor with the Terminus\-2 agent harness, which gives each model shell access inside a Docker container\. In multi\-round evaluation, the same container and agent session persist across rounds\. Harbor handles round sequencing, cumulative verification, snapshotting, SR reference fast\-forwarding, and fail\-stop accounting, turning a single\-instruction trial into a round\-indexed trial with continuous workspace, session, reward log, and resume lineage\. We use the same harness, environment, tool interface, and prompt protocol for all models; Appendix[F\.1](https://arxiv.org/html/2605.24110#A6.SS1)gives the exact configuration, and Appendix[F\.3](https://arxiv.org/html/2605.24110#A6.SS3)details the Harbor multi\-turn extensions\.

For taskttwithNtN\_\{t\}rounds, letrt,a,i∈\{0,1\}r\_\{t,a,i\}\\in\\\{0,1\\\}be the cumulative verifier reward for attemptaaat roundii\. Under fail\-stop, if attemptaafirst fails at roundii, thenrt,a,j=0r\_\{t,a,j\}=0for everyj\>ij\>i\. The single\-attempt multi\-turn score is

St,a=1Nt​∑i=1Ntrt,a,i\.S\_\{t,a\}=\\frac\{1\}\{N\_\{t\}\}\\sum\_\{i=1\}^\{N\_\{t\}\}r\_\{t,a,i\}\.\(1\)We reportMT@4, defined as1\|𝒟\|​∑t1Nt​∑imaxa≤4⁡rt,a,i\\frac\{1\}\{\|\\mathcal\{D\}\|\}\\sum\_\{t\}\\frac\{1\}\{N\_\{t\}\}\\sum\_\{i\}\\max\_\{a\\leq 4\}r\_\{t,a,i\}\. Equivalently, MT@4 gives credit for a round if any of four attempts reaches that round with a workspace that still satisfies the cumulative verifier\.SRis1∑tNt​∑t,ist,i\\frac\{1\}\{\\sum\_\{t\}N\_\{t\}\}\\sum\_\{t,i\}s\_\{t,i\}, wherest,is\_\{t,i\}is the binary reward for solving roundiiafter Harbor fast\-forwards earlier rounds with reference deltas\. SR measures a different condition from MT@4: whether the agent can solve a target round when all earlier work has been completed by the reference solution\. A large MT@4–SR gap means that isolated instruction\-following ability is not enough, under this protocol, to maintain the agent’s own long\-horizon workspace\.

Compis1\|𝒟\|​∑t𝟏​\[maxa≤4⁡rt,a,Nt=1\]\\frac\{1\}\{\|\\mathcal\{D\}\|\}\\sum\_\{t\}\\mathbf\{1\}\[\\max\_\{a\\leq 4\}r\_\{t,a,N\_\{t\}\}=1\], the fraction of tasks completed through the final round in at least one attempt\. We also reportAvg\. TurnsandOutput Tok\. \(K\)for multi\-round runs, with partial trajectories scaled to the full task horizon\. Each𝒯1:i\\mathcal\{T\}\_\{1:i\}tests all still\-valid requirements through roundiiand detects regressions\. Appendix[F](https://arxiv.org/html/2605.24110#A6)gives exact metric accounting\.

## 4Experiments

### 4\.1Evaluation Setup

We evaluate the 13 coding agents in Table[2](https://arxiv.org/html/2605.24110#S4.T2)under a shared protocol\. Each agent\-task pair runs in a dedicated Docker container, and correctness is measured only by executing the task verifier\. Multi\-round evaluation keeps the same workspace and agent session across rounds and uses four independent attempts\. Single\-round evaluation fast\-forwards the workspace to the reference state before the target round\. Appendix[F\.2](https://arxiv.org/html/2605.24110#A6.SS2)maps compact model labels to full names and endpoint identifiers\.

EvoCode\-Benchcontains 26 tasks and 227 evaluated rounds, with 5 to 15 rounds per task\. We aggregate by agent, engineering activity, interaction style, and round index to distinguish single\-round performance, persistent execution, and degradation over longer requirement chains\.

We reportMT@4,SR,Comp,Avg\. Turns, andOutput Tok\. \(K\)as defined in Section[3\.4](https://arxiv.org/html/2605.24110#S3.SS4), and sort the main table by MT@4\. MT@4 asks whether any of four attempts can maintain a valid evolving workspace; SR asks whether a single attempt can solve the same round from a reference\-completed state\. Together they separate accumulated\-state reliability from isolated instruction\-following ability\.

### 4\.2Main Results

Table 2:Main results onEvoCode\-Bench\. Rows are sorted byMT@4\.MT@4is the four\-attempt fail\-stop multi\-round score,SRis reference\-fast\-forward single\-round pass rate, andCompis full\-task completion\.Avg\. Turnsis agent–model exchanges per full task;Output Tok\. \(K\)is generated\-token usage in thousands\. Activity columns abbreviate construction, specification evolution, review\-driven improvement, and migration; style columns abbreviate explorative, contractual, and document\-driven tasks\.OverallEngineering ActivityInteraction StyleAgentMT@4SRCompAvg\.TurnsOutput Tok\.\(K\)ConSpecRevMigExpCtrDocOpus\-4\.754\.076\.742\.3590\.650\.058\.842\.970\.032\.341\.864\.182\.1GPT\-5\.552\.474\.438\.5456\.374\.157\.333\.350\.053\.651\.042\.675\.0Opus\-4\.644\.078\.934\.6747\.5734\.237\.466\.744\.047\.933\.135\.5100\.0GLM\-5\.136\.263\.915\.4859\.8104\.229\.661\.943\.130\.923\.330\.594\.4Kimi\-K2\.631\.959\.023\.11155\.592\.529\.533\.342\.526\.921\.629\.575\.0DS\-V4\-Pro30\.656\.419\.21134\.8168\.837\.30\.033\.029\.423\.720\.175\.0Qwen3\.6\-Plus29\.457\.315\.4629\.3103\.130\.245\.822\.524\.328\.619\.350\.0MiMo\-V2\.517\.37\.911\.5754\.8125\.720\.60\.022\.513\.617\.612\.125\.0Gemini\-3\.113\.746\.711\.5261\.372\.712\.00\.020\.020\.010\.40\.050\.0DS\-V4\-Flash9\.446\.30\.01104\.7148\.75\.20\.028\.66\.99\.47\.113\.9Qwen3\.5\-397B4\.644\.10\.0587\.853\.05\.40\.02\.27\.94\.46\.12\.8MiniMax\-M2\.73\.730\.00\.0600\.459\.22\.20\.06\.76\.93\.32\.08\.3Doubao\-2\.01\.923\.80\.0211\.118\.52\.90\.00\.02\.53\.30\.00\.0

![Refer to caption](https://arxiv.org/html/2605.24110v1/x1.png)Figure 3:\(a\) SR vs\. persistent MT@4 for each agent\. \(b\) Per\-round pass rate heatmap; rows are agents sorted by MT@4, columns are rounds\.#### The benchmark is challenging even for the strongest agents\.

Opus\-4\.7 leads with 54\.0 MT@4 and GPT\-5\.5 follows at 52\.4; only these two agents exceed half of the total multi\-round credit\. Opus\-4\.6 reaches 44\.0, and every other agent scores at or below 36\.2\. Full\-task completion rates are correspondingly low: Opus\-4\.7 completes 42\.3% of tasks through the final round, GPT\-5\.5 38\.5%, and no agent below the top three exceeds 23\.1%\.

#### Multi\-turn execution widens the gap across tiers\.

Grouping agents into top, middle, and lower tiers by MT@4, the top\-to\-lower ratio is 5\.9×\\times\(50\.1 vs\. 8\.4\), compared with only 2\.3×\\timesunder SR \(76\.7 vs\. 33\.1\)\. Persistent execution separates agents more sharply than single\-round evaluation\. All agents except MiMo\-V2\.5\-Pro have SR above MT@4 by 21\.9–39\.5 points; Opus\-4\.6 is the clearest reranking, with the highest SR \(78\.9\) but only the third\-highest MT@4 \(44\.0\)\.

The gap is not an artifact of giving MT@4 four attempts and SR one attempt\. At round 1, the best\-of\-four advantage makes MT@4 exceed SR; from round 2 onward, the ordering reverses \(Appendix[G\.8](https://arxiv.org/html/2605.24110#A7.SS8)\)\. After the first round, accumulated state outweighs the retry advantage\. MiMo\-V2\.5\-Pro is the sole exception \(SR 7\.9 vs\. MT@4 17\.3\), largely because 60% of its multi\-turn failures occur at round 1\. This case illustrates that SR rewards extending a reference\-completed codebase, whereas MT@4 rewards building and maintaining one’s own\.

#### Performance degrades sharply across rounds\.

Round\-level MT@4 pass rates fall from 46\.7 at round 1 to 26\.9 at round 3, 21\.3 at round 5, and 7\.7 at round 10\. Some decline reflects the smaller set of long tasks, but the within\-task heatmap in Figure[3](https://arxiv.org/html/2605.24110#S4.F3)\(b\) also shows falling pass rates for most agents\. SR further separates round difficulty from persistent\-state degradation: it remains stable at 52–57% for rounds 3–8 while MT@4 continues to decline \(Figure[4](https://arxiv.org/html/2605.24110#S4.F4)\)\. The SR–MT@4 gap reaches 33 points by round 5 and 41 points by round 8, indicating that accumulated workspace state drives much of the multi\-turn drop\. A controlled comparison reinforces this: 57\.0% of failed MT@4 round records are solvable under SR from a reference\-completed state \(Appendix[G\.11](https://arxiv.org/html/2605.24110#A7.SS11)\)\. The penalty grows with depth: only 15\.0% of round\-1 MT failures are SR\-solvable, rising to 59\.0% at round 7 and above 80% beyond round 12 \(Figure[9](https://arxiv.org/html/2605.24110#A7.F9)a\)\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x2.png)Figure 4:Per\-round SR \(single attempt\) vs\. MT@4 \(best of four attempts\)\. \(a\) SR remains stable while MT@4 declines; the shaded region is the state\-accumulated gap\. \(b\) SR–MT@4 gap by agent tier; late\-round fluctuations reflect small task counts\.
#### Cross\-attempt variance increases with round depth\.

MT@4 credits a round if any of four attempts passes, but this masks cross\-attempt variability\. Decomposing into*aptitude*\(any attempt passes\) and*full consistency*\(all four pass\), the reliability ratio drops from 67% at round 1 to 20% at round 5 \(Appendix[G\.9](https://arxiv.org/html/2605.24110#A7.SS9)\), echoingBsharatet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib44)\): multi\-turn settings degrade consistency more sharply than capability\. The location of first failure also differs by tier: 57\.4% of lower\-tier trial failures occur in the first 20% of rounds, compared with 29\.4% for mid\-tier and 14\.4% for top\-tier agents \(Appendix[G\.12](https://arxiv.org/html/2605.24110#A7.SS12)\), consistent with the view that lower\-tier agents lack basic requirement satisfaction while higher\-tier agents survive longer before encountering destabilizing corrections or conflicts\.

### 4\.3Fine\-Grained Analysis

#### Failure patterns are tier\-dependent\.

We label each executed failed round by its primary failure mode: missed active requirement, environment/tooling failure, regression, stale superseded behavior, or context loss\. Missed\-requirement dominates every tier \(87–90%\), so the more informative diagnostic is*which secondary modes emerge and when*\. Mid\-tier failures include stale behavior \(28\.6%\) from superseded requirements left in the codebase; top\-tier failures at advanced rounds include regression \(18\.2%\) where previously passing tests break after new edits\. Per\-round profiles \(Appendix[G\.10](https://arxiv.org/html/2605.24110#A7.SS10)\) show that for top\-tier agents regression peaks at round 2 \(35%\) and for mid\-tier agents conflict\-mishandling appears at round 5 \(23%\), while lower\-tier agents are dominated by missed requirements throughout\.

These tier differences are partly a selection effect: lower\-tier agents fail before encountering the correction and conflict rounds where stale\-behavior and regression failures become possible, so their failure distribution is truncated rather than qualitatively different\. Mid\-tier agents survive enough rounds to encounter specification supersession but fail to update already\-implemented behavior accordingly, suggesting that specification tracking across accumulating requirements is a larger bottleneck than basic coding ability at this tier\. Top\-tier agents survive the longest but show regression when editing code to satisfy new requirements\. This failure mode appears only after the agent has built enough working functionality for later edits to break\.

Appendix[D\.3](https://arxiv.org/html/2605.24110#A4.SS3)defines the taxonomy; Appendix[E](https://arxiv.org/html/2605.24110#A5)presents case studies\.

#### Taxonomy\-level patterns\.

Across interaction styles, document\-driven tasks average 50\.1 MT@4, roughly 2\.4×\\timesthe mean of explorative \(20\.9\) and contractual \(20\.7\) tasks\. Across engineering activities, review\-driven improvement scores highest \(29\.6\) while specification evolution scores lowest \(21\.8\); leaders also vary by activity, with Opus\-4\.7 leading construction and review, GPT\-5\.5 migration, and Opus\-4\.6 specification evolution\. These patterns are diagnostic rather than stable rankings because small cells and task content co\-vary with taxonomy labels\. When change\-type effects are controlled for round position \(Appendix[G\.14](https://arxiv.org/html/2605.24110#A7.SS14)\), extension rounds show notably higher MT@4 pass rates than correction or conflict rounds in early rounds \(43\.2% vs\. 31\.9% vs\. 25\.0%\), with the difference diminishing in later buckets, indicating that requirement revision adds difficulty beyond later round position\.

#### Failing rounds are associated with higher token consumption\.

To control for the confound that later rounds have longer contexts, we compare output tokens of passing and failing trials at the same round index\. Across rounds 1–9, where both pass and fail samples are sufficient, failing trials produce 1\.1–3\.1×\\timesas many output tokens as passing trials at the same round \(Appendix[G\.13](https://arxiv.org/html/2605.24110#A7.SS13)\)\. The direction of this association is ambiguous: harder workspace states may cause both failure and increased agent effort\. We report this pattern as a diagnostic observation, not a causal claim\.

## 5Discussion

Section[4](https://arxiv.org/html/2605.24110#S4)shows that persistent multi\-turn coding is not only longer single\-round coding\. The same instructions are often solvable from a reference\-completed state but fail when the agent relies on its own accumulated workspace\. This distinction matters as coding agents are deployed as ongoing development partners rather than one\-shot patch generators\.

#### Implications for agent system designers\.

The SR–MT@4 gap implies that reliability cannot be obtained by improving latest\-request execution alone\. Agents must preserve a running contract over files, tests, dependencies, and earlier corrections\. Appendix[G\.11](https://arxiv.org/html/2605.24110#A7.SS11)shows that 57\.0% of multi\-turn failures involve rounds solvable from a reference\-completed state, rising above 80% at deeper rounds and peaking for correction \(73\.5%\) and conflict \(67\.1%\) rounds\. This suggests useful system support around the model: regression checks between rounds, repository\-grounded summaries of active requirements, and workspace audits that detect stale or superseded behavior\.

#### Implications for benchmark designers\.

EvoCode\-Benchalso suggests benchmark\-design principles that may transfer beyond coding\. Cumulative verification is needed because round\-local tests miss regressions against still\-active requirements\. Fail\-stop MT@4 and reference\-fast\-forward SR should be read together: one measures persistent reliability, while the other estimates whether the target round is solvable absent accumulated workspace damage\. Behavior\-only tests are also important because correct agents may take different implementation paths across attempts\.

Fail\-stop scoring is strict, but it gives a clean interpretation to the failure point: the workspace has stopped satisfying the cumulative active specification\. This is useful for measuring persistence, because later instructions are difficult to interpret once the artifact is already invalid\. At the same time, fail\-stop scoring deliberately does not measure recovery\. An agent might be able to repair a broken workspace after receiving diagnostics, ask clarification questions, or restart from a clean state, but those are different capabilities\. Benchmarks that care about recovery should add a separate recovery protocol rather than mixing repair into the primary persistence score\. Otherwise later\-round failures become ambiguous: they may reflect poor maintenance, weak repair, or difficulty with the new instruction\.

#### Implications for model developers\.

The tier\-dependent failures suggest different training bottlenecks\. Lower\-tier agents need stronger basic requirement satisfaction; mid\-tier agents need better specification tracking and conflict resolution; top\-tier agents need better regression control during incremental edits\. The results argue against treating multi\-turn coding as only a context\-length problem: longer context helps only if the model can identify active requirements, superseded requirements, and earlier implementation choices that have become liabilities\. Training on corrections, conflicts, migrations, and cumulative regression checks exercises behaviors that single\-turn coding data often hides\.

#### Implications for practitioners and end users\.

For practitioners, the SR–MT@4 gap suggests that clean workspace restarts or reference\-state repair may recover performance, thoughEvoCode\-Benchdoes not directly evaluate restart strategies\. The evaluation consumed approximately 24\.4 billion tokens across 3,657 logged multi\-round execution records \(Appendix[G\.13](https://arxiv.org/html/2605.24110#A7.SS13)\), which makes persistent multi\-turn evaluation expensive\. MT@4 and SR should be read together: high SR with much lower MT@4 indicates strength on isolated requests but degradation under sustained iterative development\.

## 6Conclusion

We introducedEvoCode\-Bench, a benchmark for persistent multi\-turn coding with cumulative tests, stateful workspaces, and round\-level diagnostics\. The results show that single\-round and multi\-turn evaluations measure different conditions: the former rewards extending a reference\-completed codebase, while the latter rewards building and maintaining one’s own\. SR exceeds MT@4 by 22 to 40 points for most agents, and the highest single\-round scorer ranks only third in persistent execution\. Only two agents exceed 50 MT@4\. The failure patterns also differ by tier: lower\-tier agents miss early requirements, while top\-tier agents more often fail on corrections and regressions\.

## References

- Claude code\.Note:Product documentationExternal Links:[Link](https://docs.anthropic.com/en/docs/claude-code/overview)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p1.1)\.
- Anysphere \(2026\)Cursor\.Note:Product documentationExternal Links:[Link](https://www.cursor.com/)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p1.1)\.
- J\. Austin, A\. Odena, M\. Nye, M\. Bosma, H\. Michalewski, D\. Dohan, E\. Jiang, C\. Cai, M\. Terry, Q\. Le, and C\. Sutton \(2021\)Program synthesis with large language models\.External Links:2108\.07732,[Link](https://arxiv.org/abs/2108.07732)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- A\. Bsharat, M\. Ainur, J\. Ye, H\. Schoelkopf, J\. Phang, A\. Prabhu, O\. Patel, B\. Allison, A\. Liusie, and S\. R\. Bowman \(2025\)LLMs get lost in multi\-turn conversation\.InProceedings of the Thirteenth International Conference on Learning Representations \(ICLR\),External Links:[Link](https://openreview.net/forum?id=9A8OQpIuWe)Cited by:[§G\.9](https://arxiv.org/html/2605.24110#A7.SS9.p1.1),[§4\.2](https://arxiv.org/html/2605.24110#S4.SS2.SSS0.Px4.p1.1)\.
- M\. Chen, J\. Tworek, H\. Jun, Q\. Yuan, H\. P\. de Oliveira Pinto, J\. Kaplan, H\. Edwards, Y\. Burda, N\. Joseph, G\. Brockman, A\. Ray, R\. Puri, G\. Krueger, M\. Petrov, H\. Khlaaf, G\. Sastry, P\. Mishkin, B\. Chan, S\. Gray, N\. Ryder, M\. Pavlov, A\. Power, L\. Kaiser, M\. Bavarian, C\. Winter, P\. Tillet, F\. P\. Such, D\. Cummings, M\. Plappert, F\. Chantzis, E\. Barnes, A\. Herbert\-Voss, W\. H\. Guss, A\. Nichol, A\. Paino, N\. Tezak, J\. Tang, I\. Babuschkin, S\. Balaji, S\. Jain, W\. Saunders, C\. Hesse, A\. N\. Carr, J\. Leike, J\. Achiam, V\. Misra, E\. Morikawa, A\. Radford, M\. Knight, M\. Brundage, M\. Murati, K\. Mayer, P\. Welinder, B\. McGrew, D\. Amodei, S\. McCandlish, I\. Sutskever, and W\. Zaremba \(2021\)Evaluating large language models trained on code\.External Links:2107\.03374,[Link](https://arxiv.org/abs/2107.03374)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- L\. Deng, Z\. Jiang, J\. Cao, M\. Pradel, and Z\. Liu \(2025\)NoCode\-bench: a benchmark for evaluating natural language\-driven feature addition\.External Links:2507\.18130,[Link](https://arxiv.org/abs/2507.18130)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- J\. Ding, S\. Long, C\. Pu, H\. Zhou, H\. Gao, X\. Gao, C\. He, Y\. Hou, F\. Hu, Z\. Li, W\. Shi, Z\. Wang, D\. Zan, C\. Zhang, X\. Zhang, Q\. Chen, X\. Cheng, B\. Deng, Q\. Gu, K\. Hua, J\. Lin, P\. Liu, M\. Li, X\. Pan, Z\. Peng, Y\. Qin, Y\. Shan, Z\. Tan, W\. Xie, Z\. Wang, Y\. Yuan, J\. Zhang, E\. Zhao, Y\. Zhao, H\. Zhu, L\. Zhu, C\. Zou, M\. Ding, J\. Jiao, J\. Liu, M\. Liu, Q\. Liu, C\. Tao, J\. Yang, T\. Yang, Z\. Zhang, X\. Chen, W\. Huang, and G\. Zhang \(2026\)NL2Repo\-Bench: towards long\-horizon repository generation evaluation of coding agents\.External Links:2512\.12730,[Link](https://arxiv.org/abs/2512.12730)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- Y\. Du, Y\. Cai, Y\. Zhou, C\. Wang, Y\. Qian, X\. Pang, Q\. Liu, Y\. Hu, and S\. Chen \(2025\)SWE\-dev: evaluating and training autonomous feature\-driven software development\.CoRRabs/2505\.16975\.External Links:[Link](https://doi.org/10.48550/arXiv.2505.16975),[Document](https://dx.doi.org/10.48550/ARXIV.2505.16975),2505\.16975Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- M\. Garg, V\. Agrawal, S\. Ravishankar, M\. Flicke, A\. Zhou, J\. Shang, and F\. Sala \(2025\)SlopCodeBench: a benchmark for evaluating code quality degradation in iterative LLM\-assisted development\.arXiv preprint arXiv:2603\.24755\.Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- N\. L\. Hai, D\. M\. Nguyen, and N\. D\. Q\. Bui \(2025\)On the impacts of contexts on repository\-level code generation\.External Links:2406\.11927,[Link](https://arxiv.org/abs/2406.11927)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- Harbor Framework Team \(2026a\)Harbor: a framework for evaluating and optimizing agents and models in container environments\.Note:Open\-source evaluation frameworkExternal Links:[Link](https://github.com/harbor-framework/harbor)Cited by:[§F\.3](https://arxiv.org/html/2605.24110#A6.SS3.p1.1),[Appendix H](https://arxiv.org/html/2605.24110#A8.SS0.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2605.24110#S1.p5.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- Harbor Framework Team \(2026b\)Terminus\-2\.Note:Harbor reference agent documentationExternal Links:[Link](https://harborframework.com/docs/agents/terminus-2)Cited by:[§F\.1](https://arxiv.org/html/2605.24110#A6.SS1.p1.1),[Appendix H](https://arxiv.org/html/2605.24110#A8.SS0.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2605.24110#S1.p5.1)\.
- N\. Jain, K\. Han, A\. Gu, W\. Li, F\. Yan, T\. Zhang, S\. Wang, A\. Solar\-Lezama, K\. Sen, and I\. Stoica \(2025\)LiveCodeBench: holistic and contamination free evaluation of large language models for code\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,External Links:[Link](https://openreview.net/forum?id=chfJJYC3iL)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- C\. E\. Jimenez, J\. Yang, A\. Wettig, S\. Yao, K\. Pei, O\. Press, and K\. R\. Narasimhan \(2024\)SWE\-bench: can language models resolve real\-world github issues?\.InThe Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7\-11, 2024,External Links:[Link](https://openreview.net/forum?id=VTF8yNQM66)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- W\. Kwan, X\. Zeng, Y\. Jiang, Y\. Wang, L\. Li, L\. Shang, X\. Jiang, Q\. Liu, and K\. Wong \(2024\)MT\-eval: a multi\-turn capabilities evaluation benchmark for large language models\.InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing,Miami, Florida, USA,pp\. 20153–20177\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.emnlp-main.1124),[Link](https://aclanthology.org/2024.emnlp-main.1124/)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- P\. Laban, H\. Hayashi, Y\. Zhou, and J\. Neville \(2026\)LLMs get lost in multi\-turn conversation\.InThe Fourteenth International Conference on Learning Representations, ICLR 2026, Rio de Janeiro, Brazil, April 24\-28, 2026,External Links:[Link](https://openreview.net/forum?id=VKGTGGcwl6)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- J\. Li, G\. Li, X\. Zhang, Y\. Dong, and Z\. Jin \(2024a\)EvoCodeBench: an evolving code generation benchmark aligned with real\-world code repositories\.External Links:2404\.00599,[Link](https://arxiv.org/abs/2404.00599)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- J\. Li, G\. Li, Y\. Zhao, Y\. Li, H\. Liu, H\. Zhu, L\. Wang, K\. Liu, Z\. Fang, L\. Wang, J\. Ding, X\. Zhang, Y\. Zhu, Y\. Dong, Z\. Jin, B\. Li, F\. Huang, and Y\. Li \(2024b\)DevEval: a manually\-annotated code generation benchmark aligned with real\-world code repositories\.External Links:2405\.19856,[Link](https://arxiv.org/abs/2405.19856)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- T\. Liu, C\. Xu, and J\. J\. McAuley \(2024a\)RepoBench: benchmarking repository\-level code auto\-completion systems\.InThe Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7\-11, 2024,External Links:[Link](https://openreview.net/forum?id=pPjZIOuQuF)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- X\. Liu, H\. Yu, H\. Zhang, Y\. Xu, X\. Lei, H\. Lai, Y\. Gu, H\. Ding, K\. Men, K\. Yang, S\. Zhang, X\. Deng, A\. Zeng, Z\. Du, C\. Zhang, S\. Shen, T\. Zhang, Y\. Su, H\. Sun, M\. Huang, Y\. Dong, and J\. Tang \(2024b\)AgentBench: evaluating llms as agents\.InThe Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7\-11, 2024,External Links:[Link](https://openreview.net/forum?id=zAdUB0aCTQ)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- J\. Lu, T\. Holleis, Y\. Zhang, B\. Aumayer, F\. Nan, H\. Bai, S\. Ma, S\. Ma, M\. Li, G\. Yin, Z\. Wang, and R\. Pang \(2025\)ToolSandbox: A stateful, conversational, interactive evaluation benchmark for LLM tool use capabilities\.InFindings of the Association for Computational Linguistics: NAACL 2025, Albuquerque, New Mexico, USA, April 29 \- May 4, 2025,L\. Chiruzzo, A\. Ritter, and L\. Wang \(Eds\.\),Findings of ACL,pp\. 1160–1183\.External Links:[Link](https://doi.org/10.18653/v1/2025.findings-naacl.65),[Document](https://dx.doi.org/10.18653/V1/2025.FINDINGS-NAACL.65)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- M\. A\. Merrill, A\. G\. Shaw, N\. Carlini, B\. Li, H\. Raj, I\. Bercovich, L\. Shi, J\. Y\. Shin, T\. Walshe, E\. K\. Buchanan, J\. Shen, G\. Ye, H\. Lin, J\. Poulos, M\. Wang, M\. Nezhurina, J\. Jitsev, D\. Lu, O\. M\. Mastromichalakis, Z\. Xu, Z\. Chen, Y\. Liu, R\. Zhang, L\. L\. Chen, A\. Kashyap, J\. Uslu, J\. Li, J\. Wu, M\. Yan, S\. Bian, V\. Sharma, K\. Sun, S\. Dillmann, A\. Anand, A\. Lanpouthakoun, B\. Koopah, C\. Hu, E\. Guha, G\. H\. S\. Dreiman, J\. Zhu, K\. Krauth, L\. Zhong, N\. Muennighoff, R\. Amanfu, S\. Tan, S\. Pimpalgaonkar, T\. Aggarwal, X\. Lin, X\. Lan, X\. Zhao, Y\. Liang, Y\. Wang, Z\. Wang, C\. Zhou, D\. Heineman, H\. Liu, H\. Trivedi, J\. Yang, J\. Lin, M\. Shetty, M\. Yang, N\. Omi, N\. Raoof, S\. Li, T\. Y\. Zhuo, W\. Lin, Y\. Dai, Y\. Wang, W\. Chai, S\. Zhou, D\. Wahdany, Z\. She, J\. Hu, Z\. Dong, Y\. Zhu, S\. Cui, A\. Saiyed, A\. Kolbeinsson, J\. Hu, C\. M\. Rytting, R\. Marten, Y\. Wang, A\. Dimakis, A\. Konwinski, and L\. Schmidt \(2026\)Terminal\-bench: benchmarking agents on hard, realistic tasks in command line interfaces\.External Links:2601\.11868,[Link](https://arxiv.org/abs/2601.11868)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- OpenAI \(2026\)Codex\.Note:Product documentationExternal Links:[Link](https://openai.com/codex)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p1.1)\.
- J\. Pan, X\. Wang, G\. Neubig, N\. Jaitly, H\. Ji, A\. Suhr, and Y\. Zhang \(2025\)Training software engineering agents and verifiers with swe\-gym\.InForty\-second International Conference on Machine Learning, ICML 2025, Vancouver, BC, Canada, July 13\-19, 2025,A\. Singh, M\. Fazel, D\. Hsu, S\. Lacoste\-Julien, F\. Berkenkamp, T\. Maharaj, K\. Wagstaff, and J\. Zhu \(Eds\.\),Proceedings of Machine Learning Research\.External Links:[Link](https://proceedings.mlr.press/v267/pan25g.html)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- S\. G\. Patil, H\. Mao, F\. Yan, C\. C\. Ji, V\. Suresh, I\. Stoica, and J\. E\. Gonzalez \(2025\)The berkeley function calling leaderboard \(BFCL\): from tool use to agentic evaluation of large language models\.InForty\-second International Conference on Machine Learning, ICML 2025, Vancouver, BC, Canada, July 13\-19, 2025,A\. Singh, M\. Fazel, D\. Hsu, S\. Lacoste\-Julien, F\. Berkenkamp, T\. Maharaj, K\. Wagstaff, and J\. Zhu \(Eds\.\),Proceedings of Machine Learning Research\.External Links:[Link](https://proceedings.mlr.press/v267/patil25a.html)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- R\. Rawal, J\. Y\. F\. Chiang, C\. Shen, J\. S\. Tian, A\. Mahajan, T\. Goldstein, and Y\. Chen \(2025\)Benchmarking correctness and security in multi\-turn code generation\.External Links:2510\.13859,[Link](https://arxiv.org/abs/2510.13859)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- H\. Trivedi, T\. Khot, M\. Hartmann, R\. Manku, V\. Dong, E\. Li, S\. Gupta, A\. Sabharwal, and N\. Balasubramanian \(2024\)AppWorld: A controllable world of apps and people for benchmarking interactive coding agents\.InProceedings of the 62nd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\), ACL 2024, Bangkok, Thailand, August 11\-16, 2024,L\. Ku, A\. Martins, and V\. Srikumar \(Eds\.\),pp\. 16022–16076\.External Links:[Link](https://doi.org/10.18653/v1/2024.acl-long.850),[Document](https://dx.doi.org/10.18653/V1/2024.ACL-LONG.850)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- S\. Wang, Z\. Wang, D\. Ma, Y\. Yu, R\. Ling, Z\. Li, F\. Xiong, and W\. Zhang \(2025a\)CodeFlowBench: a multi\-turn, iterative benchmark for complex code generation\.External Links:2504\.21751,[Link](https://arxiv.org/abs/2504.21751)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- X\. Wang, B\. Li, Y\. Song, F\. F\. Xu, X\. Tang, M\. Zhuge, J\. Pan, Y\. Song, B\. Li, J\. Singh, H\. H\. Tran, F\. Li, R\. Ma, M\. Zheng, B\. Qian, Y\. Shao, N\. Muennighoff, Y\. Zhang, B\. Hui, J\. Lin, and et al\. \(2025b\)OpenHands: an open platform for AI software developers as generalist agents\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,External Links:[Link](https://openreview.net/forum?id=OJd3ayDDoF)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- Windsurf \(2026\)Windsurf\.Note:Product documentationExternal Links:[Link](https://windsurf.com/)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p1.1)\.
- C\. S\. Xia, Y\. Deng, S\. Dunn, and L\. Zhang \(2024\)Agentless: demystifying llm\-based software engineering agents\.CoRRabs/2407\.01489\.External Links:[Link](https://doi.org/10.48550/arXiv.2407.01489),[Document](https://dx.doi.org/10.48550/ARXIV.2407.01489),2407\.01489Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- T\. Xie, D\. Zhang, J\. Chen, X\. Li, S\. Zhao, R\. Cao, T\. J\. Hua, Z\. Cheng, D\. Shin, F\. Lei, Y\. Liu, Y\. Xu, S\. Zhou, S\. Savarese, C\. Xiong, V\. Zhong, and T\. Yu \(2024\)OSWorld: benchmarking multimodal agents for open\-ended tasks in real computer environments\.InAdvances in Neural Information Processing Systems 37: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 \- 15, 2024,A\. Globersons, L\. Mackey, D\. Belgrave, A\. Fan, U\. Paquet, J\. M\. Tomczak, and C\. Zhang \(Eds\.\),External Links:[Link](http://papers.nips.cc/paper_files/paper/2024/hash/5d413e48f84dc61244b6be550f1cd8f5-Abstract-Datasets_and_Benchmarks_Track.html)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- J\. Yang, C\. E\. Jimenez, A\. Wettig, K\. Lieret, S\. Yao, K\. Narasimhan, and O\. Press \(2024\)SWE\-agent: agent\-computer interfaces enable automated software engineering\.InAdvances in Neural Information Processing Systems 37: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 \- 15, 2024,A\. Globersons, L\. Mackey, D\. Belgrave, A\. Fan, U\. Paquet, J\. M\. Tomczak, and C\. Zhang \(Eds\.\),External Links:[Link](http://papers.nips.cc/paper_files/paper/2024/hash/5a7c947568c1b1328ccc5230172e1e7c-Abstract-Conference.html)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- J\. Yang, C\. E\. Jimenez, A\. L\. Zhang, K\. Lieret, J\. Yang, X\. Wu, O\. Press, N\. Muennighoff, G\. Synnaeve, K\. R\. Narasimhan, D\. Yang, S\. Wang, and O\. Press \(2025\)SWE\-bench multimodal: do AI systems generalize to visual software domains?\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,External Links:[Link](https://openreview.net/forum?id=riTiq3i21b)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- S\. Yao, N\. Shinn, P\. Razavi, and K\. Narasimhan \(2024\)τ\\tau\-Bench: a benchmark for tool\-agent\-user interaction in real\-world domains\.External Links:2406\.12045,[Link](https://arxiv.org/abs/2406.12045)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- D\. Zan, A\. Yu, W\. Liu, D\. Chen, B\. Shen, W\. Li, Y\. Yao, Y\. Gong, X\. Chen, B\. Guan, Z\. Yang, Y\. Wang, Q\. Wang, and L\. Cui \(2024\)CodeS: natural language to code repository via multi\-layer sketch\.External Links:2403\.16443,[Link](https://arxiv.org/abs/2403.16443)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- Y\. Zhang, H\. Ruan, Z\. Fan, and A\. Roychoudhury \(2024\)AutoCodeRover: autonomous program improvement\.InProceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2024, Vienna, Austria, September 16\-20, 2024,M\. Christakis and M\. Pradel \(Eds\.\),pp\. 1592–1604\.External Links:[Link](https://doi.org/10.1145/3650212.3680384),[Document](https://dx.doi.org/10.1145/3650212.3680384)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px2.p1.1)\.
- W\. Zhao, J\. Ke, R\. Tian, H\. Chen, L\. Wang, J\. Liu, G\. Xu, Z\. Zhang, B\. Zheng, W\. Zhou, K\. Liu, and G\. Zhang \(2025\)SWE\-EVO: benchmarking software\-engineering agents on evolving repositories through release\-level tasks\.arXiv preprint arXiv:2512\.18470\.Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.
- K\. Zheng, J\. Decugis, J\. Gehring, T\. Cohen, B\. Negrevergne, and G\. Synnaeve \(2025\)What makes large language models reason in \(multi\-turn\) code generation?\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,External Links:[Link](https://proceedings.iclr.cc/paper_files/paper/2025/hash/63fef0802863f47775c3563e18cbba17-Abstract-Conference.html)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- L\. Zheng, W\. Chiang, Y\. Sheng, T\. Li, S\. Zhuang, Z\. Wu, Y\. Zhuang, Z\. Li, Z\. Lin, E\. P\. Xing, J\. E\. Gonzalez, I\. Stoica, and H\. Zhang \(2023a\)LMSYS\-chat\-1m: a large\-scale real\-world LLM conversation dataset\.External Links:2309\.11998,[Link](https://arxiv.org/abs/2309.11998)Cited by:[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- L\. Zheng, W\. Chiang, Y\. Sheng, S\. Zhuang, Z\. Wu, Y\. Zhuang, Z\. Lin, Z\. Li, D\. Li, E\. P\. Xing, H\. Zhang, J\. E\. Gonzalez, and I\. Stoica \(2023b\)Judging llm\-as\-a\-judge with mt\-bench and chatbot arena\.InAdvances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 \- 16, 2023,A\. Oh, T\. Naumann, A\. Globerson, K\. Saenko, M\. Hardt, and S\. Levine \(Eds\.\),External Links:[Link](http://papers.nips.cc/paper_files/paper/2023/hash/91f18a1287b398d378ef22505bf41832-Abstract-Datasets_and_Benchmarks.html)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px3.p1.1)\.
- T\. Y\. Zhuo, M\. C\. Vu, J\. Chim, H\. Hu, W\. Yu, R\. Widyasari, I\. N\. B\. Yusuf, H\. Zhan, J\. He, I\. Paul, S\. Brunner, C\. Gong, J\. Hoang, A\. R\. Zebaze, X\. Hong, W\. Li, J\. Kaddour, M\. Xu, Z\. Zhang, P\. Yadav, and et al\. \(2025\)BigCodeBench: benchmarking code generation with diverse function calls and complex instructions\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,External Links:[Link](https://openreview.net/forum?id=YrycTjllL0)Cited by:[§1](https://arxiv.org/html/2605.24110#S1.p2.1),[§2](https://arxiv.org/html/2605.24110#S2.SS0.SSS0.Px1.p1.1)\.

## Appendix ALimitations and Future Work

The benchmark contains 26 tasks; scaling is mainly constrained by the cost of manual instruction authoring, cumulative test construction, cross\-validation, and multi\-agent evaluation\. The fail\-stop model may underestimate agents capable of recovery, though the SR metric partially addresses this\.EvoCode\-Benchcovers only tasks for which correctness can be verified through executable tests; evaluating agent reliability on subjective design decisions, code quality judgments, and collaborative negotiations remains an open problem\.

A natural next step is adaptive multi\-turn evaluation: an examiner agent maintains a target system specification and generates instructions from the evaluated agent’s current workspace state and performance trajectory\. This would remove the fixed round structure and let the evaluation adapt its difficulty and direction to expose each agent’s failure boundary\. It may also reduce the manual cost of task construction\. Extending this approach beyond coding to other tool\-using domains, where each turn modifies a shared artifact, remains open\.

## Appendix BTask Format and Reproducibility Details

Section[3](https://arxiv.org/html/2605.24110#S3)defines the benchmark semantics: multi\-round task execution, cumulative verification, fail\-stop scoring, and the two\-dimensional taxonomy\. This appendix provides the exact release format and execution details needed for reproducibility\. All tasks follow the same directory layout, metadata schema, and execution protocol described below\.

### B\.1Released Task Layout

Each task is a self\-contained directory with one environment definition andNNround subdirectories:

```
task/
  task.toml                    # Metadata
  environment/
    Dockerfile                 # Shared runtime environment
  round_1/
    instruction.md             # Round 1 instructions
    solution/solve.sh          # Round 1 reference solution
    tests/test.sh              # Round 1 verification (cumulative)
  round_2/
    instruction.md
    solution/solve.sh
    tests/test.sh
  ...
  round_N/
    instruction.md
    solution/solve.sh
    tests/test.sh
```

TheDockerfilein theenvironment/directory defines a reproducible runtime that includes all language runtimes, system libraries, and tool dependencies needed by the task\. Each round’sinstruction\.mdis the verbatim instruction delivered to the agent\. Thesolve\.shscript applies the reference solution for that round only, and thetest\.shscript runs the cumulative verifier\.

### B\.2Task Metadata Format

Thetask\.tomlfile records all metadata needed to configure evaluation:

```
[metadata]
name = "protocol-parser-evolution"
num_rounds = 5
engineering_activity = "spec_evolution"
interaction_style = "document_driven"
change_types = [
  ["extension"],
  ["extension", "correction"],
  ["conflict"],
  ["conflict", "extension"],
  ["extension"]
]
technology_domain = "system_protocol"
has_agents_md = false
```

Thechange\_typesarray records the requirement\-change labels for each round\. Valid labels areextension\(adding new capabilities without altering existing behavior\),correction\(adjusting previously established behavior without overturning core assumptions\), andconflict\(overturning a core assumption and requiring structural adaptation\)\. A single round may carry multiple labels when the instruction combines, for example, an extension with a correction\. These labels are used for the diagnostic analyses in Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)and for the change\-type breakdowns in Appendix[G](https://arxiv.org/html/2605.24110#A7)\.

### B\.3Execution Semantics

All rounds execute within a single Docker container\. The evaluation framework builds the Docker image from the task’sDockerfile, initializes one agent session for the entire task, and then executes each round sequentially: delivering the instruction, waiting for the agent to signal completion, running the cumulative test script, and recording the binary reward\. If any round fails \(ri=0r\_\{i\}=0\), the task terminates immediately under the fail\-stop protocol described in Section[3\.1](https://arxiv.org/html/2605.24110#S3.SS1)\. After all rounds complete, the composite score is computed asS=1N​∑i=1NriS=\\frac\{1\}\{N\}\\sum\_\{i=1\}^\{N\}r\_\{i\}\. This execution model ensures that every evaluated round depends on the workspace state produced by the same agent in all preceding rounds, which is the defining property of persistent multi\-turn evaluation\.

### B\.4Reference Solution Semantics

Each round’ssolve\.shmakes only that round’s incremental changes\. Executingsolve\.shfor rounds 1 throughNNin sequence produces the complete reference state after roundNN\. Reference solutions must never rewrite the entire project; they build incrementally on the prior state, mirroring the incremental development process that the benchmark requires of evaluated agents\. This constraint is verified during oracle verification \(Section[3\.2](https://arxiv.org/html/2605.24110#S3.SS2)\): each reference delta is applied in sequence, and the cumulative verifier must pass at every round boundary\.

### B\.5Cumulative Test Semantics

Roundii’stest\.shverifies all still\-valid requirements from rounds 1 throughii\. When a later round’s conflict or correction supersedes an earlier requirement, the cumulative test is updated accordingly: assertions that check the now\-obsolete behavior are replaced by assertions that check the new behavior\. Tests run all assertions to completion without early termination on the first failure, producing a pass/fail report that supports diagnostic failure annotation \(Appendix[D\.3](https://arxiv.org/html/2605.24110#A4.SS3)\)\. Test scripts verify behavior through actual system execution only: they invoke the built system, send inputs, check outputs, and compare results\. They never inspect source code structure, function names, file organization, or class hierarchies, so the verifier can accept behaviorally correct implementations with different internal designs\.

## Appendix CTask Examples

Section[3\.3](https://arxiv.org/html/2605.24110#S3.SS3)reports thatEvoCode\-Benchcontains 26 tasks spanning 227 evaluated rounds\. This appendix presents one released task in abbreviated form to illustrate the cumulative verification design and the cross\-round dependencies that distinguish multi\-turn evaluation from concatenated single\-turn tasks\.

### C\.1Released Task: Deterministic Data Pipeline CLI

The taskdeterministic\-data\-pipeline\-gois a 15\-round contractual construction task in the data\-engineering\-reproducibility domain\. The agent must build and extenddpipe, a deterministic Go CLI for CSV ingestion, transformation, validation, profiling, lineage tracking, quality checks, snapshots, and changelogs\. It is representative because it combines cumulative feature growth, behavior corrections, and explicit conflicts with earlier output formats\. Table[3](https://arxiv.org/html/2605.24110#A3.T3)shows an abbreviated round chain\.

Table 3:Abbreviated round chain from the released taskdeterministic\-data\-pipeline\-go\. The omitted rounds add commands such as profiling, validation, audit logging, schema inspection, fingerprinting, snapshots, and changelogs\.RoundChange typeInstruction summary1ExtensionBuilddpipeas a deterministic Go CLI that reads CSV files, validates rows against JSON schemas, applies ordered transformations, writes bit\-identical outputs, and records reproducibility metadata\.3Extension, correctionCorrect linear\-fill boundary behavior and z\-score normalization while adding extended profiling and a newdriftcommand\. The verifier checks both the new behavior and the earlier deterministic pipeline\.5Extension, conflictChange theverifyandmanifestchecksum behavior from SHA\-256 sidecar files to BLAKE2b\-256 manifest checksums, while adding alineagecommand\.7Extension, correctionCorrect lineage semantics for manifest steps: directory scans should not become input nodes\. Add a temporal transform for time\-series operations\.10Extension, conflictReplace the manifest entry fieldblake2bwithchecksumandalgorithm, then add areconcilecommand that compares two manifests\.12Extension, correctionCorrect the defaultnormalizemethod so an omitted or empty method behaves asminmax\. Add a numericroundtransform\.15Extension, conflictChangesnapshotrow hashes from MD5 to SHA\-256 and add a constant\-valuetagtransform\. The final verifier exercises the accumulated system across transforms, auditability, lineage, manifest formats, snapshots, and changelogs\.This example illustrates why the benchmark uses cumulative verification\. A correct round 15 submission must do more than implement the latest hash\-format change\. It must also preserve deterministic output, earlier checksum semantics where still active, profile/validate/quality/schema behavior, audit logging, lineage metadata, and snapshot/changelog requirements introduced across the previous rounds\. This is the evaluation setting targeted byEvoCode\-Bench: later instructions may look local, but the verifier scores the whole evolving system\.

### C\.2Document\-Driven Constraints

Section[3\.1](https://arxiv.org/html/2605.24110#S3.SS1)introduces document\-driven interaction as one of the three interaction styles\. In document\-driven tasks, persistent requirements are encoded in project artifacts such asAGENTS\.mdor specification files rather than in the chat\-based instruction stream\. The instruction for a given round may simply state that the specification file has been updated, without repeating the changed requirements in the instruction text\. The cumulative verifier then checks whether the agent’s implementation is synchronized to the updated artifact\.

This design tests a capability that purely chat\-centric evaluation cannot measure: whether the agent reads, interprets, and preserves repository\-level constraints across rounds\. In practice, the benchmark’s four document\-driven tasks each contain an evolving specification document\. A round may add a new constraint, tighten an existing tolerance, or remove a previously required behavior through a specification update\. The verifier checks the implementation against the current state of the specification, not against the instruction text alone\. Agents that rely exclusively on the latest chat message and ignore changes to project files are expected to fail on these tasks, particularly after specification updates that are not echoed in the instruction\.

## Appendix DQuality Assurance Details

Section[3\.2](https://arxiv.org/html/2605.24110#S3.SS2)describes the four\-stage quality pipeline used to constructEvoCode\-Benchtasks\. This appendix provides additional detail on the design principles, cross\-validation protocol, and failure annotation methodology\.

### D\.1Design Principles

Three principles govern all task construction inEvoCode\-Bench\. They address a basic challenge of multi\-turn benchmark design: different agents may reach equivalent behavior through different implementation paths, so neither instructions nor tests can assume a specific internal design\.

1. 1\.Describe behavior, not implementation\.Instructions specify what the system should do in terms of observable behavior, not how to achieve it\. No algorithm names, data structure choices, or file organization prescriptions appear in instructions\. This lets different agents reach equivalent behavioral goals through different implementation paths\.
2. 2\.Test behavioral requirements, not implementation details\.Verification scripts check the system’s external behavior through actual execution: running commands, sending inputs, and checking outputs\. They never inspect source code structure, function names, or file organization\. This makes the same test suite valid across arbitrary implementation paths\.
3. 3\.Round\-independent testing\.Roundii’s tests cannot assume the agent used the same code structure as the reference solution in rounds 1 throughi−1i\-1\. They can only assume the agent passed the behavioral tests of all prior rounds\. This handles divergent implementation paths in multi\-turn evaluation\.

These principles are enforced at every stage of the pipeline: during task authoring, during internal review, during oracle verification, and during final cross\-validation\. Violations discovered at any stage trigger task revision before the task enters the benchmark\.

### D\.2Cross\-Validation Protocol

After tasks pass internal review and oracle verification, a final cross\-validation stage addresses three objectives that go beyond checking whether the reference solution is correct:

1. 1\.Answer correctness verification\.Independent reviewers verify that the reference solution for each round produces the behavior specified by the instructions\. They check for alternative valid interpretations that the tests might not distinguish and for edge cases that the cumulative tests might miss\.
2. 2\.Test\-specification alignment audit\.Reviewers verify that every test assertion traces back to a current specification, either newly introduced in the current round or persisting from a previous round\. They also verify that no test checks stale requirements that have been superseded by later rounds, which would cause otherwise correct implementations to fail\.
3. 3\.Shortcut analysis\.Reviewers attempt to identify implementation strategies that would pass all tests without satisfying the task requirements\. This includes checking for overly specific test inputs that allow hardcoding, test orderings that leak information, and behavioral checks that are too loose to distinguish correct from incorrect implementations\. Tasks with identified shortcuts are revised to close the gap\.

Tasks that cannot be brought into alignment across all three objectives are removed from the benchmark\. This conservative filtering contributes to the benchmark’s relatively small size \(26 tasks\) but ensures that each released task provides a controlled evaluation trajectory\.

### D\.3Failure Annotation Protocol

Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)reports tier\-dependent failure patterns\. To produce these diagnostics, we build one evidence packet for each executed multi\-round fragment whose verifier reward is zero\. We do not classify implicit zeros from unexecuted future rounds \(which result from fail\-stop termination\)\. Each packet contains the model identity, task taxonomy labels, failed round index, change types, current and previous instructions, verifier stdout/stderr, test exit code, cumulative test script excerpts, reference\-solution excerpts, and paths back to the raw Harbor result\. Verifier output is placed first in the annotation prompt so that concrete assertion failures remain visible under context\-length truncation\.

An LLM annotator assigns one primary label, optional secondary labels, a confidence score, and short supporting evidence\. The five reported labels are:

- •*Missed active requirement*: the failed assertions correspond to behavior newly required or still required at the failed round, and the submitted workspace does not implement that behavior\.
- •*Environment/tooling failure*: package installation, build setup, command wiring, generated artifacts, permissions, or runtime invocation prevents the verifier from exercising the intended behavior\.
- •*Regression*: behavior that had become active in an earlier round is broken by a later edit, even though the latest instruction may have been partially implemented\.
- •*Stale superseded behavior*: a conflict round explicitly replaces earlier behavior, but the workspace continues to expose the obsolete behavior\.
- •*Context loss*: the evidence shows that the agent ignored necessary prior task state, files, or corrected semantics; this label is used only when the failure is not better explained as a local missed requirement\.

The prompt requiresunknownwhen logs do not identify a root cause\. Low\-confidence, malformed, timeout, andunknownannotations are retained in a review queue and excluded from aggregate failure\-mode percentages\. The accepted labels are used as evidence\-backed qualitative diagnostics, not as an additional scoring metric\.

#### Human validation\.

All failure annotations from the multi\-turn evaluation were manually reviewed by the authors; every accepted label was confirmed against the verifier output and agent trajectory\. For the single\-round evaluation, we sampled 50 annotated failures uniformly across tiers and failure labels and independently re\-annotated them\. The human labels agreed with the LLM annotations on all 50 cases \(100% agreement\), indicating that the structured evidence packets provide sufficient information for reliable classification\.

Figure[5](https://arxiv.org/html/2605.24110#A4.F5)expands the tier\-level failure diagnostics from Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)into per\-label and per\-change\-type breakdowns\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x3.png)Figure 5:Failure diagnostics expanded from Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)\. \(a\) The primary accepted label for each executed failed round fragment\. \(b\) Regression and stale\-conflict labels by task\-metadata change type, showing why correction and conflict rounds expose different failure surfaces\.

## Appendix EDetailed Case Studies

Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)reports that failure patterns differ by agent tier and that the gap between SR and MT@4 is associated with persistent\-state dependency\. This section presents three case studies using released task artifacts to illustrate these observations concretely\. The examples address three audit questions: what makes a late round depend on earlier rounds, why SR differs from MT on the same instruction, and what information fail\-stop scoring preserves\.

### E\.1Case Study 1: Late\-Round Conflict in a Released 15\-Round Task

#### Task and audit question\.

The released taskdeterministic\-data\-pipeline\-goasks the agent to builddpipe, a deterministic Go CLI for data\-pipeline reproducibility\. Table[3](https://arxiv.org/html/2605.24110#A3.T3)gives an abbreviated round chain\. The main audit question is whether the final rounds are independent feature additions\. They are not: later rounds revise checksum formats, lineage semantics, normalization defaults, snapshot hashes, and transforms while still requiring the earlier deterministic pipeline, validation, profiling, audit, schema, fingerprint, snapshot, and changelog behavior\. Table[4](https://arxiv.org/html/2605.24110#A5.T4)traces the active requirements through selected rounds\.

Table 4:Active requirements indeterministic\-data\-pipeline\-go\. The final round is local in wording but global in verification: the cumulative verifier tests all active requirements, not only the latest addition\.RoundActive requirement added or revisedWhy it still matters later1Deterministic CSV pipeline and schema validationAll later commands operate on the same deterministic data model and must preserve bit\-identical output behavior\.3Boundary fill and z\-score corrections; profiling and driftLater transforms are checked against corrected numerical semantics, not only against newly added commands\.5Replace SHA\-256 sidecars with BLAKE2b\-256 manifest checksums; add lineageLater manifest, reconcile, and audit behavior depends on this checksum migration and on lineage records\.7Correct lineage graph semantics; add temporal transformDirectory scans must not become false input nodes, and later lineage checks inherit this rule\.10Replace manifest fieldblake2bwithchecksumandalgorithm; add reconcileA correct later state must stop emitting the obsolete field while preserving manifest comparability\.12Correct defaultnormalizebehavior; add numeric roundingLater transform tests use the corrected default and identical\-value behavior as part of the accumulated requirements\.15Change snapshot row hashes from MD5 to SHA\-256; add constant\-value tagsThe final verifier checks the new snapshot hash behavior together with the accumulated transforms, lineage, manifest, audit, and changelog behavior\.
#### Why the final round is not a local edit\.

Round 15 asks for a snapshot hash change and a tag transform\. A solution that only edits the latest snapshot routine can still fail if it leaves the round\-10 manifest schema inconsistent, restores obsolete SHA\-256 sidecars from round 5, forgets the round\-7 lineage correction, or regresses the round\-12 normalization rule\. The cumulative verifier operationalizes the claim behind MT@4: an agent must maintain an evolving workspace whose active requirements are distributed across earlier turns\. This cross\-round dependency is what makes persistent multi\-turn evaluation distinct from a sequence of independent coding prompts\.

### E\.2Case Study 2: Why SR Does Not Imply MT Reliability

#### Controlled comparison\.

SR and MT@4 evaluate the same round instructions under different workspace conditions\. In SR, Harbor fast\-forwards the workspace with reference deltas before handing the target round to the evaluated model\. In MT@4, the model receives the next instruction in the workspace it produced itself\. The difference is visible on tasks such asdeterministic\-data\-pipeline\-go: a round\-10 single\-round attempt starts from a reference implementation that already satisfies the BLAKE2b migration and lineage correction, while a multi\-round attempt must carry those prerequisites forward from its own earlier edits\. This controlled comparison isolates the effect of accumulated workspace state on task success\.

#### Concrete failure surface\.

The round\-10 request replaces the manifest fieldblake2bwith the pairchecksumandalgorithm\. In SR, the model can focus on the schema rename and the new reconcile command, because the reference workspace already contains a correct BLAKE2b manifest implementation\. In MT@4, the same edit is entangled with whether the model’s prior implementation already removed SHA\-256 sidecars, whether manifest generation is deterministic, and whether lineage entries remain consistent\. SR measures isolated instruction\-following skill; MT@4 measures whether earlier work remains a usable foundation for later work\.

#### Metric implication\.

This distinction explains why Table[2](https://arxiv.org/html/2605.24110#S4.T2)reports both MT@4 and SR\. A high SR with a much lower MT@4 is not contradictory: it means that the agent can often solve individual rounds from a reference state while losing reliability when later rounds depend on its own accumulated workspace\. Agents with a small SR–MT@4 gap and high SR are those whose persistent workspaces closely approximate reference\-quality states\. This gap is the empirical basis for the claim in Section[4\.2](https://arxiv.org/html/2605.24110#S4.SS2)that persistent execution amplifies the difference across agent tiers\.

### E\.3Case Study 3: What Fail\-Stop Localizes

#### Audit question\.

Fail\-stop scoring is useful only if the failed round provides interpretable evidence\. InEvoCode\-Bench, the failed round is the first round where the agent\-produced workspace no longer satisfies the cumulative verifier\. Annotators then inspect which assertions failed and whether they correspond to newly introduced behavior \(missed active requirement\), still\-active prior behavior \(regression\), or superseded behavior that should have been removed \(stale conflict\)\. Table[5](https://arxiv.org/html/2605.24110#A5.T5)illustrates each label with concrete examples from the data\-pipeline task\.

Table 5:How fail\-stop traces are interpreted during failure annotation\. Each label corresponds to a distinct failure mechanism visible in the verifier output\.Failure labelExample evidence in the data\-pipeline taskRegression introductionA later manifest or snapshot edit breaks deterministic output, schema validation, profiling, or audit behavior that had already been required\.Conflict mishandlingThe workspace keeps an obsolete field such asblake2b, keeps writing removed checksum sidecars, or continues using MD5 row hashes after SHA\-256 becomes the active requirement\.Context lossCorrected details such as defaultnormalizebehavior or lineage graph rules disappear from later edits\.Environment mismanagementThe Go CLI no longer builds, generated artifacts become stale, or command wiring changes in a way that prevents cumulative tests from exercising the tool\.
#### Why the localization matters\.

Continuing after a failure would produce additional observations, but those observations would run on a workspace that is already known to violate active requirements\. The resulting data conflates two questions: whether the agent can solve the next instruction, and whether it can repair accumulated damage\. Fail\-stop instead records the first requirement failure and leaves later\-round ability to SR or reference\-fast\-forward analyses\. This separation is why the paper reports MT@4 for persistent reliability, SR for isolated round skill, Comp for full\-task completion, and round\-kkpass rates for where failures appear along the horizon\. The diagnostic value of each metric depends on the others: MT@4 alone does not reveal whether failures cluster early or late, while round\-kkpass rates alone do not reveal whether failures reflect persistent\-state issues or instruction difficulty\.

## Appendix FEvaluation Infrastructure Details

Section[3\.4](https://arxiv.org/html/2605.24110#S3.SS4)describes the evaluation protocol at a design level\. This appendix provides the infrastructure details: the agent harness, model configuration, Harbor extensions, reproducibility protocol, and alternative scoring designs that were considered but not adopted\.

### F\.1Terminus\-2 Agent Harness

Terminus\-2Harbor Framework Team \([2026b](https://arxiv.org/html/2605.24110#bib.bib41)\)is a lightweight agent harness that connects language models to the evaluation container through a uniform interface\. It provides each model with shell access to the Docker container, supporting file reads and writes, command execution, package installation, and test execution\. At each round, Terminus\-2 delivers the round’s instruction to the model, relays the model’s tool calls to the container, and collects the model’s completion signal\. The harness imposes no constraints on the model’s task\-solving strategy: it may read code, run tests, install dependencies, or execute arbitrary shell commands\. All models receive the same system prompt and tool definitions, reducing harness configuration as a source of variation\.

#### Interaction and token accounting\.

Avg\. Turnsestimates main\-agent Terminus\-2 episodes per full multi\-round agent\-task evaluation\. For each recorded trajectory, the summarizer sumsagent\_result\.metadata\.n\_episodesover fragments, divides by the number of covered rounds, and multiplies by the task’s total number of rounds; complete executions use the observed episode count directly\. Ifn\_episodesis absent, the summarizer falls back to the number of recorded request\-time entries\.Output Tok\. \(K\)is computed by summingagent\_result\.n\_output\_tokensover recorded fragments, averaging trajectory totals, and dividing by 1000\. Terminus\-2 obtains token usage from LiteLLM response metadata\. Chat\-completion calls provide prompt and completion token counts; Responses API calls provide input and output token counts\. Harbor accumulates input tokens, output tokens, cache\-hit input tokens, and cost over the agent run\. The paper reports output tokens only\. This value is provider\-reported generated\-token usage rather than a tokenizer pass over saved transcripts; hidden reasoning tokens are included only when the provider includes them in the reported completion tokens\. Harbor does not separately add provider\-specific reasoning\-token detail fields ton\_output\_tokens\.

### F\.2Model Configuration

All 13 models are accessed through API\-compatible endpoints configured in the evaluation model configuration file\. No model receives a custom task prompt beyond the standard Terminus\-2 harness prompt, and no model\-specific prompt engineering is applied\. The main text, tables, and figures use compact labels to fit dense results; Table[6](https://arxiv.org/html/2605.24110#A6.T6)gives the full evaluated names and endpoint identifiers\.

Table 6:Mapping from compact labels used in the paper to the full evaluated model configurations\. All models use the same Terminus\-2 harness and Harbor evaluation protocol\.Paper labelFull evaluated nameEndpoint model stringEvaluation settingOpus\-4\.7Claude\-Opus\-4\.7\-Highopenai/claude\-opus\-4\-7high reasoning effortGPT\-5\.5GPT\-5\.5\-Highopenai/gpt\-5\.5high reasoning effortOpus\-4\.6Claude\-Opus\-4\.6openai/claude\-opus\-4\-6default configured reasoningGLM\-5\.1GLM\-5\.1openai/z\-ai/glm\-5\.1thinking enabledKimi\-K2\.6Kimi\-K2\.6openai/moonshotai/kimi\-k2\.6thinking enabledDS\-V4\-ProDeepSeek\-V4\-Proopenai/deepseek/deepseek\-v4\-prohigh reasoning effortQwen3\.6\-PlusQwen3\.6\-Plusopenai/qwen/qwen3\.6\-plusthinking enabledMiMo\-V2\.5Xiaomi\-MiMo\-V2\.5\-Proopenrouter/xiaomi/mimo\-v2\.5\-prohigh reasoning effortGemini\-3\.1Gemini\-3\.1\-Pro\-Previewopenai/gemini\-3\.1\-pro\-previewhigh reasoning effortDS\-V4\-FlashDeepSeek\-V4\-Flashopenai/deepseek/deepseek\-v4\-flashhigh reasoning effortQwen3\.5\-397BQwen3\.5\-397B\-A17Bopenai/qwen3\.5\-397b\-a17bthinking enabledMiniMax\-M2\.7MiniMax\-M2\.7openai/minimax/minimax\-m2\.7reasoning split enabledDoubao\-2\.0Doubao\-Seed\-2\.0\-Proopenai/doubao\-seed\-2\.0\-prohigh reasoning effort
### F\.3Harbor Multi\-Turn Extensions

The Harbor frameworkHarbor Framework Team \([2026a](https://arxiv.org/html/2605.24110#bib.bib40)\)was originally designed around a single instruction, a single agent execution, and a single verification step\.EvoCode\-Benchrequires different execution semantics: the same workspace and agent session must persist across rounds, while the verifier changes at each round and continues to check all still\-valid requirements\. We extend Harbor at the level of task semantics and trial state\. The extensions are summarized below; each addresses one aspect of the persistent multi\-turn protocol\.

#### Round as the unit of instruction and verification\.

A multi\-round task declaresnum\_roundsand one metadata record per round\. Each round has its own instruction, reference delta, test script, and change\-type labels\. Harbor validates that the declared rounds are contiguous and that every round contains the required files\. This keeps the task format explicit: there is no hidden convention that infers rounds from file names alone\.

#### Persistent execution with explicit round boundaries\.

The agent works in one Docker container and one agent session across the whole task\. At each boundary, Harbor delivers the next instruction, waits for the agent to finish, replaces the verifier payload with that round’s cumulative tests, records the binary reward, and then either advances or stops\. The agent receives a sequence of user requests; the evaluation system owns the round boundary, verifier swap, reward recording, and fail\-stop decision\.

#### Cumulative tests and fail\-stop aggregation\.

Harbor runs the cumulative verifier for roundiifromround\_i/tests/, checking all requirements from rounds 1 throughiithat remain active\. The trial result stores both per\-round rewards and the aggregate window used for scoring\. Missing rewards inside the scoring window count as zero, which gives the fail\-stop scoreS=1N​∑iriS=\\frac\{1\}\{N\}\\sum\_\{i\}r\_\{i\}while preserving the detailed round log for analysis\.

#### Reference fast\-forward for controlled comparisons\.

Some analyses require testing a target round from a known\-correct state\. Harbor supports this by applying the reference deltas for rounds before the target round, then handing the workspace to the evaluated agent\. This protocol is used for single\-round evaluation \(SR\)\. It is not used for the main multi\-turn score, because the main score must depend on the agent’s own earlier work\.

#### Resume and state lineage\.

Long multi\-round evaluations need recovery from infrastructure interruption without changing the evaluation semantics\. Harbor records round\-boundary state snapshots, agent\-session snapshots, per\-round verifier outputs, and lineage metadata linking a resumed trial to its source trial and completed round\. Resume is constrained by agent identity and task checksum checks, so a resumed run is a continuation of a documented prior state rather than a new evaluation condition\.

#### Separation of execution and scoring windows\.

The execution window determines which rounds are actually run\. The scoring window determines which round rewards contribute to the aggregate score\. Keeping these windows separate supports late\-round debugging, round\-isolated evaluation, and ablation studies while leaving the main benchmark definition fixed\.

### F\.4Reproducibility Protocol

Each evaluation run produces a structured output directory that records all information needed to reproduce and audit the result:

```
trial/
  config.json         # Complete run configuration
  round_1/
    reward.json       # Binary reward and verification log
    state/checkpoint/ # Optional container checkpoint
    trajectory.jsonl  # Agent actions and observations
  round_2/
    ...
  round_N/
    ...
  aggregate.json      # Composite score and scoring window
```

Theconfig\.jsonrecords the model identifier, agent harness version, Docker image hash, random seeds, and all evaluation parameters\. Theaggregate\.jsonrecords the scoring window boundaries and the composite score formula, so any reported result can be reproduced exactly\. Thetrajectory\.jsonlfiles contain the full sequence of agent actions, tool calls, and observations, supporting post\-hoc analysis of agent behavior at any round\.

### F\.5Scoring Alternatives

Section[3\.1](https://arxiv.org/html/2605.24110#S3.SS1)describes fail\-stop scoring as the primary mechanism and explains why it is appropriate for evaluating persistent multi\-turn reliability\. Two alternative designs were considered during benchmark development; we describe them here along with the reasoning behind their rejection\.

#### Continue\-after\-failure\.

Under this design, the agent continues to receive instructions after a failed round\. This approach would yield more data points per task but introduces a confound: later rounds execute on a workspace that already violates active requirements, so their results reflect the interaction between the current instruction and the accumulated damage from prior failures rather than the agent’s ability on that instruction in isolation\. In multi\-turn coding, a broken build, a corrupted schema, or a missing dependency can cascade through later rounds in ways that obscure the failure’s root cause\. We considered this approach unsuitable for diagnostic evaluation, though it may be useful for studying recovery capabilities in future work\.

#### Reference fast\-forward\.

When the agent fails roundkk, the evaluation framework applies the reference solution for roundkk, restoring the workspace to a known\-good state before proceeding to roundk\+1k\+1\. This approach isolates each round’s difficulty but removes the defining property of multi\-turn evaluation: the dependence of later rounds on the agent’s own prior work\. It also inflates scores by giving the agent a foundation it did not build\. We use reference fast\-forward only for the SR metric, not for the primary MT@4 score\.

The fail\-stop model is a conservative choice that may underestimate agents capable of recovering from errors\. However, it provides a clear diagnostic signal: the first failed round is the first point where the accumulated workspace no longer satisfies the cumulative verifier\. The round\-kkpass rate curves reported in Section[4\.2](https://arxiv.org/html/2605.24110#S4.SS2)complement the aggregate MT@4 score by revealing the shape of performance degradation, and the SR metric provides a complementary view of isolated round difficulty\.

## Appendix GSupplementary Results and Diagnostics

Section[4\.2](https://arxiv.org/html/2605.24110#S4.SS2)reports aggregate results across all 13 agents, and Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)presents fine\-grained failure diagnostics\. This appendix provides supplementary breakdowns that support and extend those findings\. The released evaluation package includes the full per\-task, per\-round, and per\-category data in machine\-readable JSON and CSV formats\.

### G\.1Per\-Task Scores

Table[2](https://arxiv.org/html/2605.24110#S4.T2)in the main text reports aggregate MT@4, SR, and Comp across all 26 tasks\. The released evaluation package provides the corresponding per\-task breakdowns: for each agent\-task pair, the package includes the per\-attempt round\-level rewards, the MT@4 score, the single\-round pass rates, agent\-interaction turns, and output\-token usage\. These per\-task scores reveal substantial variance across tasks even for the strongest agents\. For example, Opus\-4\.7 achieves MT@4 above 80 on several short construction tasks while scoring below 30 on long migration tasks, consistent with the finding in Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)that task characteristics modulate difficulty beyond aggregate averages\.

### G\.2Per\-Round Pass Rates

Section[4\.2](https://arxiv.org/html/2605.24110#S4.SS2)reports that round\-level MT@4 pass rates decline sharply within the first few rounds\. Table[7](https://arxiv.org/html/2605.24110#A7.T7)provides the full round\-by\-round breakdown\. Pass rates drop from 46\.7% at round 1 \(all 26 tasks active\) to 36\.4% at round 2, 26\.9% at round 3, 22\.8% at round 4, and 21\.3% at round 5\. The decline continues more gradually through rounds 6–9 \(18\.8%, 17\.2%, 15\.8%, 17\.3%\)\. Rounds 10–15 involve progressively fewer tasks \(5 tasks reach round 10, 2 tasks reach round 15\), so pass rates at these horizons have higher variance and should be interpreted with caution\. The fluctuations at rounds 14–15 \(11\.5%\) reflect the small number of tasks rather than a genuine recovery\.

Table 7:Round\-level MT@4 pass rates averaged across all 13 agents\. The number of active tasks decreases at longer horizons because tasks have different lengths \(5–15 rounds\)\.RoundMean pass rate \(%\)Active tasks146\.726236\.426326\.926422\.826521\.326618\.825717\.225815\.817917\.312107\.75117\.75129\.64139\.621411\.521511\.52
### G\.3Cost and Horizon Diagnostics

Section[4\.2](https://arxiv.org/html/2605.24110#S4.SS2)notes that performance degrades across rounds and that task length is associated with lower MT@4 scores\. Figure[6](https://arxiv.org/html/2605.24110#A7.F6)provides two diagnostic plots\. Panel \(a\) shows that average interaction turns \(a proxy for computational cost\) are not monotonically associated with MT@4: some low\-scoring agents produce many interaction turns without improving outcomes, while some high\-scoring agents are relatively efficient\. Panel \(b\) shows that mean MT@4 decreases across task\-length buckets, from shorter tasks to longer ones, consistent with accumulated workspace inconsistency contributing to the decline, though task content also co\-varies with length\. However, because shorter and longer tasks differ in content as well as length, this association should be interpreted as diagnostic rather than causal\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x4.png)Figure 6:Auxiliary diagnostics for multi\-round evaluation\. \(a\) Average interaction turns are not monotonic with MT@4, indicating that more interaction turns do not by themselves explain persistent reliability\. \(b\) Mean MT@4 decreases across longer task\-horizon buckets\.
### G\.4Scores by Technology Domain

EvoCode\-Benchspans six broad technology domains: ML and MLOps \(9 tasks\), data engineering \(4 tasks\), systems and code \(3 tasks\), scientific computing \(3 tasks\), testing and automation \(4 tasks\), and infrastructure and security \(3 tasks\)\. Domain labels are recorded intask\.tomland are visualized in Figure[2](https://arxiv.org/html/2605.24110#S3.F2)\. We intentionally treat domain labels as secondary to the two\-dimensional taxonomy \(Section[3\.1](https://arxiv.org/html/2605.24110#S3.SS1)\), because technical domain and multi\-turn behavior are not the same property: an MLOps task can be construction\-oriented, review\-driven, or migration\-oriented depending on the requirement chain\. Domain coverage instead supports external validity by ensuring that the benchmark exercises a range of programming languages, frameworks, and system types rather than concentrating on a single technology stack\.

### G\.5Scores by Change Type Composition

Section[3\.3](https://arxiv.org/html/2605.24110#S3.SS3)reports that 110 distinct rounds carry at least one correction or conflict annotation\. The failure annotation data \(Appendix[D\.3](https://arxiv.org/html/2605.24110#A4.SS3)\) reveals how failure patterns vary across change types\. On extension rounds, the dominant failure mode is missed active requirement \(90\.1% of annotated failures\), with environment/tooling failures accounting for 6\.5% and regression for 2\.4%\. On correction rounds, missed active requirement remains dominant \(84\.8%\) but regression rises to 11\.2%, consistent with the difficulty of updating previously working behavior\. On conflict rounds, the failure distribution is most diverse: missed active requirement drops to 72\.3%, conflict mishandling \(stale superseded behavior\) rises to 14\.9%, and both environment/tooling and regression contribute 6\.4% each\. This pattern supports the interpretation in Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)that conflict rounds expose a qualitatively different failure surface from extension rounds\.

### G\.6Scores by Initial Workspace State

Tasks inEvoCode\-Benchbegin from three workspace conditions: empty or lightly scaffolded projects \(construction and specification\-evolution tasks\), documentation\-driven projects with persistent specification files \(document\-driven tasks\), and existing legacy codebases requiring adaptation \(migration tasks\)\. The initial workspace state is part of the task design record intask\.toml\. Migration tasks are generally associated with lower MT@4 scores, consistent with the finding that adapting an existing codebase while preserving backward compatibility is more challenging than building from scratch\. However, because initial workspace state co\-varies with engineering activity and task content, we treat this observation as a task\-design characteristic rather than an independent experimental variable\.

### G\.7Impact of AGENTS\.md

Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)reports that document\-driven tasks average 50\.1 MT@4 across agents, roughly 2\.4×\\timesthe mean of explorative and contractual tasks\. Four of the 26 tasks useAGENTS\.mdor equivalent specification files to encode persistent quality constraints\. In these tasks, the instruction may only state that the specification has been updated, and the verifier checks whether the implementation is synchronized to the current document state\. The elevated MT@4 on document\-driven tasks may reflect the availability of a persistent, readable reference rather than an inherently easier task structure; however, the sample size \(4 tasks, 31 rounds\) is too small to draw causal conclusions\. Expanding the benchmark with additional document\-driven tasks across different engineering activities would help determine whether the document\-driven advantage generalizes\.

### G\.8Per\-Round SR vs\. MT@4 Comparison

Figure[4](https://arxiv.org/html/2605.24110#S4.F4)\(main text\) compares single\-round pass rates \(SR, single attempt from a reference\-fast\-forwarded workspace\) against multi\-round MT@4 \(best of four persistent\-execution attempts\) at each round index\. SR rates remain stable between 52% and 57% for rounds 3–8, indicating that isolated round difficulty does not increase much with round index\. In contrast, MT@4 rates decline monotonically from 46\.7% at round 1 to 7\.7% at round 10\. At round 1, MT@4 exceeds SR because MT@4 selects the best of four independent attempts \(pass@4 effect\) while SR uses a single attempt; this ordering reverses from round 2 onward as persistent\-state degradation outweighs the retry advantage\. Appendix[G\.3](https://arxiv.org/html/2605.24110#A7.SS3)provides supporting task\-length diagnostics\.

### G\.9Cross\-Attempt Variance and Reliability

Figure[7](https://arxiv.org/html/2605.24110#A7.F7)decomposes multi\-attempt performance into aptitude \(at least one of four attempts passes\) and full consistency \(all four attempts pass\)\. The reliability ratio \(full consistency divided by aptitude\) drops from 67% at round 1 to 20% at round 5, indicating that cross\-attempt consistency declines at deeper rounds\. At round 1, 31\.4% of \(agent, task\) pairs pass all four attempts; by round 3, only 7\.7% do, even though 26\.9% still pass at least once\. This decomposition parallels the aptitude\-vs\-unreliability framework ofBsharatet al\.\([2025](https://arxiv.org/html/2605.24110#bib.bib44)\)and shows that the reliability gap appears across all evaluated models: per\-model breakdowns reveal that even the strongest agents exhibit declining reliability ratios at deeper rounds\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x5.png)Figure 7:Cross\-attempt variance decomposition\. \(a\) Per\-model aptitude \(any attempt passes\) versus full consistency \(all attempts pass\) and mean pass fraction\. \(b\) Per\-round decomposition showing aptitude, mean pass rate, and full consistency; the shaded region between aptitude and full consistency is the reliability gap\.
### G\.10Failure Mode Progression by Round

Figure[8](https://arxiv.org/html/2605.24110#A7.F8)shows how the distribution of annotated failure modes changes across rounds for each agent tier\. Top\-tier agents exhibit a regression peak at round 2 \(35% of 17 failures\), coinciding with the first correction rounds that interact with initial implementations; at later rounds, missed\-requirement failures dominate as the number of top\-tier failures decreases\. Mid\-tier agents show conflict\-mishandling failures emerging at round 5 \(23% of 22 failures\), absent from rounds 1–4, coinciding with the first rounds where superseded requirements accumulate\. Lower\-tier agents fail predominantly through missed requirements at every round \(\>85%\), with regression appearing only sporadically \(7–29% at rounds 2–6 on very small sample sizes\)\. The count annotations atop each bar show that most failures concentrate at rounds 1–3 across all tiers\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x6.png)Figure 8:Failure mode distribution by round index for each agent tier\. Bar heights show the percentage breakdown of annotated failure modes; numbers above bars indicate the failure count at that round\. Regression and conflict\-mishandling failures are more visible at intermediate rounds for top\-tier and mid\-tier agents, while lower\-tier agents are dominated by missed\-requirement failures throughout\.
### G\.11Per\-Round Workspace State Penalty

Section[4\.2](https://arxiv.org/html/2605.24110#S4.SS2)reports that SR remains stable while MT@4 declines across rounds, with the gap reaching 41 points by round 8\. This appendix quantifies the workspace state penalty at the level of individual rounds\. SR and MT@4 evaluate the same target instructions with the same model and cumulative verifier, but differ in workspace origin and evaluation context: SR starts from a reference\-completed state, whereas MT@4 depends on the agent\-produced state accumulated across prior rounds\. The comparison is controlled for target instruction and verifier, and it provides evidence that accumulated workspace state contributes to the multi\-turn decline\.

Across all models and execution records, 57\.0% of individual rounds that fail under MT@4 are solvable under SR from a reference\-completed state \(n=21,234n\{=\}21\{,\}234MT\-failing rounds total, of which12,11112\{,\}111pass under SR\)\. The penalty grows with round depth: only 15\.0% of round\-1 MT failures are SR\-solvable \(n=886n\{=\}886\), rising to 55\.6% at round 3 \(n=1,957n\{=\}1\{,\}957\), 59\.0% at round 7 \(n=2,931n\{=\}2\{,\}931\), and above 80% beyond round 12 \(n≤584n\\leq 584\)\. Figure[9](https://arxiv.org/html/2605.24110#A7.F9)visualizes this progression\.

The penalty also varies by change type\. Correction rounds show the highest fraction of SR\-solvable MT failures \(73\.5%,n=3,100n\{=\}3\{,\}100\), followed by conflict \(67\.1%,n=1,893n\{=\}1\{,\}893\) and extension \(59\.4%,n=8,317n\{=\}8\{,\}317\)\. This ordering is consistent with the interpretation that requirement revision is particularly sensitive to workspace quality: correction and conflict rounds demand that the agent update previously implemented behavior, which is more likely to fail when the prior workspace already deviates from a reference\-quality state\. The extension–correction–conflict ordering should be interpreted with caution because change types are not randomly assigned to rounds and co\-vary with round position and task content\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x7.png)Figure 9:Workspace state penalty\. \(a\) Percentage of MT\-failing rounds that are solvable under SR, by round index\. The penalty grows with depth: at later rounds, most failures involve target instructions that can be solved from a reference\-completed state\. Numbers above bars indicate the count of MT\-failing rounds at that index\. \(b\) The same metric grouped by change type; correction and conflict rounds show higher SR\-solvability than extension rounds\.
### G\.12First\-Failure\-Round Distribution

Section[4\.2](https://arxiv.org/html/2605.24110#S4.SS2)reports that lower\-tier agents fail earlier than top\-tier agents\. This subsection presents the full distribution\. For each trial, we record the round index at which the first failure occurs and normalize by the task’s total number of rounds to produce a position in\[0,1\]\[0,1\]\. Trials that pass all rounds are excluded\.

Among lower\-tier agents, 57\.4% of trial failures occur in the first 20% of rounds \(n=827n\{=\}827failing trials\), consistent with basic requirement\-satisfaction deficits\. Mid\-tier agents show 29\.4% of failures in the first 20% \(n=1,522n\{=\}1\{,\}522\), with a more uniform distribution across positions\. Top\-tier agents fail earliest in only 14\.4% of cases \(n=993n\{=\}993\), with failures spread more evenly and 19\.1% occurring in the final 20% of rounds, reflecting the late\-emerging regression and conflict\-handling failures described in Section[4\.3](https://arxiv.org/html/2605.24110#S4.SS3)\.

### G\.13Token Consumption and Evaluation Cost

#### Evaluation cost\.

The full multi\-round evaluation logged 3,657 execution records for 13 agents on 26 tasks and consumed approximately 24\.1 billion input tokens and 333 million output tokens, or 24\.4 billion total reported tokens\. These records include resumed or fragmented Harbor executions rather than only the 13×\\times26×\\times4 top\-level agent\-task attempts\. This total does not include single\-round evaluation runs\.

#### Within\-round token consumption: passing vs\. failing trials\.

To investigate whether failing trials exhibit different resource\-use patterns, we compare agent output tokens of passing and failing trials at the same round index \(controlling for the confound that later rounds naturally accumulate longer contexts\)\. Across rounds 1–9, where both pass and fail samples are sufficient, failing trials produce 1\.1–3\.1×\\timesas many output tokens as passing trials at the same round \(Figure[10](https://arxiv.org/html/2605.24110#A7.F10)\)\. The ratio is lowest at round 1 \(1\.1×\\times;npass=2,760n\_\{\\text\{pass\}\}\{=\}2\{,\}760,nfail=723n\_\{\\text\{fail\}\}\{=\}723\) and highest at round 6 \(3\.1×\\times;npass=699n\_\{\\text\{pass\}\}\{=\}699,nfail=54n\_\{\\text\{fail\}\}\{=\}54\)\. We emphasize that the causal direction of this association is ambiguous: more difficult workspace states may simultaneously cause both failure and increased agent effort, and the pattern should be interpreted as a diagnostic observation rather than evidence that higher token production causes failure\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x8.png)Figure 10:Output tokens per round for passing vs\. failing trials \(controlled for round index\)\. Failing trials consistently produce more output tokens at the same round position\. Numbers above fail bars indicate the fail\-to\-pass token ratio\. Sample sizes decrease at later rounds due to fail\-stop termination\.

### G\.14Change\-Type Effect Controlling for Round Position

Figure[11](https://arxiv.org/html/2605.24110#A7.F11)controls for round position by grouping rounds into early \(1–3\), middle \(4–6\), and late \(7\+\) buckets, and comparing MT@4 pass rates across change types within each bucket\. In early rounds, extension rounds show notably higher pass rates than correction or conflict rounds \(43\.2% vs\. 31\.9% vs\. 25\.0%\)\. In middle rounds, the three change types converge \(23\.9% vs\. 24\.3% vs\. 24\.5%\), and in late rounds extension again leads modestly \(17\.2% vs\. 14\.9% vs\. 15\.4%\)\. The early\-round difference is the strongest and cleanest signal, because round position is least confounded there\. Mean pass fractions \(panel b\) show greater separation in the same direction for early rounds\. These results support the interpretation that requirement revision \(correction and conflict\) imposes additional difficulty in early rounds, where the confound of round position is minimal\.

![Refer to caption](https://arxiv.org/html/2605.24110v1/x9.png)Figure 11:Change\-type effect on pass rates, controlling for round position\. \(a\) MT@4 pass rate by change type and round bucket\. \(b\) Mean pass fraction \(across four attempts\) by change type and round bucket\. Extension rounds show higher pass rates than correction and conflict rounds in the early bucket, where the signal is strongest; differences diminish in the middle and late buckets\.

## Appendix HResponsible Release and Impact

#### Broader impact\.

EvoCode\-Benchis intended to improve the measurement of coding agents under realistic iterative development conditions\. The primary positive impact is more transparent evaluation: persistent workspaces, cumulative tests, and fail\-stop scoring can reveal regression and specification\-tracking failures that are hidden by single\-turn benchmarks\. This may help researchers and practitioners deploy coding agents with more realistic expectations about long\-horizon reliability\.

The main negative impact is that higher\-scoring coding agents can also be used to automate harmful software development\. The benchmark does not include tasks for malware, credential theft, exploit development, or evasion, and released tasks focus on benign engineering workflows such as data processing, testing, migration, reporting, and configuration management\. We nevertheless recommend treating benchmark improvements as capability measurements rather than deployment guarantees\.

#### Assets and licensing\.

The released package includes task definitions \(instructions, reference solutions, cumulative tests, and Docker environments\), evaluation scripts, the Harbor multi\-turn extensions, and machine\-readable result summaries for all 13 evaluated models\. The task format is documented in Appendix[B](https://arxiv.org/html/2605.24110#A2), the Harbor evaluation protocol in Appendix[F](https://arxiv.org/html/2605.24110#A6), and the model configuration in Appendix[F\.2](https://arxiv.org/html/2605.24110#A6.SS2)\. Existing infrastructure assets \(HarborHarbor Framework Team \([2026a](https://arxiv.org/html/2605.24110#bib.bib40)\)and the Terminus\-2 harnessHarbor Framework Team \([2026b](https://arxiv.org/html/2605.24110#bib.bib41)\)\) are credited in the paper\. The dataset release is marked CC\-BY\-NC 4\.0, code and task packages include their corresponding license files, and users of closed\-model APIs remain responsible for complying with the corresponding provider terms\.

Similar Articles

@_philschmid: https://x.com/_philschmid/status/2081744861829414977

X AI KOLs Timeline

EvoCode-Bench is a multi-turn coding benchmark with 26 tasks across 5 domains, designed to evaluate AI agents on evolving specifications and cumulative testing in a persistent workspace, revealing that single-turn scores dramatically overstate reliability.

ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders

Hugging Face Daily Papers

Introduces ICAE-Bench, a benchmark for evaluating coding agents in interactive project-building settings, simulating fuzzy product requirements with an automated User Agent and incorporating standardized black-box tests and multi-dimensional diagnostics.

SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions

Hugging Face Daily Papers

SWE-Interact is a new testbed that evaluates coding agents in realistic multi-turn, user-driven software engineering tasks, revealing that strong single-turn benchmark performance does not reliably transfer to interactive, iterative workflows where agents must discover user intent and adapt to evolving requirements.

SWE-Touch: Benchmarking Coding Agents When Users Touch the Code

Hugging Face Daily Papers

Introduces SWE-Touch, a benchmark framework that injects conflicting user edits during agent coding trajectories, showing that current coding agents significantly degrade in collaborative settings despite strong standalone benchmark performance.

Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?

Hugging Face Daily Papers

This paper audits three performance-optimization benchmarks (GSO, SWE-Perf, SWE-efficiency) for coding agents, finding that runtime instability, scoring rules, and task coverage significantly affect reliability, and that many tasks are already solved by at least one public submission.