Pith. sign in

REVIEW 3 cited by

CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarks

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2404.00566 v4 pith:X7K4X7FF submitted 2024-03-31 cs.SE cs.CL

classification cs.SEcs.CL
keywords codebenchmarksevaluationexamplesgenerationcodebenchgenexecution-basedtest
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generation

    cs.SE 2025-07 conditional novelty 7.0 of 10

    CrossPL, a 1,982-task benchmark built from GitHub repositories, shows that LLMs achieve at most 79.74% pass@1 on cross-language IPC code generation and struggle with low-level protocols like Pipe.

  2. AutoSDT: Scaling Data-Driven Discovery Tasks Toward Open Co-Scientists

    cs.LG 2025-06 conditional novelty 6.0 of 10

    An LLM-driven pipeline automatically creates a 5,404-task dataset of data-driven scientific coding problems, and fine-tuning Qwen2.5-Coder on it improves performance on ScienceAgentBench and DiscoveryBench.

  3. Go-UT-Bench: A Fine-Tuning Dataset for LLM-Based Unit Test Generation in Go

    cs.LG 2025-11 conditional novelty 5.0 of 10

    A new reproducible Go code-and-test dataset lets fine-tuned LLMs beat base models on 76–82% of unit-test generation judgments, though the judgments are made by another LLM and no tests are run.

Pith tools