Computer Science > Software Engineering
[Submitted on 26 Oct 2019 (this version), latest version 6 Aug 2021 (v2)]
Title:Automated Classification of Overfitting Patches with Statically Extracted Code Features
View PDFAbstract:Automatic program repair (APR) aims to reduce the cost of manually fixing defects. However, APR suffers from generating overfitting patches. This paper presents a novel overfitting detection system called ODS. ODS first statically extracts code features from the AST edit script between the generated patch and the buggy program. ODS then automatically learns an ensemble probabilistic model from those features, and the learned model is used to classify and rank new potentially overfitting patches. We conduct a large-scale experiment to evaluate the effectiveness of ODS on classification and ranking based on 713 patches for Defects4J. The empirical evaluation shows that ODS is able to correctly detect 57\% of overfitting patches, significantly faster than the related work. ODS is easily applicable, and can be applied as a post-processing procedure to rank the patches generated by any APR systems.
Submission history
From: He Ye [view email][v1] Sat, 26 Oct 2019 12:54:51 UTC (1,564 KB)
[v2] Fri, 6 Aug 2021 13:35:59 UTC (5,885 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.