Idea · Jul 26, 2026
Repair-as-Diagnosis: Using LLM Program Repair Edits to Map CS1 Misconceptions and Generate Targeted Solution-Free Feedback
A research program that reframes automated program repair as diagnosis: the minimal edits an LLM makes to fix uncompilable student code implicitly classify the underlying misconception, and that classification can drive solution-free, targeted feedback without a reference solution.
What it would do
Pitts et al. (SIGCSE TS 2026) show that LLMs can recover uncompilable CS1 submissions while preserving structural intent, enabling downstream student modeling. This project extends that framing: the repair edit itself is a diagnostic signal. A missing-semicolon repair signals one misconception; a type-mismatch repair signals another; an undeclared-variable repair signals a third. By running LLM repair at scale over Jolly Feedback submission logs and clustering edit-pattern features, the project builds an institution-specific misconception taxonomy grounded in real compilation failures rather than hand-crafted examples. That taxonomy feeds a feedback generation layer that names the misconception and suggests a conceptual next step without revealing the fix, directly implementing the DT-1 and DT-2 research directions from Pisan's prior agenda. A controlled A/B study in CSS 142 compares repair-grounded feedback versus raw compiler error messages on resubmission count and time-to-pass. The project requires no new data collection infrastructure because Jolly Feedback already logs all submissions; Phase 1 log analysis is likely IRB-exempt.