Using Large Language Models to Enhance Programming Error Messages
Not on the map. Why?
Abstract (arXiv)
A key part of learning to program is learning to understand programming error messages. They can be hard to interpret and identifying the cause of errors can be time-consuming. One factor in this challenge is that the messages are typically intended for an audience that already knows how to program, or even for programming environments that then use the information to highlight areas in code. Researchers have been working on making these errors more novice friendly since the 1960s, however progress has been slow. The present work contributes to this stream of research by using large language models to enhance programming error messages with explanations of the errors and suggestions on how to fix the error. Large language models can be used to create useful and novice-friendly enhancements to programming error messages that sometimes surpass the original programming error messages in interpretability and actionability. These results provide further evidence of the benefits of large language models for computing educators, highlighting their use in areas known to be challenging for students. We further discuss the benefits and downsides of large language models and highlight future streams of research for enhancing programming error messages.
Key facts. Cited by 67 papers in the map (data through 7 Oct 2026). Builds on 4 of its 46 references that are in the map. First posted on arXiv 20 Oct 2022.
Builds on
4 of 46 references.
References · 4
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
Built on by
Citing papers per year: 2022: 1; 2023: 24; 2024: 29; 2025: 10; 2026: 3.
67 papers.
Sort:
By area:
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 97
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
- 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 62
- 2023Computing Education in the Era of Generative AIcited by 50
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 46
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 38
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2023StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Codecited by 32
38 more
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
- 2023Exploring the Potential of Large Language Models to Generate Formative Programming Feedbackcited by 28
- 2023Next-Step Hint Generation for Introductory Programming Using Large Language Modelscited by 20
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
- 2023Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generatorscited by 16
- 2023Can Language Models Employ the Socratic Method? Experiments with Code Debuggingcited by 14
- 2024Feedback-Generation for Programming Exercises With GPT-4cited by 14
- 2024Large Language Model-Enabled Multi-Agent Manufacturing Systemscited by 14
- 2023ChatGPT in the Classroom: An Analysis of Its Strengths and Weaknesses for Solving Undergraduate Computer Science Questionscited by 13
- 2023Neural Task Synthesis for Visual Programmingcited by 13
- 2023Evaluating ChatGPT and GPT-4 for Visual Programmingcited by 13
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
- 2023Dcc --help: Generating Context-Aware Compiler Error Explanations with Large Language Modelscited by 11
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
- 2024Generative AI in Education: A Study of Educators' Awareness, Sentiments, and Influencing Factorscited by 10
- 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Sciencecited by 9
- 2023AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?cited by 8
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
- 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
- 2024Exploring LLM-Driven Explanations for Quantum Algorithmscited by 7
- 2023Decoding Logic Errors: A Comparative Study on Bug Detection by Students and Large Language Modelscited by 6
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
- 2024Synthetic Students: A Comparative Study of Bug Distribution Between Large Language Models and Computing Studentscited by 6
- 2024Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programmingcited by 6
- 2023Scratch Copilot Evaluation: Assessing AI-Assisted Creative Coding for Familiescited by 5
- 2024"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Modelscited by 5
- 2024Improving LLM Classification of Logical Errors by Integrating Error Relationship into Promptscited by 5
- 2024BugSpotter: Automated Generation of Code Debugging Exercisescited by 5
- 2025The Code Barrier: What LLMs Actually Understand?cited by 5
- 2024Enhancing Programming Error Messages in Real Time with Generative AIcited by 3
- 2024Generating Feedback-Ladders for Logical Errors in Programming using Large Language Modelscited by 3
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agentscited by 3
- 2024LLMs in the Heart of Differential Testing: A Case Study on a Medical Rule Enginecited by 2
- 2024Not the Silver Bullet: LLM-enhanced Programming Error Messages are Ineffective in Practicecited by 2
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learnerscited by 2
- 2025Use Me Wisely: AI-Driven Assessment for LLM Prompting Skills Developmentcited by 2
- 2023"With Great Power Comes Great Responsibility!": Student and Instructor Perspectives on the influence of LLMs on Undergraduate Engineering Educationcited by 1
50 most cited of 67 All 67 (JSON)
- 2026A Risk-Adaptive and Evidence-Constrained Framework for Generative AI Feedback in Programming Education24 Sep 2026
- 2026Evaluating LLMs for Answering Student Questions in Introductory Programming Courses30 Mar 2026
- 2026Automatic Classification of Pedagogical Materials against CS Curriculum Guidelines3 Feb 2026
- 2025Examining the Usage of Generative AI Models in Student Learning Activities for Software Programming17 Nov 2025
- 2025Understanding Student Interaction with AI-Powered Next-Step Hints: Strategies and Challenges9 Nov 2025
- 2025Thinking Like a Student: AI-Supported Reflective Planning in a Theory-Intensive Computer Science Course31 Oct 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Narrowing the Gap: Supervised Fine-Tuning of Open-Source LLMs as a Viable Alternative to Proprietary Models for Pedagogical Tools7 Jul 2025
- 2025The Code Barrier: What LLMs Actually Understand?14 Apr 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025ACE-RLHF: Automated Code Evaluation and Socratic Feedback Generation Tool using Large Language Models and Reinforcement Learning with Human Feedback7 Apr 2025
- 2025Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models6 Mar 2025
38 more
- 2025Use Me Wisely: AI-Driven Assessment for LLM Prompting Skills Development4 Mar 2025
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learners17 Dec 2024
- 2024BugSpotter: Automated Generation of Code Debugging Exercises21 Nov 2024
- 2024Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programming14 Nov 2024
- 2024Towards Pedagogical LLMs with Supervised Fine Tuning for Computing Education4 Nov 2024
- 2024On the Opportunities of Large Language Models for Programming Process Data1 Nov 2024
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2024Synthetic Students: A Comparative Study of Bug Distribution Between Large Language Models and Computing Students11 Oct 2024
- 2024Utilizing ChatGPT in a Data Structures and Algorithms Course: A Teaching Assistant's Perspective11 Oct 2024
- 2024Not the Silver Bullet: LLM-enhanced Programming Error Messages are Ineffective in Practice27 Sep 2024
- 2024Exploring LLM-Driven Explanations for Quantum Algorithms26 Sep 2024
- 2024Evaluating the Quality of Code Comments Generated by Large Language Models for Novice Programmers22 Sep 2024
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course30 Jul 2024
- 2024Integrating AI Tutors in a Programming Course14 Jul 2024
- 2024Evaluating Language Models for Generating and Judging Programming Feedback5 Jul 2024
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AI11 Jun 2024
- 2024Large Language Model-Enabled Multi-Agent Manufacturing Systems4 Jun 2024
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT29 May 2024
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers28 May 2024
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge8 May 2024
- 2024Generating Feedback-Ladders for Logical Errors in Programming using Large Language Models1 May 2024
- 2024Improving LLM Classification of Logical Errors by Integrating Error Relationship into Prompts30 Apr 2024
- 2024Generative AI in Education: A Study of Educators' Awareness, Sentiments, and Influencing Factors22 Mar 2024
- 2024"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Models14 Mar 2024
- 2024Feedback-Generation for Programming Exercises With GPT-47 Mar 2024
- 2024LLMs in the Heart of Differential Testing: A Case Study on a Medical Rule Engine16 Feb 2024
- 2024Enhancing Programming Error Messages in Real Time with Generative AI12 Feb 2024
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needs20 Jan 2024
- 2024Interactions with Prompt Problems: A New Way to Teach Programming with Large Language Models19 Jan 2024
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?12 Dec 2023
- 2023Next-Step Hint Generation for Introductory Programming Using Large Language Models3 Dec 2023
- 2023Decoding Logic Errors: A Comparative Study on Bug Detection by Students and Large Language Models27 Nov 2023
- 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Science16 Nov 2023
- 2023AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?24 Oct 2023
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validation5 Oct 2023
- 2023Can Language Models Employ the Socratic Method? Experiments with Code Debugging4 Oct 2023
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Education1 Oct 2023
50 newest of 67 All 67 (JSON)
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 97
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
- 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 62
- 2023Computing Education in the Era of Generative AIcited by 50
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 46
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 38
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2023StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Codecited by 32
12 most cited of 63 All 63 (JSON)
- 2026A Risk-Adaptive and Evidence-Constrained Framework for Generative AI Feedback in Programming Education24 Sep 2026
- 2026Evaluating LLMs for Answering Student Questions in Introductory Programming Courses30 Mar 2026
- 2026Automatic Classification of Pedagogical Materials against CS Curriculum Guidelines3 Feb 2026
- 2025Examining the Usage of Generative AI Models in Student Learning Activities for Software Programming17 Nov 2025
- 2025Understanding Student Interaction with AI-Powered Next-Step Hints: Strategies and Challenges9 Nov 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Narrowing the Gap: Supervised Fine-Tuning of Open-Source LLMs as a Viable Alternative to Proprietary Models for Pedagogical Tools7 Jul 2025
- 2025The Code Barrier: What LLMs Actually Understand?14 Apr 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models6 Mar 2025
- 2025Use Me Wisely: AI-Driven Assessment for LLM Prompting Skills Development4 Mar 2025
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
12 newest of 63 All 63 (JSON)