This is the authors' abstract. We don't add key points for this paper.
Online judgment (OJ) systems can automatically evaluate program results by executing corresponding test cases. Among them, automatic fault localization techniques can assist students in localizing the root cause of program faults. However, artificially constructing many valid test cases is a very time-consuming and challenging task. Therefore, we propose an approach for automatically generating test data to solve this problem. Specifically, we utilize the real faulty novice programs from the OJ system as training data, and then we leverage the search algorithm to evolve the test data according to the fitness function. To evaluate the effectiveness of our approach, we conduct experiments on 1,136 faulty novice programs collected from the OJ system. The experimental results show that the test data generated by our approach can achieve the same fault detection ability as the artificially designed test data while has better fault localization accuracy for most fault localization techniques.
Answers are grounded in this paper and cite their sources.
No takes yet. Share an insight, caveat, or question.
Li et al. (2021) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: