arXiv:2610.30047cs.SEOct 2026

Manuscript Offprint

arXiv:2610.30047

SWE-DIVE: Multi-Turn Coding Agent Evaluation with Dynamic User Simulation

Lorenz Brehme, Benjamin Steenhoek, Ruth Breu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Coding agents are typically evaluated using one-shot, well-formulated prompts. Benchmarks such as SWE-bench use existing GitHub issues as input for a coding agent and evaluate whether the agent successfully solves the task. However, in real-world use cases, prompts are often not as well-formulated or structured as existing GitHub issues. Additionally, a coding agent session is not limited to a single prompt; it typically involves a multi-turn interaction in which the user iteratively adds new tasks and requirements that the agent must fulfill.

To benchmark these abilities, we developed SWE-DIVE, a dynamic, interactive validation and evaluation framework for benchmarking coding agents in a multi-turn environment. To achieve this, we introduce a user simulator that can simulate different behavioral patterns and communicate with the coding agent. We also introduce a conversation validator that evaluates the user simulator's outputs to determine whether they fulfill the initial requirements and guide the agent toward successfully solving the task. The entire framework is embedded in a Harbor environment, which orchestrates the coding agent, user simulator, and conversation validator, and executes the test environment to determine whether the agent successfully solves the task. Our results and source code are available in our GitHub repository (https://github.com/lorenzbrehme/swe-dive_usersim).

1 Introduction

Agents are typically evaluated on benchmarks collected from GitHub issues or crafted for a certain task, like SWE-bench (Jimenez et al., 2024). However, the input format of a complete, detailed github issue is not how users normally interact with agents – users often give a high-level prompt that is lacking detail and iterate on the prototype until it's complete (Baumann et al., 2026). In other words, agent prompting is a process of iteratively defining the problem rather than a one-shot attempt.

Baumann et al. (2026) investigated the behavior of humans using a coding agent and found that the agent is used in multi-turn interactions, where different roles emerge, such as the expert nitpicker or the ambiguous programmer. These multi-turn behaviors are already studied in benchmarks such as CodeFlowBench (Wang et al., 2026) and CodeGen (Nijkamp et al., 2023), which evaluate coding

Accepted at the NeurIPS 2026 workshop “Grounded User Simulation for Model Evaluation and Training: Diversity, Fidelity, and Validity” (non-archival).

Preprint.

agents in multi-turn settings. In these benchmarks, tasks typically involve iteratively adding new features, requiring the agent to continually adapt and find solutions. Additionally, AmbigSWE-bench explores the ambiguous behavior of users by providing ambiguous instructions and allowing the agent to ask clarification questions in order to resolve this ambiguity (Vijayvargiya et al., 2025). These multi-turn benchmarks follow a predefined process and do not adapt depending on what the agents ask. Baumann et al. (2026) demonstrates that 41% of the turns were pushbacks, indicating that the agent did not perform as the user expected and that clarification was needed. In addition, Vijayvargiya et al. (2025) shows that the agent is still prompted with the full task list, whereas a more realistic setup involves users providing very nitpicky and vague instructions, iteratively adding new tasks in a multi-turn conversation.

To overcome these challenges, we introduce a dynamic interactive validation and evaluation benchmark, SWE-DIVE, that builds upon the DIVE methodology, originally proposed for evaluating retrieval-augmented generation systems (Brehme et al., 2026). SWE-DIVE transforms existing software engineering benchmarks, such as SWE-bench, into dynamic, interactive evaluation environments. It splits the original tasks into incremental sub-tasks and uses an LLM to simulate the user's discovery process.