English

Automated Patch Assessment for Program Repair at Scale

Software Engineering 2021-05-10 v3

Abstract

In this paper, we do automatic correctness assessment for patches generated by program repair systems. We consider the human-written patch as ground truth oracle and randomly generate tests based on it, a technique proposed by Shamshiri et al., called Random testing with Ground Truth (RGT) in this paper. We build a curated dataset of 638 patches for Defects4J generated by 14 state-of-the-art repair systems, we evaluate automated patch assessment on this dataset. The results of this study are novel and significant: First, we improve the state of the art performance of automatic patch assessment with RGT by 190% by improving the oracle; Second, we show that RGT is reliable enough to help scientists to do overfitting analysis when they evaluate program repair systems; Third, we improve the external validity of the program repair knowledge with the largest study ever.

Keywords

Cite

@article{arxiv.1909.13694,
  title  = {Automated Patch Assessment for Program Repair at Scale},
  author = {He Ye and Matias Martinez and Martin Monperrus},
  journal= {arXiv preprint arXiv:1909.13694},
  year   = {2021}
}
R2 v1 2026-06-23T11:30:14.943Z