TY - GEN
T1 - An Algorithm for Generating Explainable Corrections to Student Code
AU - Malysheva, Yana
AU - Kelleher, Caitlin
N1 - Publisher Copyright:
© 2022 Owner/Author.
PY - 2022/11/17
Y1 - 2022/11/17
N2 - Students in introductory computer science courses often need individualized help when they get stuck solving programming problems. But providing such help can be time-consuming and thought-intensive, and therefore difficult to scale as Computer Science classes grow larger in size. Automatically generated fixes with explanations have the potential to integrate into a variety of mechanisms for providing help to students who are stuck on a programming problem. In this paper, we present a data-driven algorithm for generating explainable fixes to student code. We evaluate a Python implementation of the algorithm by comparing its output at different stages of the algorithm to state-of-the-art systems with similar goals. Our algorithm outperforms existing systems that can analyze and fix beginner-written Python code. Further, fixes it generates conform very well to corrections written by human experts for an existing benchmark of code correction quality.
AB - Students in introductory computer science courses often need individualized help when they get stuck solving programming problems. But providing such help can be time-consuming and thought-intensive, and therefore difficult to scale as Computer Science classes grow larger in size. Automatically generated fixes with explanations have the potential to integrate into a variety of mechanisms for providing help to students who are stuck on a programming problem. In this paper, we present a data-driven algorithm for generating explainable fixes to student code. We evaluate a Python implementation of the algorithm by comparing its output at different stages of the algorithm to state-of-the-art systems with similar goals. Our algorithm outperforms existing systems that can analyze and fix beginner-written Python code. Further, fixes it generates conform very well to corrections written by human experts for an existing benchmark of code correction quality.
UR - https://www.scopus.com/pages/publications/85142936201
U2 - 10.1145/3564721.3564731
DO - 10.1145/3564721.3564731
M3 - Conference contribution
AN - SCOPUS:85142936201
T3 - ACM International Conference Proceeding Series
BT - Proceedings of 22nd Koli Calling International Conference on Computing Education Research, Koli Calling 2022
PB - Association for Computing Machinery
T2 - 22nd Koli Calling International Conference on Computing Education Research, Koli Calling 2022
Y2 - 17 November 2022 through 20 November 2022
ER -