Lune

ICSE2026顶会

Are “Solved Issues” in SWE-bench Really Solved Correctly? An Empirical Study

You Wang, Michael Pradel, Zhongxin Liu

摘要

Automated issue solving aims to resolve real-world issues in software repositories. The most popular benchmarks for automated issue solving are SWE-bench and its human-filtered subset SWE-bench Verified, which are widely used to evaluate foundation models and software engineering agents. These benchmarks leverage testing to validate generated patches. However, because testing is rarely exhaustive, a patch may pass the tests but nevertheless fail to match the developers’ expectations. Unfortunately, it is currently unclear to what extent evaluations performed with SWE-bench suffer from such plausible but incorrect patches. This paper presents an in-depth empirical study of the correctness of plausible patches generated by three state-of-the-art issue-solving tools (CodeStory, LearnByInteract, and OpenHands) evaluated on SWE-bench Verified. We extensively test and inspect generated patches, and compare them against human-written ground truth patches. The core of our methodology is a novel technique for differential patch testing, called PatchDiff, which automatically exposes behavioral discrepancies between two patches. Our findings reveal critical weaknesses in SWE-bench’s patch validation mechanism, which causes 7.8% of all patches to count as “correct” while failing the developer-written test suite. Moreover, our novel automated technique reveals that even more (29.6%) plausible patches induce different behavior than the ground truth patches. These behavioral differences are often due to similar, but divergent implementations (46.8%) and due to generated patches that adapt more behavior than the ground truth patches (27.3%). Our manual inspection shows that 28.6% of behaviorally divergent patches are certainly incorrect. Combined, the different weaknesses lead to an inflation of reported resolution rates by 6.4 absolute percent points. Our findings are a call to arms for more robust and reliable evaluation of issue-solving tools. We envision our automated differential patch testing technique to be useful for this purpose.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SWINGARENA: Adversarial Programming Arena for Long-context GitHub Issue Solving 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents 引用了 Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation
  • SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution 引用了 SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents
  • SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution 引用了 AutoCodeRover: Autonomous Program Improvement
  • AutoCodeSherpa: Symbolic Explanations in AI Coding Agents 引用了 SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents
  • AutoCodeSherpa: Symbolic Explanations in AI Coding Agents 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • AutoCodeSherpa: Symbolic Explanations in AI Coding Agents 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • AutoCodeSherpa: Symbolic Explanations in AI Coding Agents 引用了 AutoCodeRover: Autonomous Program Improvement
  • SWE-bench: Can Language Models Resolve Real-world Github Issues? 引用了 Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation
  • SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering 引用了 Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation
  • Names Are All You Need: Effective and Safe Regression Test Selection for Python 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • AutoCodeRover: Autonomous Program Improvement 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • AutoCodeRover: Autonomous Program Improvement 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • SPICE: An Automated SWE-Bench Labeling Pipeline for Issue Clarity, Test Coverage, and Effort Estimation 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. SPICE: An Automated SWE-Bench Labeling Pipeline for Issue Clarity, Test Coverage, and Effort EstimationGustavo Ansaldi Oliva, Gopi Krishnan Rajbahadur, Aaditya Bhatia, Haoxiang Zhang 等ASE 2025 · 9 次引用
  2. SWINGARENA: Adversarial Programming Arena for Long-context GitHub Issue SolvingWendong XU, Jing Xiong, Chenyang Zhao, Qiujiang Chen 等ICLR 2026 · 2 次引用
  3. SWE-Debate: Competitive Multi-Agent Debate for Software Issue ResolutionHan Li, Yuling Shi, Shaoxin Lin, Xiaodong Gu 等ICSE 2026 · 2 次引用
  4. AutoCodeSherpa: Symbolic Explanations in AI Coding AgentsSungmin Kang, Haifeng Ruan, Abhik RoychoudhuryISSTA 2026
  5. Names Are All You Need: Effective and Safe Regression Test Selection for PythonYou Wang, Michael Pradel, Zhongxin LiuISSTA 2026

它引用的 Paper20

  1. Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code GenerationJiawei Liu, Chunqiu Steven Xia, Yuyao Wang, Lingming ZhangNeurIPS 2023 · 2,317 次引用
  2. SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao 等ICLR 2024 · 2,082 次引用
  3. SWE-agent: Agent-Computer Interfaces Enable Automated Software EngineeringJohn Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret 等NeurIPS 2024 · 2,059 次引用
  4. SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code AgentsNiels Mündler, Mark Niklas Müller, Jingxuan He, Martin T. VechevNeurIPS 2024 · 172 次引用
  5. AutoCodeRover: Autonomous Program ImprovementYuntong Zhang, Haifeng Ruan, Zhiyu Fan, Abhik RoychoudhuryISSTA 2024 · 96 次引用

相关 Paper

  1. Automated Benchmark Generation for Repository-Level Coding TasksKonstantinos Vergopoulos, Mark Niklas Müller, Martin T. VechevICML 2025
  2. Otter: Generating Tests from Issues to Validate SWE PatchesToufique Ahmed, Jatin Ganhotra, Rangeet Pan, Avraham Shinnar 等ICML 2025
  3. SWE Data Construction, Automatically!Lianghong Guo, Yanlin Wang, Caihua Li, Wei Tao 等FSE 2026
  4. Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub ScenariosZhi Chen, Wei Ma, Lingxiao JiangICSE 2026
  5. Can Agent Fix Agent Issues?Alfin Wijaya Rahardja, Junwei Liu, Weitong Chen, Zhenpeng Chen 等NeurIPS 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖