Papers › DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code...

DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositories

30 May 2024arXiv:2405.19856archive 2025-07-28

Jia Li, Ge Li, YunFei Zhao, Yongmin Li, Huanyu Liu, Hao Zhu, Lecheng Wang, Kaibo Liu, Zheng Fang, Lanshen Wang, Jiazheng Ding, Xuanming Zhang, Yuqi Zhu, Yihong Dong, Zhi Jin, Binhua Li, Fei Huang, Yongbin Li

How to evaluate the coding abilities of Large Language Models (LLMs) remains an open question. We find that existing benchmarks are poorly aligned with real-world code repositories and are insufficient to evaluate the coding abilities of LLMs. To address the knowledge gap, we propose a new benchmark named DevEval, which has three advances. (1) DevEval aligns with real-world repositories in multiple dimensions, e.g., code distributions and dependency distributions. (2) DevEval is annotated by 13 developers and contains comprehensive annotations (e.g., requirements, original repositories, reference code, and reference dependencies). (3) DevEval comprises 1,874 testing samples from 117 repositories, covering 10 popular domains (e.g., Internet, Database). Based on DevEval, we propose repository-level code generation and evaluate 8 popular LLMs on DevEval (e.g., gpt-4, gpt-3.5, StarCoder 2, DeepSeek Coder, CodeLLaMa). Our experiments reveal these LLMs' coding abilities in real-world code repositories. For example, in our experiments, the highest Pass@1 of gpt-4-turbo is only 53.04%. We also analyze LLMs' failed cases and summarize their shortcomings. We hope DevEval can facilitate the development of LLMs in real code repositories. DevEval, prompts, and LLMs' predictions have been released.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.19856")

Code

Syntology Ran 8 of 12 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

seketeam/deveval officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 8 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
6ran
4unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from seketeam/deveval. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

adjust_indent seketeam/deveval/pass_k.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 020a90b56537e147 · report
compute_pass_at_k seketeam/deveval/pass_k.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 41f57204e706d18f · report
compute_recall seketeam/deveval/parser/recall_k.py official repository ran no licence file found · pointer only · b57d66d6dc47f45b · report
execution_tests seketeam/deveval/pass_k.py official repository ran no licence file found · pointer only · e1899a6179db079d · report
extract_dependency seketeam/deveval/utils.py official repository ran no licence file found · pointer only · 2b9767a885d74bdb · report
get_module_name seketeam/deveval/parser/pyan_zyf_v2/anutils.py official repository ran fingerprinted no licence file found · pointer only · aa151466ba7abc12 · report
head seketeam/deveval/parser/pyan_zyf_v2/anutils.py official repository ran fingerprinted no licence file found · pointer only · 9b6c4ca7d09044ef · report
predict_relationship seketeam/deveval/utils.py official repository ran no licence file found · pointer only · de13f572199a15cc · report
find_py_files seketeam/deveval/parser/get_func_call.py official repository unverified no licence file found · pointer only · 056a570a1e28f13a · report
get_file_name seketeam/deveval/parser/pyan_zyf_v2/call_analyzer.py official repository unverified no licence file found · pointer only · 396fdcb57e8f1210 · report
make_safe_label seketeam/deveval/parser/pyan_zyf_v2/node.py official repository unverified no licence file found · pointer only · 2e87deeec1d28e96 · report
tail seketeam/deveval/parser/pyan_zyf_v2/anutils.py official repository unverified no licence file found · pointer only · 0999d7eb180157c0 · report

Tasks

Code Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections