Generating High-Precision Feedback for Programming Syntax Errors using Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs), such as Codex, hold great promise in enhancing programming education by automatically generating feedback for students. We investigate using LLMs to generate feedback for fixing syntax errors in Python programs, a key scenario in introductory programming. More concretely, given a student's buggy program, our goal is to generate feedback comprising a fixed program along with a natural language explanation describing the errors/fixes, inspired by how a human tutor would give feedback. While using LLMs is promising, the critical challenge is to ensure high precision in the generated feedback, which is imperative before deploying such technology in classrooms. The main research question we study is: Can we develop LLMs-based feedback generation techniques with a tunable precision parameter, giving educators quality control over the feedback that students receive? To this end, we introduce PyFiXV, our technique to generate high-precision feedback powered by Codex. The key idea behind PyFiXV is to use a novel run-time validation mechanism to decide whether the generated feedback is suitable for sharing with the student; notably, this validation mechanism also provides a precision knob to educators. We perform an extensive evaluation using two real-world datasets of Python programs with syntax errors and show the efficacy of PyFiXV in generating high-precision feedback.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). Builds on 14 of its 39 references that are in the map. First posted on arXiv 24 Jan 2023.
Builds on
14 of 39 references.
References · 14
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
- 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
- 2022The AI Teacher Test: Measuring the Pedagogical Ability of Blender and GPT-3 in Educational Dialoguescited by 78
- 2022Automated Repair of Programs from Large Language Modelscited by 71
- 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
- 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
- 2022Repairing Bugs in Python Assignments Using Large Language Modelscited by 28
- 2016Automated Clustering and Program Repair for Introductory Programming Assignmentscited by 21
- 2020Program Synthesis with Pragmatic Communicationcited by 15
Built on by
Citing papers per year: 2023: 11; 2024: 13; 2025: 8; 2026: 2.
34 papers.
Sort:
By area:
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
- 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
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
- 2023Harnessing LLMs in Curricular Design: Using GPT-4 to Support Authoring of Learning Objectivescited by 16
- 2023Neural Task Synthesis for Visual Programmingcited by 13
- 2023Evaluating ChatGPT and GPT-4 for Visual Programmingcited by 13
- 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challengescited by 13
- 2024A review on the use of large language models as virtual tutorscited by 13
22 more
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
- 2023Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programmingcited by 8
- 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
- 2024Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generationcited by 7
- 2024Enhancing Programming Education with ChatGPT: A Case Study on Student Perceptions and Interactions in a Python Coursecited by 6
- 2025From First Draft to Final Insight: A Multi-Agent Approach for Feedback Generationcited by 5
- 2024Program Synthesis Benchmark for Visual Programming in XLogoOnline Environmentcited by 4
- 2024Generating Feedback-Ladders for Logical Errors in Programming using Large Language Modelscited by 3
- 2025SteLLA: A Structured Grading System Using LLMs with RAGcited by 3
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agentscited by 3
- 2024Benchmarking Educational Program Repaircited by 2
- 2025MedSimAI: Simulation and Formative Feedback Generation to Enhance Deliberate Practice in Medical Educationcited by 2
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systemscited by 1
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?cited by 1
- 2024The Advancement of Personalized Learning Potentially Accelerated by Generative AIcited by 0
- 2024How Good is ChatGPT in Giving Adaptive Guidance Using Knowledge Graphs in E-Learning Environments?cited by 0
- 2025Navigating Pitfalls: Evaluating LLMs in Machine Learning Programming Educationcited by 0
- 2025Audited Reasoning Refinement: Fine-Tuning Language Models via LLM-Guided Step-Wise Evaluation and Correctioncited by 0
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaborationcited by 0
- 2026CAPRA: Scaling Feedback on Software Architecture Deliverables with a Multi-Agent LLM Systemcited by 0
- 2026CAPRA: Scaling Feedback on Software Architecture Deliverables with a Multi-Agent LLM System17 Jun 2026
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaboration12 May 2026
- 2025Audited Reasoning Refinement: Fine-Tuning Language Models via LLM-Guided Step-Wise Evaluation and Correction15 Sep 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Navigating Pitfalls: Evaluating LLMs in Machine Learning Programming Education23 May 2025
- 2025From First Draft to Final Insight: A Multi-Agent Approach for Feedback Generation8 May 2025
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systems7 May 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025MedSimAI: Simulation and Formative Feedback Generation to Enhance Deliberate Practice in Medical Education1 Mar 2025
- 2025SteLLA: A Structured Grading System Using LLMs with RAG15 Jan 2025
- 2024How Good is ChatGPT in Giving Adaptive Guidance Using Knowledge Graphs in E-Learning Environments?5 Dec 2024
- 2024The Advancement of Personalized Learning Potentially Accelerated by Generative AI1 Dec 2024
22 more
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course30 Jul 2024
- 2024Evaluating Language Models for Generating and Judging Programming Feedback5 Jul 2024
- 2024Program Synthesis Benchmark for Visual Programming in XLogoOnline Environment17 Jun 2024
- 2024Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generation7 Jun 2024
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT29 May 2024
- 2024A review on the use of large language models as virtual tutors20 May 2024
- 2024Benchmarking Educational Program Repair8 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
- 2024Enhancing Programming Education with ChatGPT: A Case Study on Student Perceptions and Interactions in a Python Course20 Mar 2024
- 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challenges2 Feb 2024
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions11 Dec 2023
- 2023AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?24 Oct 2023
- 2023Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programming15 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
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Education1 Oct 2023
- 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMs19 Aug 2023
- 2023Evaluating ChatGPT and GPT-4 for Visual Programming30 Jul 2023
- 2023Harnessing LLMs in Curricular Design: Using GPT-4 to Support Authoring of Learning Objectives30 Jun 2023
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutors29 Jun 2023
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey30 May 2023
- 2023Neural Task Synthesis for Visual Programming26 May 2023
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
- 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
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
- 2023Harnessing LLMs in Curricular Design: Using GPT-4 to Support Authoring of Learning Objectivescited by 16
- 2023Neural Task Synthesis for Visual Programmingcited by 13
- 2023Evaluating ChatGPT and GPT-4 for Visual Programmingcited by 13
- 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challengescited by 13
- 2024A review on the use of large language models as virtual tutorscited by 13
12 most cited of 31 All 31 (JSON)
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaboration12 May 2026
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Navigating Pitfalls: Evaluating LLMs in Machine Learning Programming Education23 May 2025
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systems7 May 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025MedSimAI: Simulation and Formative Feedback Generation to Enhance Deliberate Practice in Medical Education1 Mar 2025
- 2025SteLLA: A Structured Grading System Using LLMs with RAG15 Jan 2025
- 2024How Good is ChatGPT in Giving Adaptive Guidance Using Knowledge Graphs in E-Learning Environments?5 Dec 2024
- 2024The Advancement of Personalized Learning Potentially Accelerated by Generative AI1 Dec 2024
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course30 Jul 2024
- 2024Evaluating Language Models for Generating and Judging Programming Feedback5 Jul 2024
- 2024Program Synthesis Benchmark for Visual Programming in XLogoOnline Environment17 Jun 2024
12 newest of 31 All 31 (JSON)