paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Context-aware patch generation for better automated program repair

面向更好自动程序修复的上下文感知补丁生成
ICSE Proceedings of the 40th International Conference on Software Engineering2018匹配度 2/10 · 该论文研究自动程序修复中的补丁搜索空间问题,属于软件工程/APR领域,与用户核心关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接交集;仅程序修复与 Agentic coding 有微弱关联。引用 339 inbox
Ming Wen, Junjie Chen, Rongxin Wu, Dan Hao, Shing-Chi Cheung
crossref: 2026-09-12

AI 速览

一句话:通过上下文感知补丁生成,缓解自动程序修复中正确补丁不在搜索空间或搜索空间过大而难以生成的问题。

基于搜索的自动程序修复在正确补丁生成数量上存在局限。论文指出两个原因:其一,正确补丁根本不在搜索空间中;其二,搜索空间过大,导致正确补丁无法在时间预算内生成,或只能在错误但看似合理的补丁之后才被生成。标题表明该工作采用上下文感知的补丁生成来改进自动程序修复,但所给摘要未展开具体方法、实现与评估细节,因此无法从现有信息判断其上下文如何获取、如何约束或排序补丁搜索,以及相对基线的修复成功率和正确补丁数量等关键结果。该工作属于自动程序修复方向,核心目标是通过引入上下文信息改善补丁生成的有效性。

问题
基于搜索的自动程序修复难以生成足够多的正确补丁,具体受限于正确补丁不在搜索空间,以及搜索空间过大导致正确补丁难以在预算内生成。
方法
标题表明采用上下文感知的补丁生成;但所给摘要未说明上下文信息的具体来源、使用方式及补丁搜索或排序机制。
评估
所给摘要未提供评估信息,无法确认其基准、基线、修复成功率或正确补丁数量等结果。
原文摘要(Abstract)

The effectiveness of search-based automated program repair is limited in the number of correct patches that can be successfully generated. There are two causes of such limitation. First, the search space does not contain the correct patch. Second, the search space is huge and therefore the correct patch cannot be generated (i.e., correct patches are either generated after incorrect plausible ones or not generated within the time budget).

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4468,
  title = {Context-aware patch generation for better automated program repair},
  author = {Ming Wen and Junjie Chen and Rongxin Wu and Dan Hao and Shing-Chi Cheung},
  booktitle = {ICSE},
  year = {2018},
  doi = {10.1145/3180155.3180233}
}