Enhancing Programming Error Messages in Real Time with Generative AI
Authors:
- Bailey KimmelBKBailey Kimmel
- Austin Lee GeisertAGAustin Lee Geisert
- Lily YaroLYLily Yaro
- Brendan GipsonBGBrendan Gipson
- Ronald Taylor HotchkissRHRonald Taylor Hotchkiss
- Sidney Kwame Osae-AsanteSOSidney Kwame Osae-Asante
- Hunter VaughtHVHunter Vaught
- Grant WiningerGWGrant Wininger
- Chase YamaguchiCYChase Yamaguchi
Open Access
- 11 May 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-7
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.Keywords
All Related Versions
This publication has 29 references indexed in Scilit:
- Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programming2023
- Automatic Generation of Programming Exercises and Code Explanations Using Large Language Models2022
- Expectation vs. Experience: Evaluating the Usability of Code Generation Tools Powered by Large Language Models2022
- The Robots Are Coming: Exploring the Implications of OpenAI Codex on Introductory Programming2022
- On Designing Programming Error Messages for Novices: Readability and its Constituent Factors2021
- Compiler Error Messages Considered Unhelpful2019
- First Things First2019
- Metacognitive Difficulties Faced by Novice Programmers in Automated Assessment Tools2018
- On Novices' Interaction with Compiler Error Messages2017
- Do Enhanced Compiler Error Messages Help Students?2017