Automated Patch Assessment for Program Repair at Scale

He Ye, Matias Martinez, Martin Monperrus
9/30/2019
cs.SE

Official code: ASSERT-KTH/drr (12 stars, Java, CC-BY-SA-4.0, last commit 2023-05-29).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

ASSERT-KTH/drrOfficial100%
CC-BY-SA-4.0

Tool & data on the correctness of Defects4 patches generated by program repair tools http://arxiv.org/pdf/1909.13694

125Java, HTMLMay 4, 20183 years agoCC-BY-SA-4.0

Similar Papers

Cite this paper

@article{ye2019automated,
  title  = {Automated Patch Assessment for Program Repair at Scale},
  author = {He Ye and Matias Martinez and Martin Monperrus},
  year   = {2019},
  eprint = {1909.13694},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.13694}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.13694.svg)](https://codeofpaper.com/paper/1909.13694)

Discussion