paper-with-me

Papers

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

2024-05-30 · 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.

📄 PDF Abstract BibTeX arXiv:2405.19856

Code (1)

seketeam/deveval 공식 구현

Tasks

Code Generation

Similar Papers 제목 키워드 기반

DevEval: Evaluating Code Generation in Practical Software Projects

2024-01-12 · Jia Li, Ge Li, YunFei Zhao, Yongmin Li 외

How to evaluate Large Language Models (LLMs) in code generation is an open question. Many benchmarks have been proposed but are inconsistent with practical software projects, e.g., unreal program distributions, insuffici…

Code Generation

Prompting Large Language Models to Tackle the Full Software Development Lifecycle: A Case Study

2024-03-13 · Bowen Li, Wenhan Wu, Ziwei Tang, Lin Shi 외

Recent advancements in large language models (LLMs) have significantly enhanced their coding capabilities. However, existing benchmarks predominantly focused on simplified or isolated aspects of coding, such as single-fi…

Code Generation

CodeAlchemy: Synthetic Code Rewriting at Scale

2026-06-08 · Ankit Gupta, Aditya Prasad, Rameswar Panda arxiv

Pre-training on raw code teaches syntax but provides sparse signal for diverse real-world task formats. While synthetic data has proven transformative for language models, code remains largely unexplored beyond limited q…

Synthetic Data Generation

Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'

2024-10-29 · Shanchao Liang, Yiran Hu, Nan Jiang, Lin Tan

Recently, a number of repository-level code generation benchmarks-such as CoderEval, DevEval, RepoEval, RepoBench, and LongCodeArena-have emerged to evaluate the capabilities of large language models (LLMs) beyond standa…

Code CompletionCode GenerationHumanEvalmbpp+1

Improving Sentence Embeddings with Automatic Generation of Training Data Using Few-shot Examples

2024-02-23 · Soma Sato, Hayato Tsukagoshi, Ryohei Sasano, Koichi Takeda

Decoder-based large language models (LLMs) have shown high performance on many tasks in natural language processing. This is also true for sentence embedding learning, where a decoder-based model, PromptEOL, has achieved…

Dataset GenerationDecoderFew-Shot LearningNatural Language Inference+6