The Fault in our Stars: Quality Assessment of Code Generation Benchmarks
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are gaining popularity among software engineers. A crucial aspect of developing effective code generation LLMs is to evaluate these models using a robust benchmark. Evaluation benchmarks with quality issues can provide a false sense of performance. In this work, we conduct the first-of-its-kind study of the quality of prompts within benchmarks used to compare the performance of different code generation models. To conduct this study, we analyzed 3,566 prompts from 9 code generation benchmarks to identify quality issues in them. We also investigated whether fixing the identified quality issues in the benchmarks' prompts affects a model's performance. We also studied memorization issues of the evaluation dataset, which can put into question a benchmark's trustworthiness. We found that code generation evaluation benchmarks mainly focused on Python and coding exercises and had very limited contextual dependencies to challenge the model. These datasets and the developers' prompts suffer from quality issues like spelling and grammatical errors, unclear sentences to express developers' intent, and not using proper documentation style. Fixing all these issues in the benchmarks can lead to a better performance for Python code generation, but not a significant improvement was observed for Java code generation. We also found evidence that GPT-3.5-Turbo and CodeGen-2.5 models may have data contamination issues.
Key facts. Cited by 9 papers in the map (data through 13 Oct 2026). Builds on 43 of its 65 references that are in the map. First posted on arXiv 15 Apr 2024.
Builds on
43 of 65 references.
References · 43
- 2017Attention Is All You Needcited by 60,106
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2021Evaluating Large Language Models Trained on Codecited by 8,205
- 2021Program Synthesis with Large Language Modelscited by 3,573
- 2022Emergent Abilities of Large Language Modelscited by 2,499
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,379
- 2020Extracting Training Data from Large Language Modelscited by 2,181
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,304
- 2023A Survey on Evaluation of Large Language Modelscited by 1,236
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 905
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
- 2023StarCoder: may the source be with you!cited by 797
31 more
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 731
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 654
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 475
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2023Don't Make Your LLM an Evaluation Benchmark Cheatercited by 194
- 2022Do Users Write More Insecure Code with AI Assistants?cited by 190
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2023SantaCoder: don't reach for the stars!cited by 170
- 2022Multi-lingual Evaluation of Code Generation Modelscited by 159
- 2023Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarkscited by 141
- 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 125
- 2023A Systematic Study and Comprehensive Evaluation of ChatGPT on Benchmark Datasetscited by 123
- 2021Jigsaw: Large Language Models meet Program Synthesiscited by 103
- 2022Productivity Assessment of Neural Code Completioncited by 97
- 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 90
- 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
- 2023Exploring the Use of Large Language Models for Reference-Free Text Quality Evaluation: An Empirical Studycited by 85
- 2020Code Prediction by Feeding Trees to Transformerscited by 70
- 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
- 2022When Language Model Meets Private Librarycited by 54
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 50
- 2023Exploring Memorization in Fine-tuned Language Modelscited by 45
- 2020Fast and Memory-Efficient Neural Code Completioncited by 38
- 2023Unveiling Memorization in Code Modelscited by 30
- 2022Are We Building on the Rock? On the Importance of Data Preprocessing for Code Summarizationcited by 22
- 2023Quantifying and Analyzing Entity-level Memorization in Large Language Modelscited by 18
- 2022AI-driven Development Is Here: Should You Worry?cited by 15
- 2022M2TS: Multi-Scale Multi-Modal Approach Based on Transformer for Source Code Summarizationcited by 14
- 2023DevGPT: Studying Developer-ChatGPT Conversationscited by 11
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 4.
9 papers.
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 533
- 2026BenchGuard: Who Guards the Benchmarks? Automated Auditing of LLM Agent Benchmarkscited by 15
- 2025Incoherence as Oracle-less Measure of Error in LLM-Based Code Generationcited by 6
- 2025SwingArena: Competitive Programming Arena for Long-context GitHub Issue Solvingcited by 4
- 2025ASPERA: A Simulated Environment to Evaluate Planning for Complex Action Executioncited by 1
- 2026Beyond Retrieval: A Multitask Benchmark and Model for Code Searchcited by 1
- 2024Test-driven Software Experimentation with LASSO: an LLM Prompt Benchmarking Examplecited by 0
- 2026IntentCoding: Amplifying User Intent in Code Generationcited by 0
- 2026Synthetic Semantic Supervision for Contrastive Code Representation Learning in Small Transformers: An Empirical Studycited by 0
- 2026Synthetic Semantic Supervision for Contrastive Code Representation Learning in Small Transformers: An Empirical Study3 Sep 2026
- 2026Beyond Retrieval: A Multitask Benchmark and Model for Code Search6 May 2026
- 2026BenchGuard: Who Guards the Benchmarks? Automated Auditing of LLM Agent Benchmarks27 Apr 2026
- 2026IntentCoding: Amplifying User Intent in Code Generation20 Jan 2026
- 2025ASPERA: A Simulated Environment to Evaluate Planning for Complex Action Execution21 Jul 2025
- 2025Incoherence as Oracle-less Measure of Error in LLM-Based Code Generation26 Jun 2025
- 2025SwingArena: Competitive Programming Arena for Long-context GitHub Issue Solving29 May 2025
- 2024Test-driven Software Experimentation with LASSO: an LLM Prompt Benchmarking Example11 Oct 2024
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions22 Jun 2024