Research map / Large language models / Agents, code and math
DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation
Yuhang Lai, Chengxi Li, Yiming Wang, Tianyi Zhang, Ruiqi Zhong, Luke Zettlemoyer, Wen-tau Yih, Daniel Fried, Sida Wang, Tao Yu
Beijing Institute of Technology · Harbin Institute of Technology · Peking University · Stanford University · University of California, Berkeley · Meta
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 Insertion instead of Completion prompting | Codex-002 on DS-1000 · DS-1000 | pass@1 accuracy: 39.2 -> 43.3; 4.1% average accuracy improvement | Improved |
| Use Insertion instead of Completion prompting | InCoder-6B on DS-1000 · DS-1000 | pass@1 accuracy: 7.4 -> 7.5 | Mixed |
| Apply surface perturbations to the problems | Codex-002 on DS-1000 · DS-1000 surface-perturbed subset | pass@1 accuracy: -3.4% | Hurt |
| Apply semantic perturbations to the problems | Codex-002 on DS-1000 · DS-1000 semantic-perturbed subset | pass@1 accuracy: -9.0% | Hurt |
| Rewrite problems to increase difficulty | Codex-002 on DS-1000 · DS-1000 difficult-rewrite subset | pass@1 accuracy: -25.8% | Hurt |
| Surface-perturb the problems | Codex-002 on numpy-100 · numpy-100 | pass@1 accuracy: 72.5 -> 50.8 | Hurt |
| Semantic-perturb the problems | Codex-002 on numpy-100 · numpy-100 | pass@1 accuracy: 72.5 -> 23.6 | Hurt |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Can LLMs Implicitly Learn Numeric Parameter Constraints in Data Science APIs? (NeurIPS 2024 · similarity 0.86)
- Mercury: A Code Efficiency Benchmark for Code Large Language Models (NeurIPS 2024 · similarity 0.85)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.85)
- SciCode: A Research Coding Benchmark Curated by Scientists (NeurIPS 2024 · similarity 0.83)
- ResearchCodeBench: Benchmarking LLMs on Implementing Novel Machine Learning Research Code (NeurIPS 2025 · similarity 0.83)
- DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination (ICML 2025 · similarity 0.83)
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.