Idea · Jul 28, 2026

From Generic to Grounded: Calibrating LLM-Generated Erroneous Code Examples to Institution-Specific CS1 Misconception Patterns

Extends automatic LLM-based erroneous code example generation by grounding it in a submission-log-derived misconception taxonomy specific to one institution, then evaluates whether locally-calibrated examples better target actual student errors than generic LLM generation.

What it would do

A 2026 SIGCSE poster established that LLMs can automatically generate erroneous code examples for CS1 with accurate explanations, but the generation uses generic prompts unanchored to any institution's actual error distribution. This research proposes a two-phase extension. Phase 1 mines years of Jolly Feedback submission logs from UW Bothell CSS 142/143 to produce a ranked, institution-specific misconception taxonomy via LLM-assisted clustering; this taxonomy is then injected as a structured constraint into the erroneous-example generation prompt. Phase 2 compares generic vs. grounded examples on two criteria: (a) alignment with held-out real student errors, measured by expert rater agreement, and (b) diagnostic utility, measured by whether students who receive grounded erroneous examples as early-course prompts show lower resubmission rates on subsequent assignments. The study exploits the unique asset of Pisan's existing Jolly Feedback infrastructure — no new data collection is required for Phase 1 — and directly advances the DT-2 misconception-modeling thread of his digital-tutor agenda.

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 →