Abstract
Current benchmarks for evaluating software engineering agents, such as SWE-Bench Verified, are predominantly derived from GitHub issues and fail to accurately reflect how developers interact with chat-based coding assistants in integrated development environments (IDEs). We posit that this mismatch leads to a systematic overestimation of agent's capabilities in real-world scenarios, especially bug fixing. We introduce a novel benchmarking framework that transforms existing formal benchmarks into realistic user queries through systematic analysis of developer interaction patterns with chat-based agents. Our methodology is flexible and can be easily extended to existing benchmarks. In this paper, we apply our testing framework to SWE-Bench Verified, the TypeScript subset of Multi-SWE-Bench and a private benchmark, SWE-Bench C# and transform formal GitHub issue descriptions into realistic user-style queries based on telemetry analysis of a popular chat-based agent interactions. Our findings reveal that existing benchmarks significantly overestimate agent capabilities for some models by >50% over baseline performance for public benchmarks and ~10-16% for our internal benchmark. This work establishes a new paradigm for evaluating interactive chat-based software engineering agents through benchmark mutation techniques.
Introduction: The Gap Between Benchmarks and Reality
The rapid advancement of AI software engineering agents has led to the widespread adoption of benchmarks like SWE-Bench, which utilizes real-world GitHub issues to evaluate an agent's ability to resolve bugs. While these benchmarks provide a valuable baseline, they suffer from a significant ecological validity gap. GitHub issues are typically "formal" reports: they often include detailed reproduction scripts, environment specifications, and clear "expected vs. actual" behavior descriptions.
In contrast, real-world developer interactions with AI chat assistants in IDEs are far messier. Developers often provide vague, one-sentence requests or simply paste a stack trace with a brief "fix this." Because current agents are evaluated on high-quality, curated GitHub descriptions, their reported performance likely overestimates their utility in actual development workflows. Furthermore, the public nature of these benchmarks raises concerns about data leakage and overfitting, where models may "memorize" solutions rather than demonstrate true reasoning.
Methodology: The Benchmark Mutation Pipeline
To bridge this gap, we developed a systematic Benchmark Mutation approach designed to transform formal issue descriptions into realistic user queries.
The pipeline consists of several key stages. First, we conducted a Telemetry Analysis of 10,000 real-world user queries from a popular IDE-based AI agent to identify how developers actually communicate. From this, we identified 11 distinct communication templates characterizing real-world bug reporting, such as "Paste Error/Stack Trace Only" and "Minimal Fix Request."
Using an LLM (GPT-4), we then "mutated" formal GitHub issue descriptions into these realistic templates. This process ensures the core technical problem remains solvable while removing the "clean" scaffolding of a formal report. Finally, we evaluated the open-source agent OpenHands using state-of-the-art models against both the original and mutated versions of the benchmarks.
Datasets and Evaluation
Our study applied this mutation technique across three distinct datasets to ensure broad coverage:
- SWE-Bench Verified: 500 human-verified Python problems.
- Multi-SWE-Bench (TypeScript): A subset of 224 TypeScript problems.
- SWE-Bench C#: A private, internal benchmark of 150 C# problems. This private dataset is crucial for detecting overfitting, as the models could not have encountered these problems during training.
Key Insights: The Succinctness and Context Gaps
Our analysis revealed a stark "Succinctness Gap" between benchmark data and real-world usage. While GitHub issues typically exceed 100 words, the majority of real-world user queries fall between 10 and 30 words.
Beyond length, we observed that missing context is the norm. Developers rarely provide reproduction code or environment details upfront, expecting the agent to autonomously navigate the codebase. This shift in information density significantly changes the task for the AI agent, moving it from "implementing a described fix" to "diagnosing an under-specified problem."
Results: A Reality Check for AI Agents
The evaluation results provide a sobering "reality check." Across all models and datasets, we observed a 20-40% relative drop in success rates when moving from formal issues to mutated, realistic queries.
The performance drop was particularly severe on public benchmarks. For instance, some models saw their performance on public benchmarks slashed by over 50%. On the private C# benchmark, the degradation was less extreme (10-16%), suggesting that high scores on public leaderboards are partially inflated by data memorization. Additionally, agents required more "steps" to solve mutated problems, as they had to spend more time exploring the repository to compensate for the lack of initial information.
Conclusion and Future Work
While this work highlights critical flaws in current evaluation methods, it has limitations. Our current focus is exclusively on bug-fixing, which represents only a fraction of real-world AI agent usage. Future research should expand mutation techniques to feature development and refactoring tasks. Furthermore, our current framework evaluates single-turn queries; real-world interactions are often iterative and multi-turn. By introducing benchmark mutation, we provide a more rigorous and realistic framework for evaluating the next generation of AI software engineering agents.
Summary updated