Automated clustering and program repair for introductory programming assignments
Authors:
Open Access
- 11 June 2018
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 53 (4) , 465-480
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.Keywords
All Related Versions
This publication has 30 references indexed in Scilit:
- The ManyBugs and IntroClass Benchmarks for Automated Repair of C ProgramsIEEE Transactions on Software Engineering, 2015
- Feedback generation for performance problems in introductory programming assignments2014
- Automated feedback generation for introductory programming assignments2013
- On the automation of fixing software bugs2008
- Program Repair as a Game2005
- Finding and Fixing Faults2005
- Algorithms for enumerating all perfect, maximum and maximal matchings in bipartite graphs1997
- Simple Fast Algorithms for the Editing Distance between Trees and Related ProblemsSIAM Journal on Computing, 1989
- LAURA, a system to debug student programsArtificial Intelligence, 1980
- The Tree-to-Tree Correction ProblemJournal of the ACM, 1979