Idea · Aug 25, 2026

From Student Words to Misconception Labels: LLM Classification of Return-Keyword Explanations for Targeted Feedback in CS1 Java

Train and evaluate an LLM classifier that maps students' free-text explanations of function return semantics to a validated misconception taxonomy, then deliver Socratic feedback matched to each class inside an existing automated feedback pipeline.

What it would do

Tilanterä et al. (ITiCSE 2025) identified at least four distinct misconceptions about the Java `return` keyword through qualitative analysis of 3,000+ free-text responses from 617 CS1 students, including a newly discovered one: that `return` and `void` are mutually exclusive. The paper explicitly calls for automated targeted feedback grounded in these misconception classes. This research builds and evaluates exactly that system: an LLM classifier (zero-shot, few-shot, and fine-tuned variants) that labels student free-text explanations with the paper's taxonomy, followed by a Socratic feedback generator that produces a targeted hint for each class without revealing the correct answer. The classifier is evaluated against a human-annotated holdout set drawn from Pisan's existing Jolly Feedback submission logs for CSS 142. A pilot A/B study compares misconception-matched feedback against generic error messages on the metric of return-related error recurrence across resubmission attempts. Because the work uses anonymized historical submission data and integrates into an already-IRB-covered deployment, no new human-subjects approval is needed. The contribution is a closed-loop system that moves the Tilanterä et al. taxonomy from a paper artifact into a deployable, evidence-backed feedback layer.

More in Assessment & Grading

All 132 ideas in Assessment & Grading →