Idea · Oct 1, 2026

Executable Buggy Tracers: Turning a Control-Structure Misconception Taxonomy into Runnable Student Models for Distractor Generation and Trace-Error Diagnosis

Encodes each misconception in a recent taxonomy of how students misread conditionals and loops as a small 'buggy interpreter', then uses those interpreters to generate tracing questions with principled distractors and to diagnose which misconception explains a wrong answer, benchmarking LLMs against the executable models.

What it would do

Eckert and Kautz's ITiCSE 2025 poster proposes a taxonomy of misconceptions and difficulties students have when reading and tracing simple control structures, explicitly as a basis for assessment tools. This project makes the taxonomy executable: for a restricted Python subset, each taxonomy entry (for example 'else branch also runs', 'loop body executes once', 'condition re-checked only at the end', 'while treated as if') becomes a modified interpreter rule, in the tradition of Brown and Burton's BUGGY models for arithmetic and the recent MalruleLib for mathematics. Running a program under each buggy interpreter yields the exact wrong trace a student holding that misconception would produce, which gives (1) automatically generated tracing items whose distractors each map to one named misconception, (2) a diagnostic engine that infers the most likely misconception set from a student's answers across items, and (3) solution-free hints that target the inferred rule rather than the answer. A second contribution is a benchmark asking whether LLMs can predict misconception-consistent wrong traces and diagnose the misconception from a trace, measuring the gap between executable and LLM-simulated student models.

More in Assessment & Grading

All 132 ideas in Assessment & Grading →