Not All Correct Fixes Run Alike: An Empirical Study of Patch Performance in Repository-Level Issue Resolution
The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术开发区(滨江)区块链与数据安全研究院);Graz University of Technology(格拉茨工业大学)
该研究以SWE-bench等基准的F2P测试为工具,搭配Claude Opus 5等模型与SWE-agent,发现LLM生成补丁的运行时性能与问题解决率无关,需将补丁性能纳入仓库级问题解决的评估。
摘要:
SWE-bench等仓库级问题解决基准主要基于补丁是否通过正确性测试来评估提交的补丁,而不同通过测试的补丁的运行时性能在很大程度上未被探索。评估补丁性能至关重要但颇具挑战性,因为为每个基准实例设计性能工作负载成本高昂。不过,这些基准已提供了一个天然候选:内置的FAIL_TO_PASS(F2P)测试,其会测试问题修复所影响的行为。因此,我们研究是否可将提供的F2P测试重新用于评估补丁性能。总体而言,我们选择四个前沿模型Claude Opus 5、GPT 5.6、DeepSeek V4 Pro和Qwen 3.8 Max,搭配SWE-agent解决SWE-bench和SWE-bench-Live验证拆分的预过滤可测量语料,得到262个至少有两种不同正确解决方案的案例,其中包括开发者真实补丁。随后,我们在原生F2P测试上以指令数和挂钟时间衡量每个解决方案的运行时性能,并采用Welch ANOVA而非先前工作提出的RSD作为更稳健的统计判别准则。我们发现该方法在运行时性能上表现出显著判别能力,且在近一半的案例中识别出补丁间的性能差异。我们的实证研究表明,生成补丁的运行时性能与大语言模型(LLM)的问题解决率无关,且模型排名几乎相反。案例研究还显示,性能分析揭示了一些正确性评估未发现的补丁中的架构退化。这些发现表明,解决率无法充分表征LLM在仓库级问题解决方面的能力,推动未来评估需同时考虑补丁性能。
英文摘要:
Repository-level issue-resolution benchmarks such as SWE-bench evaluate submitted patches primarily based on whether they pass the correctness tests, leaving the runtime performance of different test-passing patches largely unexplored. Evaluating patch performance is essential but challenging since designing performance workloads for each benchmark instance is costly. However, these benchmarks already provide a natural candidate: the built-in \emph{FAIL\_TO\_PASS} (F2P) tests, which exercise the behavior affected by the issue fix. We therefore investigate whether the provided F2P tests can be repurposed to evaluate patch performance. Overall, we choose four frontier models, Claude Opus~5, GPT~5.6, DeepSeek V4 Pro, and Qwen~3.8 Max, paired with SWE-agent to resolve the pre-filtered measurable corpus from verified splits of SWE-bench and SWE-bench-Live, yielding 262 cases with at least two different correct solutions, including the developer ground-truth patch. We then measure each solution's runtime performance in instruction count and wall-clock time on the native F2P test, and use Welch ANOVA instead of the RSD proposed in prior work as a more robust statistical discrimination criterion. We find that this methodology exhibits notable discrimination capability in runtime performance and identifies performance differences among patches in almost half of the instances. Our empirical study shows that the runtime performance of generated patches is independent of the issue resolution rate of LLMs, with nearly reversed model rankings. The case study also shows that the performance analysis reveals architectural regression in some patches that the correctness evaluation overlooked. These findings suggest that resolution rate does not adequately characterize LLMs' capability for repository-level issue resolution, motivating future evaluations to consider patch performance alongside it.
VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);SUAT;Alibaba Token Hub, Alibaba Group(阿里巴巴集团阿里巴巴令牌中心);Alibaba Group(阿里巴巴集团)
SWE-Explore: Benchmarking How Coding Agents Explore Repositories
Shanghai Jiao Tong University(上海交通大学);Xinjiang University(新疆大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Independent Researcher(独立研究者);The Chinese University of Hong Kong(香港中文大学)
SetupX: Can LLM Agents Learn from Past Failures in Functionality-Correct Code Repository Setup?
Shanghai Jiao Tong University(上海交通大学);Beijing University of Posts and Telecommunications(北京邮电大学);Independent Researcher(独立研究者);Jinan Inspur Data Technology Co., Ltd.(济南 Inspur 数据技术有限公司)
Merged, Not Measured: An Empirical Study of Performance Issues Fixed by Coding Agents
University of Arizona(亚利桑那大学);Wuhan University(武汉大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);California State University, Long Beach(加州州立大学长滩分校);Rochester Institute of Technology(罗切斯特理工学院)
DREA: Decoupled Reasoning and Exploration Agents for Repository-Level Vulnerability Detection
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
Enhancing Knowledge Density via Hierarchical Context Pruning for Retrieval-Augmented Repository-Level Code Completion
MIIT Key Laboratory of Pattern Analysis and Machine Intelligence(信息科技模式分析与机器智能国家重点实验室);College of Computer Science and Technology(计算机科学与技术学院);Huaneng Information Technology Co Ltd(华能信息技术有限公司);Hunan Vanguard Group Corporation Co Ltd(湖南 Vanguard集团有限公司);Tsinghua University(清华大学);Zhejiang University(浙江大学);PowerChina Huadong Engineering Co Ltd(国家电网华东工程有限公司)
Labelling Bug-Fixing Commits with Local Open-Weight Language Models
Faculty of Computer Science, University of Vienna(维也纳大学计算机学院);SBA Research gGmbH(SBA研究所);Christian Doppler Laboratory AsTra, University of Vienna(维也纳大学AsTra克里斯蒂安·多普勒实验室)
CheckerBench: Can Long-Horizon Agents Synthesize Static-Analysis Checkers?
East China Normal University(华东师范大学);Humanlaya Data(Humanlaya数据公司);Shanghai Jiao Tong University(上海交通大学);Peking University(北京大学);Shanghai Innovation Institute(上海创新研究院)
What Output-Equivalence Oracles Miss: An Empirical Study of Equivalence-Invisible Bug Fixes in Quantum Transpilers
City University of Science and Information Technology (CUSIT)(城市科学与技术大学);National University of Computer and Emerging Sciences (FAST-NUCES)(国立计算机与新兴科学大学)
A Unified Issue Resolution Benchmark for Requirement Clarification, Planning, and Code Generation for Coding Agents
Singapore Management University(新加坡管理大学);Monash University Malaysia(马来西亚莫纳什大学);Daegu Gyeongbuk Institute of Science and Technology (DGIST)(大邱庆北科学技术院);The Chinese University of Hong Kong(香港中文大学);North Carolina State University(北卡罗来纳州立大学);City University of Hong Kong(香港城市大学);The Hong Kong University of Science and Technology(香港科技大学);The University of Hong Kong(香港大学)
Debt Behind the AI Boom: A Large-Scale Empirical Study of AI-Generated Code in the Wild
Adelaide University(阿德莱德大学);University of Victoria(维多利亚大学);Huazhong University of Science and Technology(华中科技大学);Singapore Management University(新加坡管理大学)
ChainSWE: Benchmarking Coding Agents on Multi-Bug Software Maintenance
NVIDIA(英伟达);University College London(伦敦大学学院);New York University(纽约大学);Georgia Institute of Technology(佐治亚理工学院);Cornell University(康奈尔大学);Stanford University(斯坦福大学);Northeastern University(东北大学)