Idea · Aug 10, 2026
Debug Duck Misconception Mining: Classifying CS1 Misconceptions from Learning-by-Teaching Explanations
Mine transcripts of students explaining code to an AI debug duck to classify CS1 misconceptions with higher fidelity than submission-error analysis alone, then generate targeted Socratic recovery hints.
What it would do
The 'Quack the Code' game-show tool (ITiCSE 2025) showed that undergraduate CS students willingly and repeatedly explain Java code to an LLM-powered debug duck, yet the authors did not analyze what those explanations reveal about student misconceptions. This research proposes to collect or synthetically generate a corpus of student-to-duck explanation transcripts, annotate them against an established CS1 misconception taxonomy (variable scope, off-by-one, loop termination, type coercion, method semantics), and develop an LLM-based classifier that extracts misconception labels from explanation text rather than from submission error types alone. The central hypothesis is that student explanations expose plausible-but-wrong conceptual theories that code errors cannot surface: a student who misunderstands variable scope may produce the same error pattern as one with an off-by-one error, but their explanations diverge sharply. Misconception labels from the classifier are then used to generate targeted Socratic recovery hints, extending Pisan's SIGCSE 2021 solution-free hint work with a richer upstream signal. The study requires no human subjects if using anonymized existing logs or LLM-generated synthetic transcripts calibrated to known misconception patterns.