EUVIMEDEUVIMED entdecken
Crossref

Application of Program Code Semantic Understanding Model Based on Transformer Architecture in Automatic Grading of Data Structure Course

Mingxing Zhu

Ingegneria Sismica · 30.04.2026 · 42 (4) · 1-19

DOI: 10.65102/is2026091 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Ingegneria Sismica, online erschienen am 30.04.2026. Verfasst von Mingxing Zhu.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

In order to solve the problem of "testable results but difficult to describe semantics" in automatic scoring of data structure course, this paper constructs a method for semantic understanding and automatic scoring of program code based on Transformer architecture. In this study, student submitted code, problem constraints, test results and structural features are integrated into the unified processing flow. Through code preprocessing, semantic coding, reference semantic alignment and multidimensional score aggregation, the joint evaluation of program correctness, implementation quality and structural rationality is realized. In the system design, a test set organization mechanism and a scoring feedback link for data structure questions are established, so that the automatic evaluation is no longer limited to input-output comparison, but can further identify the implementation differences in typical tasks such as linked lists, trees, and graphs. The experimental results based on 1184 valid program samples show that the Accuracy of the proposed method reaches 0.907, Macro-F1 is 0.889, QWK is 0.926, and RMSE is reduced to 3.84. The overall performance is better than that of rule scoring and multiple comparison models. The research shows that the introduction of Transformer code semantic modeling into the course evaluation process can effectively improve the accuracy, stability and teaching adaptability of automatic scoring.

Zitieren

APA

Zhu, M. (2026). Application of Program Code Semantic Understanding Model Based on Transformer Architecture in Automatic Grading of Data Structure Course. Ingegneria Sismica, 42(4), 1-19. https://doi.org/10.65102/is2026091

Vancouver

Zhu M. Application of Program Code Semantic Understanding Model Based on Transformer Architecture in Automatic Grading of Data Structure Course. Ingegneria Sismica. 2026;42(4):1-19. doi:10.65102/is2026091

BibTeX
@article{Zhu2026,
  author = {Zhu, Mingxing},
  title = {Application of Program Code Semantic Understanding Model Based on Transformer Architecture in Automatic Grading of Data Structure Course},
  journal = {Ingegneria Sismica},
  year = {2026},
  volume = {42},
  number = {4},
  pages = {1--19},
  doi = {10.65102/is2026091}
}
Kostenlos starten →