paper-with-me

홈 › Papers

PatchRecall: Patch-Driven Retrieval for Automated Program Repair

2026-04-12 · Mahir Labib Dihan, Faria Binta Awal, Md. Ishrak Ahsan arxiv

Retrieving the correct set of files from a large codebase is a crucial step in Automated Program Repair (APR). High recall is necessary to ensure that the relevant files are included, but simply increasing the number of retrieved files introduces noise and degrades efficiency. To address this tradeoff, we propose PatchRecall, a hybrid retrieval approach that balances recall with conciseness. Our method combines two complementary strategies: (1) codebase retrieval, where the current issue description is matched against the codebase to surface potentially relevant files, and (2) history-based retrieval, where similar past issues are leveraged to identify edited files as candidate targets. Candidate files from both strategies are merged and reranked to produce the final retrieval set. Experiments on SWE-Bench demonstrate that PatchRecall achieves higher recall without significantly increasing retrieved file count, enabling more effective APR.

📄 PDF Abstract BibTeX arXiv:2604.10481

Code (0)

등록된 구현이 없습니다.

Tasks

Program Repair

Similar Papers 제목 키워드 기반

Optimizing Code Runtime Performance through Context-Aware Retrieval-Augmented Generation

2025-01-28 · Manish Acharya, Yifan Zhang, Kevin Leach, Yu Huang

Optimizing software performance through automated code refinement offers a promising avenue for enhancing execution speed and efficiency. Despite recent advancements in LLMs, a significant gap remains in their ability to…

In-Context LearningRetrievalRetrieval-augmented Generation

DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Information

2025-12-31 · Zhili Huang, Ling Xu, Chao Liu, Weifeng Sun 외 arxiv

Automated Program Repair (APR) aims to automatically generate correct patches for buggy programs. Recent approaches leveraging large language models (LLMs) have shown promise but face limitations. Most rely solely on sta…

Program Repair

RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repair

2023-09-12 · Weishi Wang, Yue Wang, Shafiq Joty, Steven C. H. Hoi

Automatic program repair (APR) is crucial to reduce manual debugging efforts for developers and improve software reliability. While conventional search-based techniques typically rely on heuristic rules or a redundancy a…

Language ModellingProgram RepairRetrieval

Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoning

2023-01-03 · Thanh Le-Cong, Duc-Minh Luong, Xuan Bach D. Le, David Lo 외

Automated program repair (APR) faces the challenge of test overfitting, where generated patches pass validation tests but fail to generalize. Existing methods for patch assessment involve generating new tests or manual i…

Language ModellingProgram Repair

Large Language Model Powered Automated Modeling and Optimization of Active Distribution Network Dispatch Problems

2025-07-25 · Xu Yang, Chenhui Lin, Yue Yang, Qi Wang 외 arxiv

The increasing penetration of distributed energy resources into active distribution networks (ADNs) has made effective ADN dispatch imperative. However, the numerous newly-integrated ADN operators, such as distribution s…

Natural Language QueriesInformation Retrieval