CSEDM - 2026 • The 10th Educational Data Mining in Computer Science Education Workshop
A Multi-Institutional Study of Early Student Success Prediction using Programming Log Data
Authored by Samiha Marwan & Thomas W. Price – North Carolina State University
Motivation
01
Limited Generalizability
Prior work evaluates predictive power of programming log data features within a single course or environment.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Motivation
01
Limited Generalizability
Prior work evaluates predictive power of programming log data features within a single course or environment.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
it is unknown whether features predictive of student performance in one context will have the same predictive power in another context
Dataset context:
Motivation
02
Standardization Obstacle
Features are defined and computed differently across papers, makes it difficult to replicate or compare results.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
How to calculate student attempts across problems?
What about problems that students did not attempt?
What about problems that students started but did not complete?
Literature Review: Prior Studies
Hoq et al. (2023)
Average score on students' assignments correlates with final course scores.
Leinonen et al. (2017)
Active Time correlates with assignment scores, but correlates less with exam scores.
Watson et al. (2014)
Watwin score and the percentage of lab time spent on resolving errors correlate with course performance.
kerschbaumer et al. (2023)
Number of comments and source code complexity has a positive influence on students' success.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Score Metrics
Time Metrics
Error & Time Metrics
Code Metrics
Paper Goals
01
Evaluate the predictive validity of commonly used features across different course contexts.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
02
Explore whether simple features are more or less powerful than ones that
require additional logging or analysis.
Research Questions
RQ1
Which features derived from students' programming log data early in the course are most predictive of students' course outcomes?
How consistently do these features perform across datasets?
Samiha Marwan & Thomas W. Price • CSEDM - 2026
RQ2
Definition of Score Metrics
Attempts
The number of times the student submitted their code for feedback on a given problem
MaxScore
The highest score (0-1) achieved across all submissions for a given problem
FirstCorrect
Binary indicator if the first submission for a problem was successful.
EverCorrect
The proportion of all \textit{attempted} problems that the student ever completed correctly
ProblemsStarted
The number of problems that a student started.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Definition of Time Metrics
StartTime
The time of the first log entry for the student's work on a given problem.
FirstCorrectTime
The time of the first fully correct submission (i.e. passing all test cases) for a given problem.
ActiveTime
The time the student spent actively working on this problem, ignoring gaps that may indicate disengagement or breaks.
PassiveTime
The amount of time the student spent in shorter gaps in programming activity (with no log data) on this problem.
TotalTime
The sum of ActiveTime and PassiveTime.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Multi-Institutional Dataset Profiles
CWO (Java) - US Public R1
Small exercises, any-time submission. Includes student final exam scores.
Falcon (Python) - US Air Force Academy
Logs testing and grading submissions. Exam scores calculated from problem-labeled questions.
Edwards (Python) - Mid-sized US
Major/non-major students. Analyzed final graded submissions only. Includes final course grades.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
CB (Python) - UFAM Brazil
Online Judge (CodeBench) logs keystrokes and submissions. Includes exam coding scores.
Methodology
1. Early Prediction Window
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Methodology
2. Data Aggregation & Normalization
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Methodology
3. Correlation Analysis
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Results - Correlation Analysis
Figure 1: Spearman correlation coefficients across eight datasets. Darker shades indicate stronger predictive power for student success metrics. * shows the significance of the correlation.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
01
Student Scores on Assignments
Early assignment scores represent the most reliable predictive feature for student outcomes across all datasets analyzed.
02
Early Start Time (Procrastination)
Students who start problems earlier (lower StartTime) consistently perform better in the course, aligning with prior research on the negative impact of procrastination on success.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Predictive features of students' course outcomes (RQ1)
Consistent features across datasets (RQ2)
01
Little consistency across datasets
Max Score and Start Time are the most reliable across datasets.
02
Some consistency between datasets
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Why are features predictive in some datasets, but not others?
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Why are features predictive in some datasets, but not others?
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Why are features predictive in some datasets, but not others?
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Implications/Future Work
01
The importance of evaluating predictive analytics on multiple datasets highlights features that can be broadly adoptable, or should be generalized with caution.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Implications/Future Work
01
The importance of evaluating predictive analytics on multiple datasets highlights features that can be broadly adoptable, or should be generalized with caution.
02
Data sharing and documentation are essential to enable secondary analysis and support understanding of the results.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Implications/Future Work
01
The importance of evaluating predictive analytics on multiple datasets highlights features that can be broadly adoptable, or should be generalized with caution.
02
Data sharing and documentation are essential to enable secondary analysis and support understanding of the results.
03
Standardization of log data features calculations to facilitate replication and secondary data analysis
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Implications/Future Work
01
The importance of evaluating predictive analytics on multiple datasets highlights features that can be broadly adoptable, or should be generalized with caution.
02
Data sharing and documentation are essential to enable secondary analysis and support understanding of the results.
03
Standardization of log data features calculations to facilitate replication and secondary data analysis
04
Exploration of how contextual variations impact the predictive power of programming log features.
Samiha Marwan & Thomas W. Price • CSEDM - 2026
Thank You! - Questions?
Samiha Marwan - Postdoctoral Researcher
samarwan@ncsu.edu
Thomas W. Price - Associate Professor in CS
twprice@ncsu.edu
Thanks to Dr. Yang Shi for presenting this work!
CSEDM - 2026 - The 10th Educational Data Mining in Computer Science Education Workshop