English

Automated Program Repair of Uncompilable Student Code

Software Engineering 2025-12-24 v3 Artificial Intelligence Computers and Society

Abstract

A significant portion of student programming submissions in CS1 learning environments are uncompilable, limiting their use in student modeling and downstream knowledge tracing. Traditional modeling pipelines often exclude these cases, discarding observations of student learning. This study investigates automated program repair as a strategy to recover uncompilable code while preserving students' structural intent for use in student modeling. Within this framework, we assess large language models (LLMs) as repair agents under high- and low-context prompting conditions. Repairs were evaluated for compilability, edit distance, and preservation of students' original structure and logic. While all models produced compilable repairs, they differed in how well they preserve students' control flow and code structure, affecting their pedagogical utility. By recovering uncompilable submissions, this work enables richer and more comprehensive analyses of learners' coding processes and development over time.

Keywords

Cite

@article{arxiv.2510.06187,
  title  = {Automated Program Repair of Uncompilable Student Code},
  author = {Griffin Pitts and Aum Pandya and Darsh Rank and Tirth Bhatt and Muntasir Hoq and Bita Akram},
  journal= {arXiv preprint arXiv:2510.06187},
  year   = {2025}
}

Comments

In Proceedings of the 57th ACM Technical Symposium on Computer Science Education V.2 (SIGCSE TS 2026)

R2 v1 2026-07-01T06:22:03.979Z