Benchmarks and Metrics for Evaluations of Code Generation: A Critical Review
Not on the map. Why?
Abstract (arXiv)
With the rapid development of Large Language Models (LLMs), a large number of machine learning models have been developed to assist programming tasks including the generation of program code from natural language input. However, how to evaluate such LLMs for this task is still an open problem despite of the great amount of research efforts that have been made and reported to evaluate and compare them. This paper provides a critical review of the existing work on the testing and evaluation of these tools with a focus on two key aspects: the benchmarks and the metrics used in the evaluations. Based on the review, further research directions are discussed.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 26 of its 47 references that are in the map. First posted on arXiv 18 Jun 2024.
Builds on
26 of 47 references.
References · 26
- 2017Attention Is All You Needcited by 59,932
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023StarCoder: may the source be with you!cited by 790
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2023SantaCoder: don't reach for the stars!cited by 169
14 more
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
- 2018Mapping Language to Code in Programmatic Contextcited by 104
- 2024EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 71
- 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 71
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2019Does BLEU Score Work for Code Migration?cited by 49
- 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
- 2021In-IDE Code Generation from Natural Language: Promise and Challengescited by 41
- 2023Distilled GPT for Source Code Summarizationcited by 30
- 2024CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarkscited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
- 2023A Comprehensive Review of State-of-The-Art Methods for Java Code Generation from Natural Language Textcited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 12; 2026: 6.
19 papers.
Sort:
By area:
- 2025Large Language Models for Code Generation: A Comprehensive Survey of Challenges, Techniques, Evaluation, and Applicationscited by 26
- 2025A Study of LLMs' Preferences for Libraries and Programming Languagescited by 20
- 2025Investigating The Smells of LLM Generated Codecited by 9
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
- 2026MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistantscited by 7
- 2024Programming with AI: Evaluating ChatGPT, Gemini, AlphaCode, and GitHub Copilot for Programmerscited by 5
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 5
- 2025SpecAgent: A Speculative Retrieval and Forecasting Agent for Code Completioncited by 3
- 2025Measuring LLM Code Generation Stability via Structural Entropycited by 2
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Reviewcited by 2
- 2026When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMscited by 2
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluationcited by 1
7 more
- 2025MateInfoUB: A Real-World Benchmark for Testing LLMs in Competitive, Multilingual, and Multimodal Educational Taskscited by 1
- 2025GenDexHand: Generative Simulation for Dexterous Handscited by 1
- 2025Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Taskscited by 0
- 2025app.build: A Production Framework for Scaling Agentic Prompt-to-App Generation with Environment Scaffoldingcited by 0
- 2025Designing and Evaluating Chain-of-Hints for Scientific Question Answeringcited by 0
- 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Studycited by 0
- 2026SkillComposer: Learning Reusable Skills for Natural-Language Robot Programmingcited by 0
- 2026SkillComposer: Learning Reusable Skills for Natural-Language Robot Programming14 Aug 2026
- 2026When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMs26 Jun 2026
- 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Study27 Apr 2026
- 2026MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistants10 Mar 2026
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Models17 Jan 2026
- 2025GenDexHand: Generative Simulation for Dexterous Hands3 Nov 2025
- 2025Designing and Evaluating Chain-of-Hints for Scientific Question Answering24 Oct 2025
- 2025SpecAgent: A Speculative Retrieval and Forecasting Agent for Code Completion20 Oct 2025
- 2025Investigating The Smells of LLM Generated Code3 Oct 2025
- 2025app.build: A Production Framework for Scaling Agentic Prompt-to-App Generation with Environment Scaffolding3 Sep 2025
- 2025Measuring LLM Code Generation Stability via Structural Entropy19 Aug 2025
7 more
- 2025Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Tasks6 Aug 2025
- 2025MateInfoUB: A Real-World Benchmark for Testing LLMs in Competitive, Multilingual, and Multimodal Educational Tasks3 Jul 2025
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs23 Jun 2025
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluation26 May 2025
- 2025A Study of LLMs' Preferences for Libraries and Programming Languages21 Mar 2025
- 2025Large Language Models for Code Generation: A Comprehensive Survey of Challenges, Techniques, Evaluation, and Applications3 Mar 2025
- 2024Programming with AI: Evaluating ChatGPT, Gemini, AlphaCode, and GitHub Copilot for Programmers14 Nov 2024
- 2025SpecAgent: A Speculative Retrieval and Forecasting Agent for Code Completioncited by 3
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Reviewcited by 2
- 2025app.build: A Production Framework for Scaling Agentic Prompt-to-App Generation with Environment Scaffoldingcited by 0
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2025SpecAgent: A Speculative Retrieval and Forecasting Agent for Code Completion20 Oct 2025
- 2025app.build: A Production Framework for Scaling Agentic Prompt-to-App Generation with Environment Scaffolding3 Sep 2025
- 2025Large Language Models for Code Generation: A Comprehensive Survey of Challenges, Techniques, Evaluation, and Applicationscited by 26
- 2025A Study of LLMs' Preferences for Libraries and Programming Languagescited by 20
- 2025Investigating The Smells of LLM Generated Codecited by 9
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
- 2026MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistantscited by 7
- 2024Programming with AI: Evaluating ChatGPT, Gemini, AlphaCode, and GitHub Copilot for Programmerscited by 5
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 5
- 2025Measuring LLM Code Generation Stability via Structural Entropycited by 2
- 2025MateInfoUB: A Real-World Benchmark for Testing LLMs in Competitive, Multilingual, and Multimodal Educational Taskscited by 1
- 2025GenDexHand: Generative Simulation for Dexterous Handscited by 1
- 2025Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Taskscited by 0
- 2025Designing and Evaluating Chain-of-Hints for Scientific Question Answeringcited by 0
12 most cited of 14 All 14 (JSON)
- 2026SkillComposer: Learning Reusable Skills for Natural-Language Robot Programming14 Aug 2026
- 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Study27 Apr 2026
- 2026MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistants10 Mar 2026
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Models17 Jan 2026
- 2025GenDexHand: Generative Simulation for Dexterous Hands3 Nov 2025
- 2025Designing and Evaluating Chain-of-Hints for Scientific Question Answering24 Oct 2025
- 2025Investigating The Smells of LLM Generated Code3 Oct 2025
- 2025Measuring LLM Code Generation Stability via Structural Entropy19 Aug 2025
- 2025Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Tasks6 Aug 2025
- 2025MateInfoUB: A Real-World Benchmark for Testing LLMs in Competitive, Multilingual, and Multimodal Educational Tasks3 Jul 2025
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs23 Jun 2025
- 2025A Study of LLMs' Preferences for Libraries and Programming Languages21 Mar 2025
12 newest of 14 All 14 (JSON)