Idea · Aug 29, 2026

Visual Flowchart Differencing for Misconception Classification: A SKETCHY-Inspired Approach to Targeted CS1 Feedback

Extends LLM-generated flowchart feedback by adding a structural differencing layer that classifies the topology of deviation between a student's control-flow graph and the correct solution, then delivers misconception-specific targeted hints grounded in the visual deviation pattern.

What it would do

CodeFlow (SIGCSE TS 2026, Zheng and Shi) demonstrates that translating student code into flowcharts for visual comparison with correct solutions is a promising formative feedback strategy, but the system stops at highlighting errors without classifying the type of logical misconception that produced the structural deviation. This research proposes a two-phase extension: a structural differencing phase that compares student and correct flowcharts using a vocabulary of graph-topology deviations (missing conditional branches, inverted predicate direction, misplaced assignment nodes, extra or absent loop-back edges) directly analogous to the visual routines vocabulary from Pisan's SKETCHY system for domain-independent graph interpretation; and a misconception classification phase that maps each deviation pattern to a canonical CS1 misconception type (off-by-one, missing initialization, confused operator precedence, aliasing confusion). Classified misconceptions then drive targeted, misconception-specific LLM feedback rather than generic error descriptions. The primary evaluation uses archived CS1 submission logs from Jolly Feedback to compare the precision of flowchart-differencing-derived misconception labels against expert-annotated ground truth, then measures whether misconception-targeted visual feedback produces higher-quality student revisions than generic LLM text feedback on the same submission set, all without requiring live human-subjects collection.

More in Assessment & Grading

LLM-Generated Targeted Feedback for Algorithm Simulation Misconceptions in CS2: Extending Validated Misconception Taxonomies from Graph Algorithm Traces

An LLM-based feedback pipeline that takes a student's algorithm simulation trace for Dijkstra's algorithm, classifies the trace against a validated misconception taxonomy, and generates a misconception-specific Socratic hint. Validated on archived VAS trace data from CSS 342 and deployed A/B in a live data structures course.

Assessment & GradingResearch directionResearchSep 1, 2026

All 132 ideas in Assessment & Grading →