paper-with-me

Papers

Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs

2024-09-16 · Haichuan Hu, Ye Shang, Guolin Xu, Congqing He, Quanjun Zhang

LLMs have long demonstrated remarkable effectiveness in automatic program repair (APR), with OpenAI's ChatGPT being one of the most widely used models in this domain. Through continuous iterations and upgrades of GPT-family models, their performance in fixing bugs has already reached state-of-the-art levels. However, there are few works comparing the effectiveness and variations of different versions of GPT-family models on APR. In this work, inspired by the recent public release of the GPT-o1 models, we conduct the first study to compare the effectiveness of different versions of the GPT-family models in APR. We evaluate the performance of the latest version of the GPT-family models (i.e., O1-preview and O1-mini), GPT-4o, and the historical version of ChatGPT on APR. We conduct an empirical study of the four GPT-family models against other LLMs and APR techniques on the QuixBugs benchmark from multiple evaluation perspectives, including repair success rate, repair cost, response length, and behavior patterns. The results demonstrate that O1's repair capability exceeds that of prior GPT-family models, successfully fixing all 40 bugs in the benchmark. Our work can serve as a foundation for further in-depth exploration of the applications of GPT-family models in APR.

📄 PDF Abstract BibTeX arXiv:2409.10033

Code (1)

tomsawyerhu/gpt-o1-on-quixbugs 공식 구현

Tasks

AllProgram Repair

Similar Papers 제목 키워드 기반

LecPrompt: A Prompt-based Approach for Logical Error Correction with CodeBERT

2024-10-10 · Zhenyu Xu, Victor S. Sheng

Logical errors in programming don't raise compiler alerts, making them hard to detect. These silent errors can disrupt a program's function or cause run-time issues. Their correction requires deep insight into the progra…

Language ModelingLanguage ModellingLarge Language ModelMasked Language Modeling

Prompting Code Interpreter to Write Better Unit Tests on Quixbugs Functions

2023-09-30 · Vincent Li, Nick Doiron

Unit testing is a commonly-used approach in software engineering to test the correctness and robustness of written code. Unit tests are tests designed to test small components of a codebase in isolation, such as an indiv…

ENCORE: Ensemble Learning using Convolution Neural Machine Translation for Automatic Program Repair

2019-06-20 · Thibaud Lutellier, Lawrence Pang, Viet Hung Pham, Moshi Wei 외

Automated generate-and-validate (G&V) program repair techniques typically rely on hard-coded rules, only fix bugs following specific patterns, and are hard to adapt to different programming languages. We propose ENCORE, …

Ensemble LearningMachine TranslationNMTProgram Repair+1

CURE: Code-Aware Neural Machine Translation for Automatic Program Repair

2021-02-26 · Nan Jiang, Thibaud Lutellier, Lin Tan

Automatic program repair (APR) is crucial to improve software reliability. Recently, neural machine translation (NMT) techniques have been used to fix software bugs automatically. While promising, these approaches have t…

Machine TranslationNMTProgram RepairTranslation

LessLeak-Bench: A First Investigation of Data Leakage in LLMs Across 83 Software Engineering Benchmarks

2025-02-10 · Xin Zhou, Martin Weyssow, Ratnadira Widyasari, Ting Zhang 외

Large Language Models (LLMs) are widely utilized in software engineering (SE) tasks, such as code generation and automated program repair. However, their reliance on extensive and often undisclosed pre-training datasets …

Code GenerationProgram Repair