Manuscript Offprint

arXiv:2608.27831

RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requests

Gyuhyeong Kim, Hyojung Gwon, Jeonghyeon Kim, Kyuhong Shim, Sunjae Lee

Abstract

Coding agents are now commonly evaluated on the SWE-BENCH family of benchmarks, whose tasks are built from curated GitHub issues—long, structured, and information-rich. Real user requests, however, are typically far shorter and less structured. To characterize this gap, we define a six-category information taxonomy and four dimensions of linguistic style, and apply them to real user prompts from SWE-CHAT and problem statements from SWE-BENCH VERIFIED and PRO. We find that requests carrying only a problem statement, alone or with limited additional context, account for 88% of real prompts but just 7% of benchmark problems. Furthermore, 87% of real prompts are casually written whereas 94% of benchmark problems are formal. Guided by these observations, we introduce REALSWE, 381 multi-variant task families derived from SWE-BENCH VERIFIED and PRO. Variants within each family share the same underlying task and gold patch while differing only in information composition and linguistic style. Evaluating seven contemporary LLMs with REALSWE, we find that i) realistic inputs reduce resolution rates by 6.4 pp on average and can change model rankings. Controlled analysis further shows that ii) including Desired Behavior and Motivation significantly affects performance, whereas Environment Information and Reproduction Steps merely add tokens without measurable benefit; iii) linguistic style has only small, model-dependent effects. These findings provide actionable guidance for users and agents: explicitly stating the desired behavior and motivation—which most real prompts omit—substantially improves the LLM’s software engineering performance.

1 Introduction

Large language models (LLMs) are rapidly transforming software engineering, advancing beyond function-level code generation toward coding agents that autonomously resolve repository-level issues. Their progress is commonly measured using SWE-BENCH families [15, 20, 33, 25, 8, 34, 1], which harvest executable tasks from GitHub issues and their corresponding fixes (e.g., commits and pull requests) in well-known open-source GitHub repositories. Today, leaderboard scores on these benchmarks serve as the de facto standard for comparing LLMs' coding capabilities.

Yet a growing body of evidence indicates that the inputs these benchmarks feed to agents are far from what agents receive in practice. Curated GitHub issues are typically detailed, well-structured, and long, whereas everyday user requests are short, informal, and sparse [6, 10, 4]. For example, a GitHub issue may describe a failure, provide reproduction steps and environment information, specify the desired behavior, and even suggest a solution. A user may express the same intent simply as

∗^{*}Corresponding author.

Preprint.

Figure

Figure 1: Resolution rates on the original SWE-BENCH tasks and REALSWE-BENCH. All models decline under realistic inputs.

“this crashes on empty input—fix it.” Although the underlying task is identical, the latter provides far less evidence, requiring the agent to infer missing requirements from the repository and context. Benchmark performance may therefore depend not only on task difficulty, but also on how the task is communicated.

Recent work has begun to close this gap with new realistic benchmarks. CURSORBENCH [6] evaluates prompts drawn from real coding sessions and others synthesize underspecified tasks [5, 35, 29] or mutate GitHub issues [10, 24, 28] to simulate user inputs. However, these efforts fall short in two ways. Benchmarks grounded in genuine user data, such as CURSORBENCH, are closed-source and unavailable for independent use or inspection. Open alternatives approximate realism heuristically, for example by truncating problem statements or injecting ambiguity, without systematic analysis or empirical grounding in actual user data. Consequently, while they reveal that a benchmark–reality gap exists, they fail to provide insight into what causes it or how it should be measured.

In this paper we address this gap through a systematic, data-grounded approach. We begin by analyzing user prompts from SWE-CHAT, a large-scale dataset of real interactions between developers and coding agents [4]. We characterize each request along two orthogonal axes: the information it conveys (Table 1) and the language in which it is conveyed (Figure 2). Our analysis reveals a substantial mismatch between real user requests and benchmark problems on both axes. Real requests are information-sparse: prompts consisting only of a problem statement (i.e., which bug to fix or which feature to implement) alone or with limited additional context (e.g., source URLs, dates) account for 88% of user prompts, compared with only 7% of tasks in SWE-BENCH VERIFIED and SWE-BENCH PRO. They also differ linguistically: 87% of user prompts use a casual tone and 51% contain imperative sentences, whereas 94% of benchmark problems use a formal tone and 89% rely on declarative sentences. These differences provide an empirical basis for building realistic coding-agent evaluation.

Guided by these observations, we introduce REALSWE, an open benchmark and configurable evaluation framework grounded in the characteristics of real user inputs. It contains 381 multi-variant task families derived from SWE-BENCH VERIFIED and PRO. Each family shares the same underlying task while varying information composition and linguistic style. We release it as REALSWE-BENCH, a fixed evaluation set matching the distributions observed in SWE-CHAT, and REALSWE-FRAMEWORK, which exposes the full variant suite for custom configurations and controlled ablations.

We evaluate seven contemporary LLMs under REALSWE. The results reveal substantial discrepancies between performance on original SWE-BENCH-style problems and realistic user inputs: resolution rates drop by 6.4 percentage points (pp) on average, and the gap between stronger and weaker models narrows (Figure 1). More importantly, our controlled analysis under REALSWE-FRAMEWORK reveals a sharply uneven value of information. For bug fixes, the presence of Desired Behavior strongly affects success (+8 pp, 17% relative), while Reproduction Steps and Environment Information add input tokens with no measurable benefit; for feature requests, adding Motivation improves

Table 1: Information taxonomy and field abbreviations for bug-fix and feature-request prompts.

Bug fixFeature request
[P] Problem Statement (Observed Failure)[P] Problem Statement (Requested Feature)
[D] Desired Behavior[M] Motivation
[R] Reproduction Steps[A] Additional Information
[E] Environment Information
[A] Additional Information

performance by up to +7 pp. Linguistic style changes, in contrast, produce only small, model-dependent effects. These findings expose an actionable mismatch between what users provide and what agents need: Desired Behavior of a bug fix and Motivation behind the new feature are among the most valuable signals an agent can receive, yet only 5% of real user prompts state it. Explicitly stating these can thus substantially improve the performance users experience from coding agents.

In summary, our contributions are threefold:

  • Empirical characterization of real SWE requests. Using a structured information taxonomy and linguistic dimensions, we analyze how real user requests in SWE-CHAT are composed, and quantify how their information composition and linguistic style differ from those of SWE-BENCH VERIFIED and SWE-BENCH PRO.

  • A data-grounded benchmark and configurable framework. Guided by this analysis, we construct 381 multi-variant task families and release them in two forms: REALSWE-BENCH, an open-source benchmark reflecting the empirical distribution of real user inputs, and REALSWE-FRAMEWORK, a configurable framework that allows researchers to customize the information composition and linguistic style of the evaluation.

  • Controlled evaluation and actionable findings. Evaluating seven LLMs, we i) quantify the benchmark–reality gap, ii) identify Desired Behavior and Motivation as key signals for software engineering tasks, and iii) distill actionable guidance for users of coding agents.

References (30)