While there has been plenty of work on generating tests from existing code, there has been limited work on generating tests from issues. A correct test must validate the code patch that resolves the issue. This paper focuses on the scenario where that code patch does not yet exist. Doing so supports two major use-cases. First, it supports TDD (test-driven development), the discipline of "test first, write code later" that has well-documented benefits for human software engineers. Second, it also validates SWE (software engineering) agents, which generate code patches for resolving issues. This paper introduces TDD-Bench-Verified, a benchmark for generating tests from issues, and Otter, an LLM-based solution for this task. Otter augments LLMs with rule-based analysis to check and repair their outputs, and introduces a novel self-reflective action planner. Experiments show Otter outperforming state-of-the-art systems for generating tests from issues, in addition to enhancing systems that generate patches from issues. We hope that Otter helps make developers more productive at resolving issues and leads to more robust, well-tested code.
Lero, the Research Ireland Centre for Software, University of Limerick(利默里克大学 Lero 爱尔兰软件研究中心);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Hong Kong University of Science and Technology(香港科技大学);University of Ottawa(渥太华大学)
A Single Patch Is Not Enough: Deterministic Fusion of Repair Candidates
Yanshan University(燕山大学);Beijing Guoyan Network Data Technology Co., Ltd.(北京国燕网络数据技术有限公司);Peking University(北京大学);Google(谷歌);University of Melbourne(墨尔本大学);University of Luxembourg(卢森堡大学);Aalto University(阿尔托大学)
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生成补丁的运行时性能与问题解决率无关,需将补丁性能纳入仓库级问题解决的评估。
When "Correct" Is Not Safe: Can We Trust Functionally Correct Patches Generated by Code Agents?
Carnegie Mellon University(卡内基梅隆大学);University of Michigan, Ann Arbor(密歇根大学安娜堡分校);Peking University(北京大学);Google(谷歌);Colorado State University(科罗拉多州立大学)
SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring
Shanghai Jiao Tong University(上海交通大学);Peking University(北京大学);The Hong Kong University of Science and Technology(香港科技大学);Douyin Group(抖音集团);University of Chinese Academy of Sciences(中国科学院大学);National University of Singapore(新加坡国立大学);Monash University(莫纳什大学)
Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios
Centre for Research on Intelligent Software Engineering(智能软件工程研究中心);School of Computing and Information Systems(计算与信息系统学院);Singapore Management University(新加坡管理大学)
Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repair
Nanjing University of Science and Technology(南京理工大学);State Key Lab. for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Computer Science, Wuhan University(武汉大学计算机学院)
Issue Localization via LLM-Driven Iterative Code Graph Searching
The State Key Laboratory of Blockchain and Data Security, Zhejiang University, Hangzhou, China(区块链与数据安全国家重点实验室,浙江大学,杭州,中国);School of Big Data and Software Engineering, Chongqing University, Chongqing, China(大数据与软件工程学院,重庆大学,重庆,中国)