Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

EvoCodeBench

EvoCodeBench is an evolutionary code generation benchmark aligned with real-world code repositories.

Details of EvoCodeBench can be found in our paper "EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-world Code Repositories".

Paper: https://arxiv.org/pdf/2404.00599.pdf

Data and Source Code: https://github.com/seketeam/EvoCodeBench

Features

Compared to existing benchmarks (e.g., HumanEval), EvoCodeBench has the following features:

  • Aligned with real-world repositories in multiple dimensions, e.g., code distributions and dependency distributions.
  • Comprehensive annotations (e.g., requirements, code, dependencies, and repos) and robust metrics (Pass@k and Recall@k).
  • An evolving benchmark to avoid data leakage. The first version - EvoCodeBench-2403 has been released. It contains 275 samples from 25 real-world repositories (created from 10/2023 to 2/2024).

A sample in EvoCodeBench is shown as follows.

Example

Repository-level Code Generation

Based on EvoCodeBench, we propose repository-level code generation and evaluate 10 popular LLMs (e.g., gpt-4, gpt-3.5, DeepSeek Coder, StarCoder 2, CodeLLaMa, Gemma, and Qwen 1.5). All prompts and models' completions have been released for further community analysis.

The evaluation results are shown as follows.

Leaderboard

Downloads last month
195

Paper for LJ0815/EvoCodeBench