mlsanityData to 7 Oct 2026

CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarks

arXiv 2404.00566 ↗First posted 31 Mar 2024cs.SE cs.CLcited by 23

Not on the map. Why?

Abstract (arXiv)

To adequately test modern code generation systems, evaluation benchmarks must execute and test the code generated by the system. However, these execution and testing requirements have largely limited benchmarks to settings where code is easily executable or has human-written tests. To facilitate evaluation of code generation systems across diverse scenarios, we present CodeBenchGen, a framework to create scalable execution-based benchmarks from naturally occurring code sources. Specifically, we leverage a large language model (LLM) to sandbox arbitrary pieces of code into evaluation examples, including test cases for execution-based evaluation. We illustrate the usefulness of our framework by creating a dataset, Exec-CSN, which includes 1,931 examples involving 293 libraries converted from code in 367 GitHub repositories taken from the Code- SearchNet dataset. To demonstrate the solvability of examples in Exec-CSN, we present a human study demonstrating that 81.3% of the examples can be solved by humans and 61% are rated as "requires effort to solve". We conduct code generation experiments on open-source and proprietary models and analyze the performance of both humans and models. We provide code and data at: https://github.com/yiqingxyq/CodeBenchGen.

Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 31 Mar 2024.

Builds on

21 of 35 references.

References · 21

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  7. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  8. 2021Measuring Coding Challenge Competence With APPScited by 879
  9. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  10. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  11. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  12. 2023OpenChat: Advancing Open-source Language Models with Mixed-Quality Datacited by 250
9 more
  1. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
  2. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  3. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  4. 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 89
  5. 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
  6. 2022Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testingcited by 36
  7. 2023A3Test: Assertion-Augmented Automated Test Case Generationcited by 33
  8. 2023CoderEval: A Benchmark of Pragmatic Code Generation with Generative Pre-trained Modelscited by 28
  9. 2022Aligning Offline Metrics and Human Judgments of Value for Code Generation Modelscited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 12; 2026: 5.

23 papers.

Sort:

By area:

  1. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  2. 2024Commit0: Library Generation from Scratchcited by 50
  3. 2025LessLeak-Bench: A First Investigation of Data Leakage in LLMs Across 83 Software Engineering Benchmarkscited by 34
  4. 2025ProjectEval: A Benchmark for Programming Agents Automated Evaluation on Project-Level Code Generationcited by 26
  5. 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 24
  6. 2024On the Impacts of Contexts on Repository-Level Code Generationcited by 21
  7. 2024DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generationcited by 21
  8. 2024Benchmarks and Metrics for Evaluations of Code Generation: A Critical Reviewcited by 19
  9. 2024CodeUpdateArena: Benchmarking Knowledge Editing on API Updatescited by 18
  10. 2026SWE-Universe: Scale Real-World Verifiable Environments to Millionscited by 16
  11. 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoningcited by 12
  12. 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
11 more
  1. 2025AutoSDT: Scaling Data-Driven Discovery Tasks Toward Open Co-Scientistscited by 11
  2. 2025Towards an Understanding of Context Utilization in Code Intelligencecited by 10
  3. 2026EvoConfig: Self-Evolving Multi-Agent Systems for Efficient Autonomous Environment Configurationcited by 7
  4. 2026Hybrid-Gym: Training Coding Agents to Generalize Across Taskscited by 6
  5. 2026Aletheia: What Makes RLVR For Code Verifiers Tick?cited by 4
  6. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
  7. 2025Large Language Models for IT Automation Tasks: Are We There Yet?cited by 1
  8. 2025Beyond Benchmarks: LLM Evaluation with an Anthropomorphic and Lifecycle-oriented Roadmapcited by 1
  9. 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptationcited by 1
  10. 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generationcited by 0
  11. 2025Go-UT-Bench: A Fine-Tuning Dataset for LLM-Based Unit Test Generation in Gocited by 0