The Ohio State University
From Symptoms to Intent: A Data-Driven Pipeline for Diagnosing Novice Java Compilation Errors in the IDE
Abstract
dc:descriptionNovice Java programmers frequently struggle with the adversarial nature of compiler feedback. Complex error messages expose the internal design of Java syntax rather than addressing a student's underlying misconceptions, leading to confusion and frustration that increase their cognitive load and attrition. While automated compiler error taxonomies promise to classify these errors, current strategies face the scarcity of large-scale, annotated error datasets and fail to link from the technical error to the pedagogical root cause.This thesis presents a novel framework for classifying Java compilation errors to enable targeted pedagogical interventions using Natural Language Processing (NLP) and Large Language Model (LLM) techniques. To address data scarcity and long-tailed class imbalances, this research leverages the Project CodeNet dataset with 14 million code submissions alongside an LLM-assisted data synthesis and labeling pipeline. The resulting dataset trains a robust machine learning classifier designed to evaluate both the source code and the compiler message. Compared with rule-based decision tree, KNN, and linear approximation baselines, our hierarchical CodeT5 transformer model with a Multi-Layer Perceptron (MLP) head yielded an optimal balance of precision and inference latency, achieving 83% Macro-F1 score. Finally, this classifier is integrated into Integrated Development Environments (IDE) as an Intelligent Tutoring System (ITS). By grounding a generative AI chatbot with root cause category, the system effectively prevents LLM hallucination and enforces pedagogical safety. Ultimately, this data-driven pipeline transforms compiler errors from barriers into personalized learning opportunities for students and actionable analytic signals for instructors.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Gao, Yang
- Advisors dc:contributor.advisor
-
- Atiq, Syedah Zahra
- Morris, Jeremy
Subjects
dc:subject × 4Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1776860644492096