arXiv:2610.09633cs.LGOct 2026

Manuscript Offprint

arXiv:2610.09633

Coding-Agent Benchmarks Should Match Their Users' Task Flows

Igor Slinko, Yaroslav Golubev, Sergey Titov

Abstract

The evaluation of coding agents generally strives to be as realistic as possible. In our study, we collect 4,782 agent sessions of real software engineers in JetBrains IDEs, which we call Production Sessions. Since our subject is interactive agents, we study the sessions with at least three user messages (33% of the sample). These long sessions differ from issue-derived benchmark tasks in two ways: (i) user requests span a far wider mix of task types—questions about the project's code, planning, review, refactoring, execution—and (ii) users switch between types throughout a session. Long-session samples from three public interaction corpora exhibit markedly different Task Flows (the distributions of session lengths, task types, and type-to-type transitions), so no single interaction distribution is universally realistic: benchmarks should name a target use case and calibrate to measurements from it. We present SWE-TaskFlow, an approach for transforming any issue-derived benchmark: it preserves the verified tasks and tests while steering the interaction toward a target Task Flow through prompt splitting and verifiable repository QA, with a TaskFlow Alignment Score (TFAS) for selecting among generated trajectories. In a pilot on 700 SWE-Bench Pro tasks, solving the task sequentially in several steps approximately doubles agent cost without a stable change in resolve rate: the interaction protocol itself is an important dimension of evaluation.

SWE-Bench Pro

Production Sessions

Figure

Figure 1: Left: an issue-derived benchmark (SWE-Bench Pro) presents each task as a single user turn, almost always a new feature or a bug fix. Right: Task Flow of Production Sessions that contain at least three messages; nodes are primary intents and link widths are transition frequencies.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Evaluation of Interactive Agents.

1 Introduction

The field of agent evaluation aims to assess agents in realistic scenarios. To see what such a scenario might look like, we start our study by getting access to 4,782 agent sessions of real software engineers working in JetBrains IDEs; we call them Production Sessions. In this data, we focus on the long-interaction slice: sessions with at least three user messages (accounting for as much as 33% of the sample). We describe such a corpus by its Task Flow: session lengths, the task types of user messages, and the transitions between types from one message to the next (formal definition in Section 2). Two observations about the Task Flow of these sessions motivate this work (Figure 1).

First, user prompts are far more varied than benchmark tasks. In SWE-Bench Pro [Deng et al., 2026] (left panel of Figure 1), new features (54.7%) and bug fixes (39.1%) account for 93.8% of tasks (labels from Section 2); in Production Sessions the same two intents cover well under half of user messages, and the remainder asks the agent to explain the project's code, answer questions, plan, review, refactor, and execute. Second, users switch task types throughout a session: one that opens with a feature request often continues with a question about existing behavior, a planning step, and a review request. Issue-derived benchmarks ignore this: SWE-bench [Jimenez et al., 2024] and successors such as SWE-Bench Pro, SWE-rebench, and DeepSWE [Deng et al., 2026, Badertdinov et al., 2025, Huang et al., 2026] deliver one detailed issue and score one final patch. Their infrastructure and tests are valuable, but their interaction layer—the user messages the agent receives and the order in which it receives them—measures implementation from an upfront specification rather than adaptation to requirements unfolding across a session.

Which types of interaction steps to add depends on what users you target: we also applied our classifier to three public interaction corpora [Baumann et al., 2026, Tang et al., 2026, DataClaw Contributors, 2026] and obtained visibly different Task Flows for each (Appendix B)—a distribution measured on one product does not transfer to another. Our position is therefore: there is no universal realistic coding-agent benchmark; benchmark builders should state the target use case, measure its Task Flow, and calibrate the benchmark's interaction layer to it.

Contributions. We contribute (i) a Task-Flow analysis of long Production Sessions that makes a measured interaction distribution the design target; (ii) SWE-TaskFlow, an approach that turns verified SWE tasks into replayable multi-turn trajectory candidates while preserving the original requirements and tests; and (iii) a per-turn evaluation design in which one task yields several verifiable signals instead of a single terminal score, with a pilot on 700 SWE-Bench Pro tasks showing that the interaction protocol is a real evaluation variable. All generated tasks are released as one public dataset (details in Appendix E).