Automated Clustering and Program Repair for Introductory Programming Assignments

Sumit Gulwani, Ivan Radiček, Florian Zuleger
3/10/2016
cs.PL

Official code: iradicek/clara (46 stars, GPL-3.0, last commit 2024-03-09).

Abstract

Providing feedback on programming assignments is a tedious task for the instructor, and even impossible in large Massive Open Online Courses with thousands of students. Previous research has suggested that program repair techniques can be used to generate feedback in programming education. In this paper, we present a novel fully automated program repair algorithm for introductory programming assignments. The key idea of the technique, which enables automation and scalability, is to use the existing correct student solutions to repair the incorrect attempts. We evaluate the approach in two experiments: (I) We evaluate the number, size and quality of the generated repairs on 4,293 incorrect student attempts from an existing MOOC. We find that our approach can repair 97% of student attempts, while 81% of those are small repairs of good quality. (II) We conduct a preliminary user study on performance and repair usefulness in an interactive teaching setting. We obtain promising initial results (the average usefulness grade 3.4 on a scale from 1 to 5), and conclude that our approach can be used in an interactive setting.

View on arXivView PDF

Code Implementations(1)

iradicek/claraOfficial100%
GPL-3.0

CLuster And RepAir tool for introductory programming assignments

4628C, CythonMar 11, 20162 years agoGPL-3.0

Similar Papers

Cite this paper

@article{gulwani2016automated,
  title  = {Automated Clustering and Program Repair for Introductory Programming Assignments},
  author = {Sumit Gulwani and Ivan Radiček and Florian Zuleger},
  year   = {2016},
  eprint = {1603.03165},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1603.03165}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1603.03165.svg)](https://codeofpaper.com/paper/1603.03165)

Discussion