Predicting Data Science Programming Performance: Using Fair ML to detect Bias

Abstract This study investigates the performance and fairness of predictive models designed to predict data science programming performance using fine-grained log data from a sample of students solving Data Science tasks in DaTu . Our analysis reveals that Logistic Regression outperformed other models in terms of accuracy. Through Variable Importance analysis, we found that the 'paste answer' variable emerged as a critical predictor for Logistic Regression and KNeighbors classifier models, whereas multiple variables contributed equally to the GaussianNB model's predictive power. We evaluated fairness, focusing on the variable 'chatbot access' (with or without access to chatbot), finding evidence of bias. The models demonstrated lower score distributions for the unprivileged group (no-AI access). To mitigate this bias, we employed various techniques: Resampling, Reweighting, and ROC pivot. Of these, only Reweighting significantly improved fairness metrics. As an alternative approach, we considered the ceteris paribus cutoff method to minimize parity loss. In conclusion, this study emphasizes the significance of evaluating fairness in educational predictive modeling. This work offers a nuanced and data-driven approach to assessing students' data science programming skills.

Authors

Institutions

Publication Details

Journal
Smart Learning Environments
Published
2026-04-20
DOI
https://doi.org/10.1186/s40561-026-00436-2
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting Data Science Programming Performance: Using Fair ML to detect Bias

Tenzin Doleck, Pedram Agand, Dylan Pirrotta
Smart Learning Environments
Teaching and Learning Programming
article

Predicting Data Science Programming Performance: Using Fair ML to detect Bias

Tenzin Doleck, Pedram Agand, Dylan Pirrotta
article en

Abstract

Abstract This study investigates the performance and fairness of predictive models designed to predict data science programming performance using fine-grained log data from a sample of students solving Data Science tasks in DaTu . Our analysis reveals that Logistic Regression outperformed other models in terms of accuracy. Through Variable Importance analysis, we found that the 'paste answer' variable emerged as a critical predictor for Logistic Regression and KNeighbors classifier models, whereas multiple variables contributed equally to the GaussianNB model's predictive power. We evaluated fairness, focusing on the variable 'chatbot access' (with or without access to chatbot), finding evidence of bias. The models demonstrated lower score distributions for the unprivileged group (no-AI access). To mitigate this bias, we employed various techniques: Resampling, Reweighting, and ROC pivot. Of these, only Reweighting significantly improved fairness metrics. As an alternative approach, we considered the ceteris paribus cutoff method to minimize parity loss. In conclusion, this study emphasizes the significance of evaluating fairness in educational predictive modeling. This work offers a nuanced and data-driven approach to assessing students' data science programming skills.

Smart Learning EnvironmentsVol. 13(1)
Simon Fraser University (CA)
Canada Foundation for Innovation, British Columbia Knowledge Development Fund
Quality Education
Openalex Percentile: Top 16%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Predicting Data Science Programming Performance: Using Fair ML to detect Bias — Tenzin Doleck, Pedram Agand, et al. · Smart Learning Environments (2026) | TGRS Research Map | TGRS