Write a Blog >>
ICSE 2021
Mon 17 May - Sat 5 June 2021

Automatic program repair (APR) is crucial to improve software reliability. Recently, neural machine translation (NMT) techniques have been proposed to automatically fix bugs. While promising, these approaches have two major issues. Their search space often does not contain the correct fix and their search strategy ignores software knowledge such as strict code syntax. Due to these two issues, existing NMT-based techniques fail to outperform template-based approaches.

We propose CURE, a new NMT-based APR technique with three major novelties. First, CURE uses a subword tokenization technique to generate a smaller search space that contains more correct fixes. Second, CURE uses a new unsupervised programming language (PL) model to learn the correct syntax of source code before the APR task. Finally, CURE introduces a new code-aware search strategy that finds more correct fixes by focusing on searching for compilable patches and patches that are close in length to the buggy code.

Our evaluation on two widely-used benchmarks shows that CURE correctly fixes 57 Defects4J bugs and 26 QuixBugs bugs, outperforming all existing APR techniques on both benchmarks.

Thu 27 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

20:50 - 21:50
3.6.2. Program Repair: General IssuesTechnical Track at Blended Sessions Room 2 +12h
Chair(s): Sira Vegas Universidad Politecnica de Madrid
20:50
20m
Paper
Bounded Exhaustive Search of Alloy Specification RepairsArtifact ReusableTechnical TrackArtifact Available
Technical Track
Simón Gutiérrez Brida University of Rio Cuarto and CONICET, Argentina, Germán Regis University of Rio Cuarto, Argentina, Guolong Zheng University of Nebraska Lincoln, Hamid Bagheri University of Nebraska-Lincoln, ThanhVu Nguyen University of Nebraska, Lincoln, Nazareno Aguirre University of Rio Cuarto and CONICET, Argentina, Marcelo F. Frias Dept. of Software Engineering Instituto Tecnológico de Buenos Aires
Pre-print Media Attached
21:10
20m
Paper
Shipwright: A Human-in-the-Loop System for Dockerfile RepairArtifact ReusableTechnical TrackArtifact Available
Technical Track
Jordan Henkel University of Wisconsin--Madison, Denini Silva Federal University of Pernambuco, Leopoldo Teixeira Federal University of Pernambuco, Marcelo d'Amorim Federal University of Pernambuco, Thomas Reps University of Wisconsin--Madison
Pre-print Media Attached
21:30
20m
Paper
CURE: Code-Aware Neural Machine Translation for Automatic Program RepairTechnical Track
Technical Track
Nan Jiang Purdue University, Thibaud Lutellier University of Waterloo, Lin Tan Purdue University
Pre-print Media Attached

Fri 28 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

08:50 - 09:50
3.6.2. Program Repair: General IssuesTechnical Track at Blended Sessions Room 2
08:50
20m
Paper
Bounded Exhaustive Search of Alloy Specification RepairsArtifact ReusableTechnical TrackArtifact Available
Technical Track
Simón Gutiérrez Brida University of Rio Cuarto and CONICET, Argentina, Germán Regis University of Rio Cuarto, Argentina, Guolong Zheng University of Nebraska Lincoln, Hamid Bagheri University of Nebraska-Lincoln, ThanhVu Nguyen University of Nebraska, Lincoln, Nazareno Aguirre University of Rio Cuarto and CONICET, Argentina, Marcelo F. Frias Dept. of Software Engineering Instituto Tecnológico de Buenos Aires
Pre-print Media Attached
09:10
20m
Paper
Shipwright: A Human-in-the-Loop System for Dockerfile RepairArtifact ReusableTechnical TrackArtifact Available
Technical Track
Jordan Henkel University of Wisconsin--Madison, Denini Silva Federal University of Pernambuco, Leopoldo Teixeira Federal University of Pernambuco, Marcelo d'Amorim Federal University of Pernambuco, Thomas Reps University of Wisconsin--Madison
Pre-print Media Attached
09:30
20m
Paper
CURE: Code-Aware Neural Machine Translation for Automatic Program RepairTechnical Track
Technical Track
Nan Jiang Purdue University, Thibaud Lutellier University of Waterloo, Lin Tan Purdue University
Pre-print Media Attached