PatchRecall: Patch-Driven Retrieval for Automated Program Repair

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Dihan, Mahir Labib, Awal, Faria Binta, Ahsan, Md. Ishrak
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918440903639040
author Dihan, Mahir Labib
Awal, Faria Binta
Ahsan, Md. Ishrak
author_facet Dihan, Mahir Labib
Awal, Faria Binta
Ahsan, Md. Ishrak
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_10481
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle PatchRecall: Patch-Driven Retrieval for Automated Program Repair
Dihan, Mahir Labib
Awal, Faria Binta
Ahsan, Md. Ishrak
Software Engineering
Computation and Language
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.
title PatchRecall: Patch-Driven Retrieval for Automated Program Repair
topic Software Engineering
Computation and Language
url https://arxiv.org/abs/2604.10481