Automated clustering and program repair for introductory programming assignments

Author:

Gulwani Sumit1,Radiček Ivan2,Zuleger Florian2

Affiliation:

1. Microsoft, USA

2. Vienna University of Technology, Austria

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.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference39 articles.

1. Anne Adam and Jean-Pierre Laurent. 1980. LAURA a system to debug student programs. Artificial Intelligence 15 1âĂŞ2 (1980) 75 – 122. 10.1016/0004-3702(80)90023-5 Anne Adam and Jean-Pierre Laurent. 1980. LAURA a system to debug student programs. Artificial Intelligence 15 1âĂŞ2 (1980) 75 – 122. 10.1016/0004-3702(80)90023-5

2. On the automation of fixing software bugs

3. D. Beyer A. Cimatti A. Griggio M. E. Keremoglu S. F. University and R. Sebastiani. 2009. Software model checking via large-block encoding. In 2009 Formal Methods in Computer-Aided Design. 25–32. D. Beyer A. Cimatti A. Griggio M. E. Keremoglu S. F. University and R. Sebastiani. 2009. Software model checking via large-block encoding. In 2009 Formal Methods in Computer-Aided Design. 25–32.

4. Angelic debugging

Cited by 33 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Flexible control flow graph alignment for delivering data-driven feedback to novice programming learners;Journal of Systems and Software;2024-04

2. Automated Grading and Feedback Tools for Programming Education: A Systematic Review;ACM Transactions on Computing Education;2023-12-13

3. A Bug's New Life: Creating Refute Questions from Filtered CS1 Student Code Snapshots;Proceedings of the ACM Conference on Global Computing Education Vol 1;2023-12-05

4. How Helpful do Novice Programmers Find the Feedback of an Automated Repair Tool?;2023 IEEE International Conference on Teaching, Assessment and Learning for Engineering (TALE);2023-11-28

5. Using Large Language Models for Bug Localization and Fixing;2023 12th International Conference on Awareness Science and Technology (iCAST);2023-11-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3