MEGA Hub

PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents

Authors

Do you know Tianyue Jiang?You can claim authorship or link another user.Do you know Yanlin Wang?You can claim authorship or link another user.Do you know Xin He?You can claim authorship or link another user.Do you know Daya Guo?You can claim authorship or link another user.Do you know Jiachi Chen?You can claim authorship or link another user.Do you know Ming Wen?You can claim authorship or link another user.Do you know Ensheng Shi?You can claim authorship or link another user.Do you know Xilin Liu?You can claim authorship or link another user.Do you know Yuchi Ma?You can claim authorship or link another user.Do you know Guanbin Li?You can claim authorship or link another user.

Abstract

While Large Language Models have greatly advanced automated issue resolution, existing agent-based methods exhibit a fundamental limitation in their insufficient exploration of repair strategies. This insufficiency manifests in two key aspects. First, the exploration of multiple potential edit locations is limited. Second, the exploration of repair attempts at each location is also insufficient. To address these challenges, we present PhoenixRepair, a multi-agent framework that systematically explores multiple candidate edit locations and performs iterative reflection and refinement on patch generation, thereby expanding the search space of repair strategies. Our framework begins with multi-location sampling, optionally augmented with graph-based localization information for difficult tasks, followed by iterative reflection and refinement to generate better patches, culminating in final-round generation guided by distilled insights from all historical attempts. Experiments on SWE-bench-Verified demonstrate that PhoenixRepair achieves the largest relative improvement of 7.8\% over SWE-agent under DeepSeek-V3.1, and attains the highest resolved rate of 76.0\% Pass@1 under MiniMax-M2.5. Meanwhile, it achieves higher fault localization accuracy than existing approaches. Our code is available at https://github.com/DeepSoftwareAnalytics/PhoenixRepair.

Community

00

Publication notes

Author note
14 pages, 5 figures