Human-In-The-Loop Automatic Program Repair
Not on the map. Why?
Abstract (arXiv)
We introduce Learn2fix, the first human-in-the-loop, semi-automatic repair technique when no bug oracle--except for the user who is reporting the bug--is available. Our approach negotiates with the user the condition under which the bug is observed. Only when a budget of queries to the user is exhausted, it attempts to repair the bug. A query can be thought of as the following question: "When executing this alternative test input, the program produces the following output; is the bug observed"? Through systematic queries, Learn2fix trains an automatic bug oracle that becomes increasingly more accurate in predicting the user's response. Our key challenge is to maximize the oracle's accuracy in predicting which tests are bug-exposing given a small budget of queries. From the alternative tests that were labeled by the user, test-driven automatic repair produces the patch. Our experiments demonstrate that Learn2fix learns a sufficiently accurate automatic oracle with a reasonably low labeling effort (lt. 20 queries). Given Learn2fix's test suite, the GenProg test-driven repair tool produces a higher-quality patch (i.e., passing a larger proportion of validation tests) than using manual test suites provided with the repair benchmark.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 0; 2023: 0; 2024: 0; 2025: 1.
4 papers.
- 2021A Survey of Human-in-the-loop for Machine Learningcited by 215
- 2021A Survey on Cost Types, Interaction Schemes, and Annotator Performance Models in Selection Algorithms for Active Learning in Classificationcited by 17
- 2025An Empirical Study on Failures in Automated Issue Solvingcited by 16
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
- 2025An Empirical Study on Failures in Automated Issue Solving17 Sep 2025
- 2021A Survey on Cost Types, Interaction Schemes, and Annotator Performance Models in Selection Algorithms for Active Learning in Classification23 Sep 2021
- 2021A Survey of Human-in-the-loop for Machine Learning2 Aug 2021
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Cases28 Jul 2021