CoderEval: A Benchmark of Pragmatic Code Generation with Generative Pre-trained Models
Hao Yu, Bo Shen, Dezhi Ran, Jiaxin Zhang, Qi Zhang, Yuchi Ma, Guangtai Liang, Ying Li, Qianxiang Wang, Tao Xie
摘要
Code generation models based on the pre-training and fine-tuning paradigm have been increasingly attempted by both academia and industry, resulting in well-known industrial models such as Codex, CodeGen, and PanGu-Coder. To evaluate the effectiveness of these models, multiple existing benchmarks (e.g., HumanEval and AiXBench) are proposed, including only cases of generating a standalone function, i.e., a function that may invoke or access only built-in functions and standard libraries. However, non-standalone functions, which typically are not included in the existing benchmarks, constitute more than 70% of the functions in popular opensource projects, and evaluating models' effectiveness on standalone functions cannot reflect these models' effectiveness on pragmatic code generation scenarios (i.e., code generation for real settings of open source or proprietary code). To help bridge the preceding gap, in this paper, we propose a benchmark named CoderEval, consisting of 230 Python and 230
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 76 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- OctoPack: Instruction Tuning Code Large Language Models 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- OctoPack: Instruction Tuning Code Large Language Models 引用了 Language Models are Few-Shot Learners
- OctoPack: Instruction Tuning Code Large Language Models 引用了 DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation
- Monitor-Guided Decoding of Code LMs with Static Analysis of Repository Context 引用了 The Curious Case of Neural Text Degeneration
- InCoder: A Generative Model for Code Infilling and Synthesis 引用了 Language Models are Few-Shot Learners
- InCoder: A Generative Model for Code Infilling and Synthesis 引用了 The Curious Case of Neural Text Degeneration
- Evaluating Large Language Models in Class-Level Code Generation 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- Evaluating Large Language Models in Class-Level Code Generation 引用了 DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation
- Evaluating Large Language Models in Class-Level Code Generation 引用了 WizardCoder: Empowering Code Large Language Models with Evol-Instruct
- Evaluating Large Language Models in Class-Level Code Generation 引用了 The Curious Case of Neural Text Degeneration
- SWE-bench: Can Language Models Resolve Real-world Github Issues? 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering 引用了 OctoPack: Instruction Tuning Code Large Language Models
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering 引用了 DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation
- Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
- DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- WizardCoder: Empowering Code Large Language Models with Evol-Instruct 引用了 OctoPack: Instruction Tuning Code Large Language Models
- WizardCoder: Empowering Code Large Language Models with Evol-Instruct 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- WizardCoder: Empowering Code Large Language Models with Evol-Instruct 引用了 Language Models are Few-Shot Learners
- WizardCoder: Empowering Code Large Language Models with Evol-Instruct 引用了 DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation
引用它的顶会 Paper76
- SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao 等ICLR 2024 · 2,082 次引用
- SWE-agent: Agent-Computer Interfaces Enable Automated Software EngineeringJohn Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret 等NeurIPS 2024 · 2,059 次引用
- OctoPack: Instruction Tuning Code Large Language ModelsNiklas Muennighoff, Qian Liu, Armel Randy Zebaze, Qinkai Zheng 等ICLR 2024 · 203 次引用
- Evaluating Large Language Models in Class-Level Code GenerationXueying Du, Mingwei Liu, Kaixin Wang, Hanlin Wang 等ICSE 2024 · 118 次引用
- Monitor-Guided Decoding of Code LMs with Static Analysis of Repository ContextLakshya A. Agrawal, Aditya Kanade, Navin Goyal, Shuvendu K. Lahiri 等NeurIPS 2023 · 55 次引用
它引用的 Paper7
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- WizardCoder: Empowering Code Large Language Models with Evol-InstructZiyang Luo, Can Xu, Pu Zhao, Qingfeng Sun 等ICLR 2024 · 945 次引用
- DS-1000: A Natural and Reliable Benchmark for Data Science Code GenerationYuhang Lai, Chengxi Li, Yiming Wang, Tianyi Zhang 等ICML 2023 · 504 次引用
- InCoder: A Generative Model for Code Infilling and SynthesisDaniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang 等ICLR 2023 · 140 次引用
相关 Paper
- PythonSaga: Redefining the Benchmark to Evaluate Code Generating LLMsAnkit Yadav, Himanshu Beniwal, Mayank SinghEMNLP Findings 2024 · 12 次引用
- ComplexCodeEval: A Benchmark for Evaluating Large Code Models on More Complex CodeJia Feng, Jiachen Liu, Cuiyun Gao, Chun Yong Chong 等ASE 2024 · 7 次引用
- ReCode: Robustness Evaluation of Code Generation ModelsShiqi Wang, Zheng Li, Haifeng Qian, Chenghao Yang 等ACL 2023 · 32 次引用
- McEval: Massively Multilingual Code EvaluationLinzheng Chai, Shukai Liu, Jian Yang, Yuwei Yin 等ICLR 2025 · 1 次引用
- Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'Shanchao Liang, Nan Jiang, Yiran Hu, Lin TanACL 2025 · 9 次引用
