
Conference paper: Programming students receiving AI feedback reached correct solutions sooner
Tsvetomila Mihaylova, Evanfiya Logacheva, Arto Hellas, Jing Fan, Francisco Castro, Bita Akram, Narges Norouzi, Peter Brusilovsky, Juho Leinonen
21st Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2026)
৫০০-শব্দের সারাংশ

In an online introductory web development course, students who received AI-generated code feedback completed programming assignments faster than those who only saw compiler error messages. The analysis covered 3,153 student-assignment pairs from students who opted into research. Four conditions were compared: three structured feedback types and a no-feedback control. Time to first correct solution dropped most for the constrained Single-Issue format, followed by Diagnostic feedback that identified issues without offering fixes, while General feedback with explanations and hints showed the smallest reduction.
The study addressed a practical problem in programming education. Novice learners often struggle with cryptic compiler output, and human instructors cannot provide personalized guidance at scale. Large language models offer a possible remedy, but prior work suggests generic LLM feedback can be overly detailed, provide full solutions, or contain factual errors. Mihaylova and colleagues compared feedback designs that vary in cognitive load: General feedback describing up to three issues with explanations and hints, Single-Issue feedback focusing on one error with guidance, and Diagnostic feedback listing up to three issues without remediation steps. All messages were generated by GPT-4o and displayed alongside failed test logs.
Using mixed-effects models to account for repeated measures, the authors found that every feedback type was associated with a reduction in completion time relative to the baseline. For attempts to first correct submission, a negative binomial model showed credible reductions for all feedback types relative to the no-feedback baseline, with Diagnostic feedback producing the fewest attempts. The exercise-level random intercept variance was substantially larger than student-level variance, reflecting notable differences in task difficulty. Students also varied widely in how much they benefited from hints, with some showing little or no improvement.
When examining differences by programming experience, the interaction between feedback type and student level was not statistically significant. However, predicted trends suggested that the relative effectiveness of hint types might differ between novices and advanced students, with feedback appearing more beneficial for advanced learners in the experiments. For novice students, Single-Issue feedback was associated with slightly more attempts before success, while all hint types helped advanced learners reduce attempts. The authors caution that self-reported years of experience is a coarse measure and that individual variability within groups was substantial.
The course content mattered. Part 2 covered newer technologies released after GPT-4o's knowledge cutoff, while Part 3 used older, familiar material. On new content, Diagnostic feedback performed best for both time and attempts, likely because the model could identify errors without risking outdated repair suggestions. Guidance-heavy feedback was more sensitive to stale model knowledge. On old content, Single-Issue feedback was effective for attempts, but the pattern for time was less clear.
A small qualitative sample of student votes revealed common failure modes. Students rated 45 feedback messages as Good or Poor, with Poor messages more frequent. Thematic analysis of Poor votes found 12 cases where suggested fixes referenced an older technology version, 12 where the model flagged non-errors already matching course examples, and 7 where the model found no issue despite failing tests. Such errors could undermine student trust even when average performance improves.
This evidence leaves open whether short-term efficiency gains translate into learning. The study measured time and attempts, not conceptual understanding or retention. The authors explicitly state that future longitudinal work is needed. They also note the single-course context, character limit on submissions, and non-independent assignment exposure as limits. A hypothetical classroom application might assign Diagnostic feedback by default for new framework topics, while keeping Single-Issue hints for well-established syntax errors, but this would require validation beyond the current results.


