Improving Automated Issue Resolution via Comprehensive Repository Exploration

Abstract

This paper presents LingmaAgent, a novel Automated Software Engineering method designed to comprehensively understand and utilize whole software repositories for issue resolution. LingmaAgent addresses the limitations of existing LLM-based agents that primarily focus on local code information. Our approach introduces a top-down method to condense critical repository information into a knowledge graph, reducing complexity, and employs a Monte Carlo tree search based strategy enabling agents to explore entire repositories. We guide agents to summarize, analyze, and plan using repository-level knowledge, allowing them to dynamically acquire information and generate patches for real-world GitHub issues. In extensive experiments, LingmaAgent demonstrated significant improvements, achieving an 18.5\% relative improvement on the SWE-bench Lite benchmark compared to SWE-agent. In production deployment and evaluation at a major cloud computing industrial partner, LingmaAgent automatically resolved 16.9\% of in-house issues faced by development engineers, and solved 43.3\% of problems after manual intervention. Additionally, we have open-sourced a Python prototype of LingmaAgent for reference by other industrial developers~\footnote{\url{https://anonymous.4open.science/r/RepoU-4E43/README.md}}.

Cite

Text

Ma and Liu. "Improving Automated Issue Resolution via Comprehensive Repository Exploration." ICLR 2025 Workshops: DL4C, 2025.

Markdown

[Ma and Liu. "Improving Automated Issue Resolution via Comprehensive Repository Exploration." ICLR 2025 Workshops: DL4C, 2025.](https://mlanthology.org/iclrw/2025/ma2025iclrw-improving/)

BibTeX

@inproceedings{ma2025iclrw-improving,
  title     = {{Improving Automated Issue Resolution via Comprehensive Repository Exploration}},
  author    = {Ma, Yingwei and Liu, Yue},
  booktitle = {ICLR 2025 Workshops: DL4C},
  year      = {2025},
  url       = {https://mlanthology.org/iclrw/2025/ma2025iclrw-improving/}
}