Apex: automatic programming assignment error explanation

Author:

Kim Dohyeong1,Kwon Yonghwi1,Liu Peng1,Kim I. Luk1,Perry David Mitchel1,Zhang Xiangyu1,Rodriguez-Rivera Gustavo1

Affiliation:

1. Purdue University, USA

Abstract

This paper presents Apex, a system that can automatically generate explanations for programming assignment bugs, regarding where the bugs are and how the root causes led to the runtime failures. It works by comparing the passing execution of a correct implementation (provided by the instructor) and the failing execution of the buggy implementation (submitted by the student). The technique overcomes a number of technical challenges caused by syntactic and semantic differences of the two implementations. It collects the symbolic traces of the executions and matches assignment statements in the two execution traces by reasoning about symbolic equivalence. It then matches predicates by aligning the control dependences of the matched assignment statements, avoiding direct matching of path conditions which are usually quite different. Our evaluation shows that Apex is every effective for 205 buggy real world student submissions of 4 programming assignments, and a set of 15 programming assignment type of buggy programs collected from stackoverflow.com, precisely pinpointing the root causes and capturing the causality for 94.5% of them. The evaluation on a standard benchmark set with over 700 student bugs shows similar results. A user study in the classroom shows that Apex has substantially improved student productivity.

Funder

Defense Advanced Research Projects Agency

National Science Foundation

ONR

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference50 articles.

1. What is wrong with my binary search implementation? http: //stackoverflow.com/questions/21709124. What is wrong with my binary search implementation? http: //stackoverflow.com/questions/21709124.

2. Dijkstra’s algorithm not working. http://stackoverflow. com/questions/14135999 . Dijkstra’s algorithm not working. http://stackoverflow. com/questions/14135999 .

3. Logical error in my implementation of dijkstra’s algorithm. http://stackoverflow.com/questions/10432682 . Logical error in my implementation of dijkstra’s algorithm. http://stackoverflow.com/questions/10432682 .

4. Apex benchmarks. http://apexpub.altervista.org/. Apex benchmarks. http://apexpub.altervista.org/.

5. Euclid algorithm incorrect results. http://stackoverflow. com/questions/16567505 . Euclid algorithm incorrect results. http://stackoverflow. com/questions/16567505 .

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

1. Synthesis of nested loop exercises for practice in introductory programming;Egyptian Informatics Journal;2023-07

2. Neuroevolution-Based Generation of Tests and Oracles for Games;Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering;2022-10-10

3. Herramientas usadas para la evaluación formativa automatizada en cursos de programación asistidos por computadora;Revista Científica;2022-09-07

4. Automated Assessment in Computer Science Education: A State-of-the-Art Review;ACM Transactions on Computing Education;2022-06-09

5. Student Program Analysis and Repair Research;Software Engineering and Applications;2022

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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