scimeatlas

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

ACL 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach31 citations (OpenAlex)

Tsinghua University · Zhipu AI

Read the paperPlace an idea next to itCheck your own paper ↗

8measured effects
5improved
1no clear effect
1hurt
1mixed

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 changedWhereMeasuredEffect
use semi-automated GPT-4 pipeline instead of hand-writing test casestest case construction · 5 experts, 5 problemstime cost (min): 175.9 -> 40.0Improved
use semi-automated GPT-4 pipeline instead of hand-writing test casestest case construction · 5 experts, 5 problemsline/branch coverage: line 93.7 -> 90.3; branch 91.6 -> 93.1No clear effect
evaluate on NCB instead of HumanEvalLLM ranking · NCB vs HumanEvalrank: GPT-3.5-Turbo rank 18 -> 8; WizardCoder-34B rank 10 -> 20Mixed
model scaleopen LLMs · NCB testpass@1: <10B: 0.0-23.9; >60B: 27.9-33.2 (as printed ranges)Improved
use better data/training at smaller scaleDeepSeek-Coder-6.7B-Instruct · NCB testpass@1: outperforms >30B by about 2.8% and >60B by about 1.9%Improved
English instead of Chinese problem versionGPT-4 and GPT-4-Turbo · NCB testpass@1: +1.1% and +3.9% over zh averageImproved
random sampling (pass@10/50) instead of greedyCodellama-70B-Instruct · NCB testpass@kImproved
evaluate base LLMs with in-context learning onlypre-trained base LLMs · NCBpass rateHurt

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy