English

Mining patterns in syntax trees to automate code reviews of student solutions for programming exercises

Software Engineering 2024-05-06 v1 Computers and Society Machine Learning

Abstract

In programming education, providing manual feedback is essential but labour-intensive, posing challenges in consistency and timeliness. We introduce ECHO, a machine learning method to automate the reuse of feedback in educational code reviews by analysing patterns in abstract syntax trees. This study investigates two primary questions: whether ECHO can predict feedback annotations to specific lines of student code based on previously added annotations by human reviewers (RQ1), and whether its training and prediction speeds are suitable for using ECHO for real-time feedback during live code reviews by human reviewers (RQ2). Our results, based on annotations from both automated linting tools and human reviewers, show that ECHO can accurately and quickly predict appropriate feedback annotations. Its efficiency in processing and its flexibility in adapting to feedback patterns can significantly reduce the time and effort required for manual feedback provisioning in educational settings.

Keywords

Cite

@article{arxiv.2405.01579,
  title  = {Mining patterns in syntax trees to automate code reviews of student solutions for programming exercises},
  author = {Charlotte Van Petegem and Kasper Demeyere and Rien Maertens and Niko Strijbol and Bram De Wever and Bart Mesuere and Peter Dawyndt},
  journal= {arXiv preprint arXiv:2405.01579},
  year   = {2024}
}
R2 v1 2026-06-28T16:14:38.639Z