paper-with-me

홈 › Papers

Generating High-Precision Feedback for Programming Syntax Errors using Large Language Models

2023-01-24 · Tung Phung, José Cambronero, Sumit Gulwani, Tobias Kohn, Rupak Majumdar, Adish Singla, Gustavo Soares

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.

📄 PDF Abstract BibTeX arXiv:2302.04662

Code (1)

machine-teaching-group/edm2023_pyfixv 공식 구현

Similar Papers 제목 키워드 기반

Automated Correction for Syntax Errors in Programming Assignments using Recurrent Neural Networks

2016-03-19 · Sahil Bhatia, Rishabh Singh

We present a method for automatically generating repair feedback for syntax errors for introductory programming problems. Syntax errors constitute one of the largest classes of errors (34%) in our dataset of student subm…

valid

Large Language Models (GPT) for automating feedback on programming assignments

2023-06-30 · Maciej Pankiewicz, Ryan S. Baker

Addressing the challenge of generating personalized feedback for programming assignments is demanding due to several factors, like the complexity of code syntax or different ways to correctly solve a task. In this experi…

Mining patterns in syntax trees to automate code reviews of student solutions for programming exercises

2024-04-26 · Charlotte Van Petegem, Kasper Demeyere, Rien Maertens, Niko Strijbol 외

In programming education, providing manual feedback is essential but labour-intensive, posing challenges in consistency and timeliness. We introduce ECHO, a machine learning method to automate the reuse of feedback in ed…

Decaf: Improving Neural Decompilation with Automatic Feedback and Search

2026-05-12 · Alexander Shypula, Osbert Bastani, Edward Schwartz arxiv

Decompilers are useful tools used in reverse engineering to understand compiled source code. Reconstructing source code from compiled binaries is a challenging task, because high-level syntax, identifiers, and custom dat…

Evaluating Language Models for Generating and Judging Programming Feedback

2024-07-05 · Charles Koutcheme, Nicola Dainese, Arto Hellas, Sami Sarsa 외

The emergence of large language models (LLMs) has transformed research and practice across a wide range of domains. Within the computing education research (CER) domain, LLMs have garnered significant attention, particul…