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.

More in Assessment & Grading

Misconception-Seeded Exercise Synthesis

Extend the verification-first LLM exercise generation pipeline to accept a specific student misconception as a seed, producing CS1 exercises guaranteed to surface and remediate that conceptual error without revealing the solution.

Assessment & GradingResearch directionResearchJul 29, 2026

All 132 ideas in Assessment & Grading →