paper-with-me

Papers

Improving Code Localization with Repository Memory

2025-10-01 · Boshi Wang, Weijian Xu, Yunsheng Li, Mei Gao, Yujia Xie, Huan Sun, Dongdong Chen arxiv

Code localization is a fundamental challenge in repository-level software engineering tasks such as bug fixing. While existing methods equip language agents with comprehensive tools/interfaces to fetch information from the repository, they overlook the critical aspect of memory, where each instance is typically handled from scratch assuming no prior repository knowledge. In contrast, human developers naturally build long-term repository memory, such as the functionality of key modules and associations between various bug types and their likely fix locations. In this work, we augment language agents with such memory by leveraging a repository's commit history -- a rich yet underutilized resource that chronicles the codebase's evolution. We introduce tools that allow the agent to retrieve from a non-parametric memory encompassing recent historical commits and linked issues, as well as functionality summaries of actively evolving parts of the codebase identified via commit patterns. We demonstrate that augmenting such a memory can significantly improve LocAgent, a state-of-the-art localization framework, on both SWE-bench-verified and the more recent SWE-bench-live benchmarks. Our research contributes towards developing agents that can accumulate and leverage past experience for long-horizon tasks, more closely emulating the expertise of human developers.

📄 PDF Abstract BibTeX arXiv:2510.01003

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures

2025-12-05 · Amirkia Rafiei Oskooei, S. Selcan Yukcu, Mehmet Cevheri Bozoglan, Mehmet S. Aktas arxiv

Bug localization in multi-repository microservice architectures is challenging due to the semantic gap between natural language bug reports and code, LLM context limitations, and the need to first identify the correct re…

Cross-Modal Retrieval

SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localization

2025-12-23 · Revanth Gangi Reddy, Ye Liu, Wenting Zhao, JaeHyeok Doo 외 arxiv

Maintaining large-scale, multilingual codebases hinges on accurately localizing issues, which requires mapping natural-language error descriptions to the relevant functions that need to be modified. However, existing ran…

A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks

2026-03-31 · Joseph Townsend, Chandresh Pravin, Kwun Ho Ngan, Matthieu Parizy arxiv

Automatic program repair can be a challenging task, especially when resolving complex issues at a repository-level, which often involves issue reproduction, fault localization, code repair, testing and validation. Issues…

Program RepairCode Repair

Repository Structure-Aware Training Makes SLMs Better Issue Resolver

2024-12-26 · Zexiong Ma, Shengnan An, Zeqi Lin, Yanzhen Zou 외

Language models have been applied to various software development tasks, but the performance varies according to the scale of the models. Large Language Models (LLMs) outperform Small Language Models (SLMs) in complex ta…

Long-Context Understanding

GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localization

2026-02-14 · Juntong Wang, Libin Chen, Xiyuan Wang, Shijia Kang 외 arxiv

Repository-level bug localization-the task of identifying where code must be modified to fix a bug-is a critical software engineering challenge. Standard Large Language Modles (LLMs) are often unsuitable for this task du…

Information Retrieval