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

Lorenz Brehme, Benjamin Steenhoek, Ruth Breu
10/21/2026
cs.SEcs.AI

Official code: lorenzbrehme/swe-dive_usersim (0 stars, last commit 2026-10-21).

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).

View on arXivView PDF

Code Implementations(1)

00Python, TypeScriptOct 21, 20263 days ago

Similar Papers

Cite this paper

@article{brehme2026swedive,
  title  = {SWE-DIVE: Multi-Turn Coding Agent Evaluation with Dynamic User Simulation},
  author = {Lorenz Brehme and Benjamin Steenhoek and Ruth Breu},
  year   = {2026},
  eprint = {2610.30047},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.30047v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.30047.svg)](https://codeofpaper.com/paper/2610.30047)

Discussion