Idea · Jul 10, 2026
Algorithm Misconception Mirror
An interactive web tool where students manually trace through graph and sorting algorithms on a live visualization; the system detects systematic error patterns that reveal known misconceptions and generates targeted Socratic hints rather than answers. Instructors see a class-wide misconception heatmap.
What it would do
Research has identified specific, reproducible misconceptions that students hold about algorithms like Dijkstra's (confusing fringe with spanning tree, applying alphabetical tie-breaking instead of priority ordering) - but standard autograders just mark the answer wrong. Algorithm Misconception Mirror records each student step choice on an interactive D3 graph or array visualization, applies lightweight heuristic classifiers for known misconception patterns, and when a pattern fires, generates a personalized Socratic question via the Claude API that guides the student toward the correct conceptual model without revealing the answer. An instructor dashboard aggregates misconception frequencies across the class, letting professors know which concept to re-teach before the exam.
Key features
- Interactive step-by-step traces for Dijkstra, BFS, binary search, and merge sort on live visualizations
- Misconception classifier: heuristic rules identify alphabetical-ordering, fringe-spanning-tree conflation, and 3 other common error patterns
- LLM-generated Socratic hints targeted at the classified misconception, never revealing the solution
- Student session replay so TAs can see exactly which choices triggered a misconception flag
- Instructor heatmap: per-algorithm, per-misconception frequency counts across the whole class