Skip to main content
Have a personal or library account? Click to login
Limitations and Failures of Large Language Model Based Code Grading Systems Cover

Limitations and Failures of Large Language Model Based Code Grading Systems

Open Access
|Nov 2026
Read online

Abstract

Recent advances in large language models (LLMs) have introduced new opportunities for automating the assessment of student work in computer science education. While these systems demonstrate promising consistency on structured programming tasks, their behaviour under realistic classroom conditions reveals recurring interpretive limitations. Building on our previous benchmarking study across four model families (GPT, Qwen, LLaMA, and DeepSeek), this paper examines the sources of inconsistency, overfitting, and bias that emerge when LLMs are used as code graders. We focus on qualitative aspects of model behaviour, such as prompt sensitivity, rigidity in interpretation, and the loss of pedagogical nuance, to reveal how grading reliability depends on behavioural stability and not only on numeric performance. The study identifies common failure modes, including hallucinated feedback, overly strict rubric adherence, and response carryover, highlighting their implications for fairness and interpretability. The findings emphasize the need for hybrid human–AI grading workflows that combine the scalability of automated systems with the contextual awareness of human evaluation.

DOI: https://doi.org/10.2478/aei-2026-0019 | Journal eISSN: 1338-3957 | Journal ISSN: 1335-8243
Language: English
Page range: 67 - 75
Submitted on: Oct 23, 2025
Accepted on: Mar 18, 2026
Published online: Nov 26, 2026
Published in print: Sep 1, 2026
Published by: Technical University of Košice
In partnership with: Paradigm Publishing Services
Publication frequency: 4 issues per year

© 2026 Lukáš Tomaščík, Nikola Tomaščíková, Marek Horváth, Norbert Ádám, published by Technical University of Košice
This work is licensed under the Creative Commons Attribution 4.0 License.