AI-Generated Errors as a Learning Tool: Improving Programming Education Through Error Correction

The Journal of Educators Online, 2026

Full text Open access: Gold Metadata (CSL-JSON)
DOI 10.9743/jeo.2026.23.1.15
Data confidence 70 medium
How this score is calculated

It is built from checkable properties of the record itself: whether the article has a DOI, how many independent sources confirmed its data, whether the required fields are filled in, and how recent the latest confirmation is. Disagreement between sources and a missing identifier lower it. A value of 80 or above means the record was published without further checking; 60 to 79 means it is published at reduced confidence, with a manual check advisable. A record verified by an editor by hand is never pushed below 90 by a recalculation. This scores our data about the article, not the article itself.

Abstract

This study examines the utilization of AI-generated errors in programming education, with a focus on students' ability to identify and correct errors intentionally introduced into AI-generated code.The primary objective is to evaluate the effectiveness of this approach in enhancing students' programming competence and academic performance.Participants engaged with AI-generated code containing predefined errors, and their error detection and correction skills were assessed.The findings indicate that this method supports the development of programming proficiency and contributes to improved academic outcomes.This study adds to the existing literature on AI in education, providing a basis for future research on integrating AI tools into programming instruction.