Idea · Aug 26, 2026
From Submission Log to Reflection Prompt: LLM-Generated Metacognitive Scaffolds from Automated Grader Data in CS1
Design and evaluate an LLM pipeline that reads automated grader submission logs and generates personalized Socratic reflection prompts for CS1 students, testing whether structured log-derived prompts produce richer metacognitive reflection than generic post-assignment questions.
What it would do
Bransford et al.'s 2026 SIGCSE paper demonstrates that having students record and compare programming sessions with and without generative AI, then apply the DEAL (Describe, Examine, Articulate Learning) reflection framework, produces measurable gains in metacognitive skill. The method works but requires students to install screen-recording software, remember to start recordings, and watch 30+ minutes of footage: a setup cost that limits adoption in large CS1 courses. Automated graders already capture a dense event log for free: each submission carries a timestamp, a pass/fail vector across test cases, a line-count delta, and an error type (compilation, test, timeout). This research asks whether a carefully prompted LLM can read a student's submission sequence and generate Socratic reflection prompts as pedagogically effective as those a student would derive from watching their own recording. The pipeline works in three stages. First, a classifier maps the raw event sequence to a small set of interpretable log signal types (for example, burst-submit-after-pause indicates possible external help or confusion breakthrough; rapid-line-growth-then-test-pass indicates a large copy-paste; 15-plus compile-error-cycles before first test pass indicates syntax-level confusion rather than algorithmic confusion). Second, Claude (claude-sonnet-5) reads the signal type labels and generates three Socratic prompts tailored to what the log shows, without revealing the signal interpretation to the student. Third, students submit a written reflection paragraph in response to their assigned prompt. Jolly Feedback's existing submission logs for CSS 142 at UW provide the raw data (anonymized, already approved for research under existing IRB). A pilot A/B study assigns half of CSS 142 students to log-derived prompts and half to a matched set of generic reflection questions ('What was the hardest part of this assignment?') and measures reflection quality using a simplified DEAL rubric coded by two independent raters. A secondary analysis compares the log-derived prompts from a sample of 20 students to what a TA independently identified as the pedagogical moment of interest from watching those students' screen recordings, testing whether the log signal captures the same moments the video reveals.