paperbot · PL 论文追踪

全部论文 待读 收藏

P2 On Reliability of Patch Correctness Assessment

论补丁正确性评估的可靠性
ICSE 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)2019匹配度 1/10 · 论文研究自动软件修复中补丁正确性标注的可靠性,属于软件工程/自动修复评估,与用户关注的静态分析、LLM/Agent 与程序分析交叉、浮点程序分析、贝叶斯程序分析等方向无直接关联。虽涉及基准与评估可靠性,但主题不在研究画像核心范围内。引用 98 inbox
Xuan-Bach D. Le, Lingfeng Bao, David Lo, Xin Xia, Shanping Li, Corina Pasareanu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:通过用户研究构建补丁正确性金标准,比较作者标注与自动标注的可靠性,揭示自动修复评估中的偏差。

自动软件修复(ASR)依赖不完整的规格或测试套件生成补丁,可能导致补丁不正确且难以泛化。为评估补丁正确性判定方法的可靠性,作者从 8 个先进 ASR 技术生成的补丁中随机选取 189 个,邀请 35 名职业开发者独立标注,构建正确性金标准;以评分者间一致性衡量其质量,并证明该金标准与高质量金标准相当。随后将作者标注和基于独立测试套件的自动标注与该金标准比较,报告发现并讨论对后续 ASR 评估的启示。

问题
现有 ASR 技术依赖不完整测试套件,自动标注与作者标注各有缺陷:前者无法确保补丁真正正确,后者易受主观性影响,如何可靠评估补丁正确性尚不明确。
方法
通过 35 名职业开发者对 189 个来自 8 个 ASR 技术的补丁进行独立标注,构建正确性金标准,并用评分者间一致性验证其质量;再与作者标注和自动标注进行对比。
评估
比较作者标注与自动标注同金标准的一致性,以评估其可靠性,并总结对 ASR 研究与补丁正确性评估实践的启示。
原文摘要(Abstract)

Current state-of-the-art automatic software repair (ASR) techniques rely heavily on incomplete specifications, or test suites, to generate repairs. This, however, may cause ASR tools to generate repairs that are incorrect and hard to generalize. To assess patch correctness, researchers have been following two methods separately: (1) Automated annotation, wherein patches are automatically labeled by an independent test suite (ITS) - a patch passing the ITS is regarded as correct or generalizable, and incorrect otherwise, (2) Author annotation, wherein authors of ASR techniques manually annotate the correctness labels of patches generated by their and competing tools. While automated annotation cannot ascertain that a patch is actually correct, author annotation is prone to subjectivity. This concern has caused an on-going debate on the appropriate ways to assess the effectiveness of numerous ASR techniques proposed recently. In this work, we propose to assess reliability of author and automated annotations on patch correctness assessment. We do this by first constructing a gold set of correctness labels for 189 randomly selected patches generated by 8 state-of-the-art ASR techniques through a user study involving 35 professional developers as independent annotators. By measuring inter-rater agreement as a proxy for annotation quality - as commonly done in the literature - we demonstrate that our constructed gold set is on par with other high-quality gold sets. We then compare labels generated by author and automated annotations with this gold set to assess reliability of the patch assessment methodologies. We subsequently report several findings and highlight implications for future studies.

链接与引用

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

BibTeX
@inproceedings{LeB00LP19,
  title = {On Reliability of Patch Correctness Assessment},
  author = {Xuan-Bach D. Le and Lingfeng Bao and David Lo and Xin Xia and Shanping Li and Corina Pasareanu},
  booktitle = {ICSE},
  year = {2019},
  doi = {10.1109/icse.2019.00064}
}