Research map / Large language models / Agents, code and math
NaturalCodeBench: Examining Coding Performance Mismatch on HumanEval and Natural User Queries
Shudan Zhang, Hanlin Zhao, Xiao Liu, Qinkai Zheng, Zehan Qi, Xiaotao Gu, Yuxiao Dong, Jie Tang
Tsinghua University · Zhipu AI
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use semi-automated GPT-4 pipeline instead of hand-writing test cases | test case construction · 5 experts, 5 problems | time cost (min): 175.9 -> 40.0 | Improved |
| use semi-automated GPT-4 pipeline instead of hand-writing test cases | test case construction · 5 experts, 5 problems | line/branch coverage: line 93.7 -> 90.3; branch 91.6 -> 93.1 | No clear effect |
| evaluate on NCB instead of HumanEval | LLM ranking · NCB vs HumanEval | rank: GPT-3.5-Turbo rank 18 -> 8; WizardCoder-34B rank 10 -> 20 | Mixed |
| model scale | open LLMs · NCB test | pass@1: <10B: 0.0-23.9; >60B: 27.9-33.2 (as printed ranges) | Improved |
| use better data/training at smaller scale | DeepSeek-Coder-6.7B-Instruct · NCB test | pass@1: outperforms >30B by about 2.8% and >60B by about 1.9% | Improved |
| English instead of Chinese problem version | GPT-4 and GPT-4-Turbo · NCB test | pass@1: +1.1% and +3.9% over zh average | Improved |
| random sampling (pass@10/50) instead of greedy | Codellama-70B-Instruct · NCB test | pass@k | Improved |
| evaluate base LLMs with in-context learning only | pre-trained base LLMs · NCB | pass rate | Hurt |
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.90)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.88)
- Planning in Natural Language Improves LLM Search for Code Generation (ICLR 2025 · similarity 0.87)
- InfiBench: Evaluating the Question-Answering Capabilities of Code Large Language Models (NeurIPS 2024 · similarity 0.87)
- Mercury: A Code Efficiency Benchmark for Code Large Language Models (NeurIPS 2024 · similarity 0.87)
- EvoCodeBench: An Evolving Code Generation Benchmark with Domain-Specific Evaluations (NeurIPS 2024 · similarity 0.87)
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.