arXiv:2610.29822cs.AIOct 2026

Manuscript Offprint

arXiv:2610.29822

UserSWE: Evaluating Coding Agents in Multi-Turn Conversations with Dynamic Users

Zhan-Yu Wu, Ji Luo, Alyssa Wu, Junjielong Xu, Richeng Xuan, Zhichao Hu, Chongming Gao, Xinting Hu

Abstract

As coding agents become more capable, developers increasingly use them to fix bugs through multi-turn interactions. Existing benchmarks do not adequately cover this scenario. Most present a complete issue report in a single turn without interaction. Their evaluation can produce both false positives and false negatives, accepting incorrect patches or rejecting correct ones. We introduce UserSWE for evaluating coding agents' ability to fix repository-level bugs through multi-turn interactions with dynamic users and execution-grounded verdicts at every turn. Its construction pipeline turns repository history and existing single-turn benchmarks into multi-turn tasks. At each turn, information pools constrain what the simulated user can reveal, while a persona chain sampled from a transition model calibrated on 20,859 development sessions governs how it speaks. Tests run after every turn, and a pair of agents from different model families writes and gates each verdict, using test results as primary evidence and model judgment only for aspects the tests cannot resolve. We evaluate eleven agents on 72 tasks from 42 repositories and find that agent rankings change with the interaction budget. Claude Fable 5.1 resolves the most tasks in one turn, GPT-6-Astra resolves the most by the eighth turn, and Claude Opus 5 leads at most intermediate budgets. These results indicate that single-turn performance is insufficient to characterize interactive coding ability.

1 Introduction

Figure

Figure 1: Existing multi-turn benchmarks keep the simulated user in one persona, while in the real development sessions we measure a developer's style shifts from turn to turn. On the same date-off-by-one bug, the static simulator phrases every turn as precise guidance, while the UserSWE simulator opens on a vague complaint, guesses a wrong cause, and reaches guidance only at the third turn.

AI programming assistants are deployed at scale and used daily by developers (Liang et al., 2024). Their form has evolved from autocompletion to context-grounded conversation, and then to agents that

∗^{*}Equal contribution. †^{\dagger}Correspondence to qsenre@gmail.com, cheeseluo@tencent.com.

navigate repositories, edit files, and run tests on their own — a practice popularly called vibe coding (Ross et al., 2023; Yang et al., 2024; Sarkar & Drosos, 2025). Developers pose follow-up questions and refine their requests in response to intermediate model outputs (Barke et al., 2023; Ross et al., 2023), where initial requests are often incomplete and gradually clarified across turns. Studies of agents in real-world settings further confirm this same iterative pattern holds across entire tasks (Siddeeq et al., 2026; Baumann et al., 2026). As a representative scenario, debugging with an agent has now become a standard conversational workflow for developers.

However, prevailing benchmarks do not measure how well an agent works in this scenario for two main reasons. One is that most use a single-turn setup, handing the agent everything at once and asking for a correct patch in return, so the agent is never put in the conversation where the work actually happens. The few that do run several turns stay static, releasing the information in a written order or phrasing every turn in one fixed conversational style, which leaves the agent talking to an unresponsive mechanism and not to a simulation of a developer. Figure 1 sets a static user beside a dynamic one on the same task. The other concerns multi-turn judging, where every intermediate turn calls for independent assessment, but standard tests can only provide factual execution evidence, and unrestricted LLM judges are prone to making inferences beyond what results actually demonstrate. For both reasons, a benchmark that measures coding agents' abilities in conversation is still missing.

To address this, we propose UserSWE, which settles where the tasks come from, where the turns come from, and how each turn is judged. The first is a construction pipeline that produces multi-turn tasks along two routes. One route mines a repository's own history for paired issues that a maintainer publicly recorded as linked. The other takes an instance of an existing single-turn benchmark and stages it as a conversation. As we continue running the pipeline along these two routes, it consistently generates new and up-to-date tasks. The second is a method for simulating the user across the turns of a conversation. We calculate a persona transition matrix on 20,859 real development sessions from an internally deployed commercial coding assistant, and we write each turn's utterance from that matrix together with the information pools of the task, so the persona an agent meets becomes dynamic as the session goes on. For each task we draw the whole chain in advance, which ensures any agent on the same task meets the same user. The third is an evaluation framework, which enables the coding agent to operate under constraints, with dual agents judging its generated outputs based on evidence. The framework sets rules that prevent coding agents from receiving credit beyond their demonstrated ability. Based on tests run after every turn, a Judge from one family writes the verdict, and a Reviewer from another family clears it before it counts. We select 72 tasks from the pipeline as UserSWE and evaluate agents on it.

The evaluation on UserSWE reveals behavior that a single-turn evaluation cannot show. Claude Fable 5.1 resolves the most tasks within a single turn, 31.9%, and still finishes second on the length-discounted pass rate, behind Claude Opus 5, which reaches a similar place in fewer turns, 2.99 against 3.14. GPT-6-Astra resolves the most tasks of any agent by the eighth turn, 81.9%, and places fourth once the turns it spends getting there are discounted.

In this paper, we make the following contributions. (1) A construction pipeline. It builds multi-turn tasks from repository evidence and existing single-turn benchmarks. (2) A multi-turn user simulation. We introduce a user simulator with dynamic personas grounded in real development conversations. (3) An evaluation framework. We propose a dual-agent judging evaluation framework complemented by a suite of supporting mechanisms, such as equivalent pass testing. UserSWE will be released along with the evaluation framework.

References (56)