Enhancing Programming Error Messages in Real Time with Generative AI

Bailey Kimmel, Austin Lee Geisert, Lily Yaro, Brendan Gipson, Ronald Taylor Hotchkiss, Sidney Kwame Osae-Asante, Hunter Vaught, Grant Wininger and Chase Yamaguchi

Abstract

Generative AI is changing the way that many disciplines are taught, including computer science. Researchers have shown that generative AI tools are capable of solving programming problems, writing extensive blocks of code, and explaining complex code in simple terms. Particular promise has been shown in using generative AI to enhance programming error messages. Both students and instructors have complained for decades that these messages are often cryptic and difficult to understand. Yet recent work has shown that students make fewer repeated errors when enhanced via GPT-4. We extend this work by implementing feedback from ChatGPT for all programs submitted to our automated assessment tool, Athene, providing help for compiler, run-time, and logic errors. Our results indicate that adding generative AI to an automated assessment tool does not necessarily make it better and that design of the interface matters greatly to the usability of the feedback that GPT-4 provided.

Venue
CHI 2024
Volume
Extended Abstracts of the CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3613905.3647967
PDF
https://dl.acm.org/doi/pdf/10.1145/3613905.3647967
Anthology ID
2024.chi-ea.180

Cite

@inproceedings{kimmel-etal-2024-enhancing,
    title = {{Enhancing Programming Error Messages in Real Time with Generative AI}},
    author = {Bailey Kimmel and Austin Lee Geisert and Lily Yaro and Brendan Gipson and Ronald Taylor Hotchkiss and Sidney Kwame Osae-Asante and Hunter Vaught and Grant Wininger and Chase Yamaguchi},
    booktitle = {Extended Abstracts of the CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400703317},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3613905.3647967},
    url = {https://doi.org/10.1145/3613905.3647967},
    abstract = {Generative AI is changing the way that many disciplines are taught, including computer science. Researchers have shown that generative AI tools are capable of solving programming problems, writing extensive blocks of code, and explaining complex code in simple terms. Particular promise has been shown in using generative AI to enhance programming error messages. Both students and instructors have complained for decades that these messages are often cryptic and difficult to understand. Yet recent work has shown that students make fewer repeated errors when enhanced via GPT-4. We extend this work by implementing feedback from ChatGPT for all programs submitted to our automated assessment tool, Athene, providing help for compiler, run-time, and logic errors. Our results indicate that adding generative AI to an automated assessment tool does not necessarily make it better and that design of the interface matters greatly to the usability of the feedback that GPT-4 provided.}
}