Idea · Jul 23, 2026
Socratic Error Cascade Visualizer
An instructor tool that ingests a student's full sequence of code submissions for one problem, traces how error types shifted across attempts, and generates targeted Socratic questions for the pivotal wrong-turn submission.
What it would do
Upload all N versions of a student's code for a single assignment problem and the tool uses Claude to classify each version's errors (syntactic, conceptual, and strategic), draw a color-coded timeline showing how error counts shifted across attempts, and detect the pivotal wrong-turn submission where the student dug deeper into a misconception instead of correcting it. At each pivot point the tool generates a short sequence of Socratic questions an instructor or tutor bot could have asked in real time. Instructors view cascades for all students side by side to see where the class diverged. A Flask backend processes submissions through a prompt-engineered LLM pipeline; a React + Recharts frontend renders the error timeline with expandable Socratic question cards per pivot. The tool accepts Jolly Feedback submission logs directly, making it immediately deployable in CSS 142 and 143 without new data collection infrastructure.
Key features
- Error-type timeline across all submission attempts (syntactic, conceptual, strategic)
- Pivot-point detection highlighting the submission where the student locked into a misconception
- Socratic question sequence generator for each detected misconception pivot
- Class-wide heatmap of pivot points grouped by assignment and error category