Partnering with AI: A Pedagogical Feedback System for LLM Integration into Programming Education
Niklas Scholz, Manh Hung Nguyen, Adish Singla, Tomohiro Nagashima

TL;DR
This paper presents a pedagogical framework for using large language models to generate effective, standards-aligned feedback in programming education, demonstrating potential benefits and limitations through a practical implementation and evaluation.
Contribution
It introduces a novel pedagogical framework for LLM-driven feedback in programming education, grounded in established models and teacher insights, and evaluates its effectiveness in secondary schools.
Findings
LLMs can support students effectively when aligned with pedagogical principles.
Teachers perceive LLM feedback as sometimes outperforming human feedback in immediacy and precision.
Limitations include difficulty in adapting feedback to dynamic classroom contexts.
Abstract
Feedback is one of the most crucial components to facilitate effective learning. With the rise of large language models (LLMs) in recent years, research in programming education has increasingly focused on automated feedback generation to help teachers provide timely support to every student. However, prior studies often overlook key pedagogical principles, such as mastery and progress adaptation, that shape effective feedback strategies. This paper introduces a novel pedagogical framework for LLM-driven feedback generation derived from established feedback models and local insights from secondary school teachers. To evaluate this framework, we implemented a web-based application for Python programming with LLM-based feedback that follows the framework and conducted a mixed-method evaluation with eight secondary-school computer science teachers. Our findings suggest that teachers…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
