FixEval: Execution-based Evaluation of Program Fixes for Programming Problems
원문 초록
The complexity of modern software has led to a drastic increase in the time and cost associated with detecting and rectifying software bugs. In response, researchers have explored various methods to automatically generate fixes for buggy code. However, due to the large combinatorial space of possible fixes for any given bug, few tools and datasets are available to evaluate model-generated fixes effectively. To address this issue, we introduce FixEval, a benchmark comprising of buggy code submissions to competitive programming problems and their corresponding fixes. FixEval offers an extensive collection of unit tests to evaluate the correctness of model-generated program fixes and assess further information regarding time, memory constraints, and acceptance based on a verdict. We consider two Transformer language models pretrained on programming languages as our baseline and compare them using match-based and execution-based evaluation metrics. Our experiments show that match-based metrics do not reflect model-generated program fixes accurately. At the same time, execution-based methods evaluate programs through all cases and scenarios designed explicitly for that solution. Therefore, we believe FixEval provides a step towards real-world automatic bug fixing and model-generated code evaluation. The dataset and models are open-sourced at https://github.com/mahimanzum/FixEval.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
CoreCodeBench: A Configurable Multi-Scenario Repository-Level Benchmark
SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Development
Less is More: Adaptive Program Repair with Bug Localization and Preference Learning
Repository-level Code Search with Neural Retrieval Methods
GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generation
CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking
토론
이 논문과 연결된 포럼 글이 아직 없습니다.