atlas

Research map / Large language models / Agents, code and math

EvoCodeBench: An Evolving Code Generation Benchmark with Domain-Specific Evaluations

NeurIPS 2024 · Large language models › Agents, code and math · approach: Code generation benchmarks · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces EvoCodeBench, an evolving repo-level Python code generation benchmark with domain labels and domain-specific metrics (DSI), releasing its first version EvoCodeBench-2403 (275 samples) and evaluating 8 LLMs.

Problem

Existing code generation benchmarks suffer from data leakage into LLM training data and lack domain-specific evaluation, so practitioners cannot choose LLMs for particular programming domains.

Approach

A periodically updated repo-level benchmark built from recently created GitHub repositories with LLM-generated requirements and domain labels from a PyPI-derived 10-domain taxonomy, plus a Domain-Specific Improvement metric that flags comfort and strange domains per model.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Local File (Completion) code context instead of no contextgpt-4 · EvoCodeBench-2403Pass@1: 7.27 -> 17.45Helped
Use Local File (Infilling) code context instead of no contextgpt-4 · EvoCodeBench-2403Pass@1: 7.27 -> 20.73Helped
Retrieve similar functions as contextgpt-4 · EvoCodeBench-2403Pass@1: 8.31 -> 12.29Helped
Retrieve similar functions as contextgpt-3.5 · EvoCodeBench-2403Pass@1: 6.64 -> 11.62Helped
Use recent-repository EvoCodeBench-2403 instead of HumanEvalgpt-3.5 leakage detection · HumanEval vs EvoCodeBench-2403Leak Ratio (%): 41.47 -> 1.75Helped
Choose DeepSeek Coder 6.7B instead of StarCoder 2 7Bmodel selection · EvoCodeBench-2403, InternetPass@1: 26.67 vs 26.67No clear effect
Evaluate models in the Internet domain rather than by overall Pass@1StarCoder 2 7B vs DeepSeek Coder 6.7B · EvoCodeBench-2403, InternetPass@1: 13.82 > 13.45; 26.67 vs 26.67Mixed
Select StarCoder 2 15B for Database tasksStarCoder 2 15B · EvoCodeBench-2403, DatabasePass@1: 38.89Helped

Surprising findings

Limitations

Experimental setup

Datasets: EvoCodeBench-2403 (collected from GitHub repositories created Oct 2023 - Mar 2024)

Benchmarks: EvoCodeBench-2403

Metrics: Pass@k Recall@k Domain-Specific Improvement (DSI) leak ratio

Baselines: HumanEval ClassEval DevEval CoderEval

Builds on: HumanEval CoderEval DevEval CDD

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy