Please use this identifier to cite or link to this item: https://hdl.handle.net/10356/183838
Title: From error patterns to learning opportunities: ML classification and GenAI synthesis in coding education
Authors: Lau, Shao Wei
Keywords: Computer and Information Science
Issue Date: 2024
Publisher: Nanyang Technological University
Source: Lau, S. W. (2024). From error patterns to learning opportunities: ML classification and GenAI synthesis in coding education. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/183838
Project: CCDS24-0258
Abstract: Coding education is increasingly turning to technology to provide students with personalised and effective learning experiences. This paper presents a novel approach that leverages machine learning (ML) classification and generative AI (GenAI) synthesis to identify and replicate common coding mistakes, turning them into valuable learning opportunities. The ML model is trained to classify erroneous code samples into predefined categories, providing insights into the types of mistakes students frequently make. Simultaneously, the GenAI model generates synthetic yet realistic erroneous code based on these patterns, allowing students to practice identifying and correcting these mistakes. By incorporating both ML classification and GenAI synthesis, this system enhances coding education by fostering targeted practice, improving error identification skills, and providing a deeper understanding of common coding pitfalls. This report explores the technical implementation, educational benefits, and potential for broader adoption of this integrated approach in coding education.
URI: https://hdl.handle.net/10356/183838
Schools: College of Computing and Data Science 
Fulltext Permission: restricted
Fulltext Availability: With Fulltext
Appears in Collections:CCDS Student Reports (FYP/IA/PA/PI)

Files in This Item:
File Description SizeFormat 
Final_Year_Report_Lau_Shao_Wei.pdf
  Restricted Access
1.08 MBAdobe PDFView/Open

Page view(s)

18
Updated on May 7, 2025

Download(s)

4
Updated on May 7, 2025

Google ScholarTM

Check

Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.