paper-with-me

홈 › Papers

AutoCodeRover: Autonomous Program Improvement

2024-04-08 · Yuntong Zhang, Haifeng Ruan, Zhiyu Fan, Abhik Roychoudhury

Researchers have made significant progress in automating the software development process in the past decades. Recent progress in Large Language Models (LLMs) has significantly impacted the development process, where developers can use LLM-based programming assistants to achieve automated coding. Nevertheless, software engineering involves the process of program improvement apart from coding, specifically to enable software maintenance (e.g. bug fixing) and software evolution (e.g. feature additions). In this paper, we propose an automated approach for solving GitHub issues to autonomously achieve program improvement. In our approach called AutoCodeRover, LLMs are combined with sophisticated code search capabilities, ultimately leading to a program modification or patch. In contrast to recent LLM agent approaches from AI researchers and practitioners, our outlook is more software engineering oriented. We work on a program representation (abstract syntax tree) as opposed to viewing a software project as a mere collection of files. Our code search exploits the program structure in the form of classes/methods to enhance LLM's understanding of the issue's root cause, and effectively retrieve a context via iterative search. The use of spectrum-based fault localization using tests, further sharpens the context, as long as a test-suite is available. Experiments on SWE-bench-lite (300 real-life GitHub issues) show increased efficacy in solving GitHub issues (19% on SWE-bench-lite), which is higher than the efficacy of the recently reported SWE-agent. In addition, AutoCodeRover achieved this efficacy with significantly lower cost (on average, $0.43 USD), compared to other baselines. We posit that our workflow enables autonomous software engineering, where, in future, auto-generated code from LLMs can be autonomously improved.

📄 PDF Abstract BibTeX arXiv:2404.05427

Code (5)

nus-apr/auto-code-rover 공식 구현
aorwall/swe-bench-docker
autocoderoversg/auto-code-rover
deepsoftwareanalytics/omnigirl
liqs-v2/ctim-rover

Tasks

Bug fixingCode SearchFault localizationProgram Repair

Similar Papers 제목 키워드 기반

SpecRover: Code Intent Extraction via LLMs

2024-08-05 · Haifeng Ruan, Yuntong Zhang, Abhik Roychoudhury

Autonomous program improvement typically involves automatically producing bug fixes and feature additions. Such program improvement can be accomplished by a combination of large language model (LLM) and program analysis …

Code SearchLarge Language ModelProgram Repair

Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories

2025-06-23 · Islem Bouzenia, Michael Pradel

Large Language Model (LLM)-based agents are increasingly employed to automate complex software engineering tasks such as program repair and issue resolution. These agents operate by autonomously generating natural langua…

Large Language ModelProgram Repair

SWEnergy: An Empirical Study on Energy Efficiency in Agentic Issue Resolution Frameworks with SLMs

2025-12-10 · Arihant Tripathy, Ch Pavan Harshit, Karthik Vaidhyanathan arxiv

Context. LLM-based autonomous agents in software engineering rely on large, proprietary models, limiting local deployment. This has spurred interest in Small Language Models (SLMs), but their practical effectiveness and …

From Knowledge to Noise: CTIM-Rover and the Pitfalls of Episodic Memory in Software Engineering Agents

2025-05-29 · Tobias Lindenbauer, Georg Groh, Hinrich Schütze

We introduce CTIM-Rover, an AI agent for Software Engineering (SE) built on top of AutoCodeRover (Zhang et al., 2024) that extends agentic reasoning frameworks with an episodic memory, more specifically, a general and re…

AI AgentMixture-of-Experts

Autonomous Tree-search Ability of Large Language Models

2023-10-14 · Zheyu Zhang, Zhuorui Ye, Yikang Shen, Chuang Gan

Large Language Models have excelled in remarkable reasoning capabilities with advanced prompting techniques, but they fall short on tasks that require exploration, strategic foresight, and sequential decision-making. Rec…

Decision MakingSequential Decision Making