Predicting Struggling Students in CS1 Programming Using Keystroke-Level Editing Features
Yasuyo Kofune, Kazumasa Shimari, Kenichi Matsumoto
Key points
From the paper's conclusion- These findings indicate that behavioral signals present at the very start of an exercise contain useful clues about whether a student will ultimately solve the problem, and that keystroke-level editing logs provide additional value for early prioritization beyond execution logs alone.
Abstract
This paper investigates the feasibility of early detection of struggling students during CS1 programming exercises using keystroke-level logs. Some students fail to reach a correct solution before the exercise ends, and by the time this becomes apparent from grades or final outcomes, the opportunity for timely instructor support aimed at helping them recover may have passed. We use data from the CodeBench platform, which records real-time code editing events at the keystroke level, alongside execution and submission logs. We define two outcome groups: Breakthrough (BT) students, whose prior submissions all receive 0% and whose final submission achieves full credit, and Fully Stuck (FS) students, whose submissions all receive 0% without reaching a correct solution. To examine this feasibility, we focus on two questions: (RQ1) whether adding keystroke-level editing features improves the prediction of FS students over execution-log features alone, and (RQ2) at which stage BT and FS students can be predicted most accurately. Experiments on the 2019-1 semester of the CodeBench dataset, comprising 507 students, compare three feature configurations: execution-based features (ExecOnly), CodeMirror-based features (CMOnly), and their combination (Combined). We evaluate prediction across successive submission-based stages during each exercise. In the earliest stage, CMOnly outperforms ExecOnly (AUROC 0.654 vs. 0.575), and Combined further improves over ExecOnly by +0.098 (AUROC 0.674). Across all configurations, the earliest stage yielded the strongest predictive signal. These findings indicate that behavioral signals present at the very start of an exercise contain useful clues about whether a student will ultimately solve the problem, and that keystroke-level editing logs provide additional value for early prioritization beyond execution logs alone.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- STEAP: Camera-Based Longitudinal Classroom Behavior Sensing and Static-Temporal Data Fusion for Academic Performance Prediction in Software Engineering Education.Sensors (Basel, Switzerland) · 2026
- Impact of AI-assisted programming on a data-driven learning analytics framework for detecting the performance capability gap and cognitive debt in programming educationDiscover Sustainability · 2026
- A Scoping Review of Vibe Coding and AI-Assisted Programming in University Computing EducationAI in Education · 2026
- Grading Real Coursework with a Local Language ModelComputers · 2026
- A multifactor model for assessing programming knowledge based on the synchronization of AI analytics and expert evaluationFrontiers in Education · 2026
- Better Plans, Better Outcomes: Integrating Historical Data into Student Planning in a Computing CoursearXiv · 2026