mlsanityData to 14 Oct 2026

An Empirical Study on Failures in Automated Issue Solving

arXiv 2509.13941 ↗First posted 17 Sep 2025cs.SE cs.AI cs.CLcited by 16

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Automated issue solving seeks to autonomously identify and repair defective code snippets across an entire codebase. SWE-Bench has emerged as the most widely adopted benchmark for evaluating progress in this area. While LLM-based agentic tools show great promise, they still fail on a substantial portion of tasks. Moreover, current evaluations primarily report aggregate issue-solving rates, which obscure the underlying causes of success and failure, making it challenging to diagnose model weaknesses or guide targeted improvements. To bridge this gap, we first analyze the performance and efficiency of three SOTA tools, spanning both pipeline-based and agentic architectures, in automated issue solving tasks of SWE-Bench-Verified under varying task characteristics. Furthermore, to move from high-level performance metrics to underlying cause analysis, we conducted a systematic manual analysis of 150 failed instances. From this analysis, we developed a comprehensive taxonomy of failure modes comprising 3 primary phases, 9 main categories, and 25 fine-grained subcategories. Then we systematically analyze the distribution of the identified failure modes, the results reveal distinct failure fingerprints between the two architectural paradigms, with the majority of agentic failures stemming from flawed reasoning and cognitive deadlocks. Motivated by these insights, we propose a collaborative Expert-Executor framework. It introduces a supervisory Expert agent tasked with providing strategic oversight and course-correction for a primary Executor agent. This architecture is designed to correct flawed reasoning and break the cognitive deadlocks that frequently lead to failure. Experiments show that our framework solves 22.2% of previously intractable issues for a leading single agent. These findings pave the way for building more robust agents through diagnostic evaluation and collaborative design.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 31 of its 55 references that are in the map. First posted on arXiv 17 Sep 2025.

Builds on

31 of 55 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025Dissecting the SWE-Bench Leaderboards: Profiling Submitters and Architectures of LLM- and Agent-Based Repair Systems20 Jun
  2. 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep
  3. 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
  4. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  5. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  7. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 24

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  7. 2023Teaching Large Language Models to Self-Debugcited by 988
  8. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 171
  9. 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 137
  10. 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
  11. 2024AgentScope: A Flexible yet Robust Multi-Agent Platformcited by 121
  12. 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 107
12 more
  1. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 91
  2. 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 90
  3. 2023Towards an Understanding of Large Language Models in Software Engineering Taskscited by 68
  4. 2024AgentFL: Scaling LLM-based Fault Localization to Project-Level Contextcited by 47
  5. 2020Sampling in Software Engineering Research: A Critical Review and Guidelinescited by 23
  6. 2019Automated Patch Assessment for Program Repair at Scalecited by 14
  7. 2023STEAM: Simulating the InTeractive BEhavior of ProgrAMmers for Automatic Bug Fixingcited by 9
  8. 2025Understanding and Mitigating Errors of LLM-Generated RTL Codecited by 8
  9. 2020Systematic Literature Reviews in Software Engineering -- Enhancement of the Study Selection Process using Cohen's Kappa Statisticcited by 7
  10. 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
  11. 2019Human-In-The-Loop Automatic Program Repaircited by 4
  12. 2025EfficientEdit: Accelerating Code Editing via Edit-Oriented Speculative Decodingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 13.

16 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Understanding Code Agent Behaviour: An Empirical Study of Success and Failure Trajectories
  2. 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study
  3. 2026TrajAudit: Automated Failure Diagnosis for Agentic Coding Systems
  4. 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectories
  5. 2026XAI for Coding Agent Failures: Transforming Raw Execution Traces into Actionable Insights
  6. 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
  7. 2026Advances and Frontiers of LLM-based Issue Resolution in Software Engineering: A Comprehensive Survey
  8. 2025Where LLM Agents Fail and How They can Learn From Failures