Skip to content
Preprint

Predicting Struggling Students in CS1 Programming Using Keystroke-Level Editing Features

Aug 2026 · 0 citations · 12 references
Computer Science

TL;DR

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.

View source

Similar papers

Book Jul 2026

Exploring Upper Elementary Students' Debugging Strategies in Scratch

This qualitative case study explored how 4th and 5th grade students described identifying bugs after participating in a four-week online Scratch Summer camp that included explicit debugging instruction and discussed implications for designing K–-5 debugging instruction that supports students in moving from identifying...

Yerika Jimenez, Christina Gardner-Mccune, K. Tong et al. · 0 citations
Jul 2026

CodeOwl: Automatic Generation of Tiered Parsons Problems for Introductory Programming

This paper introduces CodeOwl, an AI-driven tool that automates the generation of tiered Parsons problems automatically, and evaluated CodeOwl with a mixed-method framework comprising complexity analysis, expert ratings, and user studies.

Luca Cisternino, Florian Obermuller, Gordon Fraser · 0 citations
Book Open access Aug 2026

Exploring LLM-generated hints for students’ Error Recovery in programming

Findings may indicate that LLM-supported programming environments should supply context-sensitive scaffolding, automatically providing the model with the learner’s code and error trace rather than relying on the learner to communicate that context.

Bibeg Limbu, Kaimao Sheng, Mona Münstermann et al. · 0 citations
Book Open access Jul 2026

Quantifying Student Mistakes and Misconceptions of the Run-Time Memory Layout of Java Programs

The most common mistakes that students made are identified, as well as mistakes that were particularly likely to persist even in the face of targeted feedback, and a conceptual pretest-posttest designed to help contextualize these mistakes.

Michelle Le Pham, Rebecca Schreib · 0 citations
Book Open access Aug 2026

An Analysis of LLM Performance on Introductory C++ Programming Assignments

Background and Context. Large Language Models (LLMs) have become widely accessible to students in introductory programming courses [1], yet limited research evaluates their performance on authentic assignments with pedagogical constraints such as restricted language features and course-specific conventions. Existing be...

Iris Xu, Michał Nowak, E. Shaffer · 0 citations
Preprint Aug 2026

Beyond the Traceback: Using LLMs for Adaptive Explanations of Programming Errors

While LLM-rewritten messages significantly improved subjective evaluations, with pragmatic messages rated as clearer and less cognitively demanding, these perceived gains did not translate into statistically significant improvements in objective debugging performance.

Alexandru-Radu Moraru, Shreyan Biswas, U. Gadiraju · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.