Inicio  /  Applied Sciences  /  Vol: 13 Par: 17 (2023)  /  Artículo
ARTÍCULO
TITULO

Mining on Students? Execution Logs and Repairing Compilation Errors Based on Deep Learning

Ruoyan Shi    
Jianpeng Hu and Bo Lin    

Resumen

Automatic program repair techniques based on deep neural networks have attracted widespread attention from researchers due to the high degree of automation and generality. However, there is a scarcity of high-quality labeled datasets available for training program repair models. This study proposes a method of mining reasonable program repair examples from student program execution logs. Additionally, we introduce the Rookie Simulator (RS), which simulates the error patterns commonly made by novice programmers and generates a large number of program repair sample pairs. To address the issue of low repair rates for infrequent and complex error patterns in compilation errors, the study proposes the attention-enhanced capsule network for program repair (ACNPR), a program repair model that integrates compiler feedback information and utilizes capsule networks to capture complex semantic features. Experimental evaluations were conducted using publicly available datasets, including the DeepFix, TEGCER, and a real course dataset named SUES-COJ mined in this study. The results indicate that our method consistently outperforms current state-of-the-art models in terms of full repair rates.

 Artículos similares

       
 
Yuxin Zhang, Shumian Yang, Lijuan Xu, Xin Li and Dawei Zhao    
As the amount of malware has grown rapidly in recent years, it has become the most dominant attack method in network security. Learning execution behavior, especially Application Programming Interface (API) call sequences, has been shown to be effective ... ver más
Revista: Applied Sciences

 
George Sisias, Myrto Konstantinidou and Sotirios Kontogiannis    
Automated deep learning and data mining algorithms can provide accurate detection, frequency patterns, and predictions of dangerous goods passing through motorways and tunnels. This paper presents a post-processing image detection application and a three... ver más
Revista: Algorithms

 
Zeeshan Tariq, Darryl Charles, Sally McClean, Ian McChesney and Paul Taylor    
A significant challenge for organisations is the timely identification of the abnormalities or deviations in their process executions. Abnormalities are generally due to missing vital aspects of a process or possession of unwanted behaviour in the proces... ver más
Revista: Algorithms

 
Ghada El-khawaga, Mervat Abu-Elkheir and Manfred Reichert    
Predictive Process Monitoring (PPM) has been integrated into process mining use cases as a value-adding task. PPM provides useful predictions on the future of the running business processes with respect to different perspectives, such as the upcoming act... ver más
Revista: Algorithms

 
Amira Abdelwahab and Nesma Youssef    
Data mining techniques are useful in discovering hidden knowledge from large databases. One of its common techniques is sequential rule mining. A sequential rule (SR) helps in finding all sequential rules that achieved support and confidence threshold fo... ver más
Revista: Applied Sciences