Programming Error Classification Method for Novices based on BiLSTM-TextCNN Model

In order to help programming novices locate programming errors and understand error cause, and to achieve accurate classification of programming errors, an error classification method based on deep learning networks has been proposed. Firstly, a dataset comprising 10,287 student C language programming errors (CPE28) was constructed, annotated with programming messages indicating either errors or warnings, and categorized into 28 error types to facilitate error feedback research. Secondly, the BLT-PECNet model, integrating BiLSTM and TextCNN, was designed for training and identifying programming error categories. BiLSTM captures contextual features and extracts global semantic information, while TextCNN performs convolution operations of varying sizes to extract multi-level features, ultimately yielding the classification results for programming errors. Experimental results on CPE28 demonstrate that the proposed method achieves over 92% in classification accuracy, precision, recall, and F1 score. It surpasses traditional single models in capturing key features of code errors, underscoring the method’s efficacy and accuracy.

Authors

Institutions

Publication Details

Published
2024-09-13
DOI
https://doi.org/10.1109/itme63426.2024.00211
Primary Topic
Advanced Decision-Making Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Programming Error Classification Method for Novices based on BiLSTM-TextCNN Model

Peipei Zhi, Mali Yu, Chengguan Xiang
Advanced Decision-Making Techniques
article

Programming Error Classification Method for Novices based on BiLSTM-TextCNN Model

Peipei Zhi, Mali Yu, Chengguan Xiang
article en

Abstract

In order to help programming novices locate programming errors and understand error cause, and to achieve accurate classification of programming errors, an error classification method based on deep learning networks has been proposed. Firstly, a dataset comprising 10,287 student C language programming errors (CPE28) was constructed, annotated with programming messages indicating either errors or warnings, and categorized into 28 error types to facilitate error feedback research. Secondly, the BLT-PECNet model, integrating BiLSTM and TextCNN, was designed for training and identifying programming error categories. BiLSTM captures contextual features and extracts global semantic information, while TextCNN performs convolution operations of varying sizes to extract multi-level features, ultimately yielding the classification results for programming errors. Experimental results on CPE28 demonstrate that the proposed method achieves over 92% in classification accuracy, precision, recall, and F1 score. It surpasses traditional single models in capturing key features of code errors, underscoring the method’s efficacy and accuracy.

Guizhou Education University (CN)
Quality Education
Openalex Percentile: Top 54%
Advanced Decision-Making Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.