ModelRefs / DS-1000 Methodology and Evidence

DS-1000 Methodology and Evidence

Data-science code synthesis across NumPy, Pandas, PyTorch, scikit-learn.

Overview

How it is measured: Pass@1 with test-driven evaluation.

What this benchmark measures

  • data science code generation
  • library API usage

Relevant to:

  • analyst assistant screening
  • data pipeline code generation

Failure modes it exercises:

  • incorrect or non-idiomatic use of data science libraries

Method and its limits

1,000 data science problems derived from 451 unique StackOverflow questions across seven libraries, scored by multi-criteria automatic evaluation combining test-case execution with surface-form constraints on API and keyword usage.

  • Problems reflect what StackOverflow users asked, which skews toward difficulties people got stuck on rather than routine work.
  • Surface-form constraints make the metric stricter than functional correctness alone, so scores are not comparable with execution-only benchmarks.

How to read this score

The official page reports that only 1.8% of accepted Codex-002 solutions were in fact incorrect, which is an unusually strong statement of metric reliability, and that Codex-002 reached 43.3%.

Benchmark gaming risk: Low — Surface-form constraints plus perturbed problems make it harder to satisfy by recall or by a single memorised idiom than an execution-only benchmark.

Dataset coverage

1,000 problems from 451 unique StackOverflow problems across seven libraries, as registered on the official page. The page states no release date; the freshness date recorded here is the primary paper's publication date.

Benchmark Fit

Decision-support signal

Benchmark fit is relevant evidence for a specific use case. It does not prove a model is best. Interpret results with methodology, dataset, freshness, and real-task limitations.

Structured benchmark evidence is partial. Unknown freshness, contamination, or workload-transfer fields remain visible and constrain interpretation.

How well the evidence supports each fit criterion
  • Use-case relevance Current support
  • Capability match Current support
  • Failure-risk coverage Current support
  • Real-task similarity Established · high similarity
  • Methodology quality Current support
  • Dataset freshness/coverage Current support
  • Interpretability Current support
  • Source/evidence quality Current support

What this benchmark tests

Data-science code synthesis across NumPy, Pandas, PyTorch, scikit-learn.

What it does not prove

A leaderboard position does not establish production reliability, workload fit, safety, cost, latency, or superiority outside this task and evaluation protocol.

Limitations

  • StackOverflow-derived problems skew toward where people got stuck.
  • Scores are not comparable with execution-only code benchmarks.

Freshness concerns

Official project source reviewed 2026-10-12. The source states no release date; the freshness date recorded here is the publication date of the primary paper attached 2026-10-25.

Structured benchmark evidence

Dataset
DS-1000 — StackOverflow-derived data science coding problems
Dataset freshness
aging (2022-11-18)
Real-task similarity
high. Established from the official source: DS-1000 draws 1,000 problems from 451 unique StackOverflow questions across NumPy, SciPy, Pandas, TensorFlow, PyTorch, Scikit-learn and Matplotlib, and evaluates both functional correctness and surface-form constraints such as restricted API usage. Problems that practitioners actually asked, checked for both correctness and acceptable form, is close to real analyst work.
Workload-risk fit
data analysis code, scientific Python
Contamination risk
medium. The authors proactively perturb problems against memorisation — the official page registers 152 surface perturbations, 235 semantic perturbations and 162 difficult rewrites, with more than half of all problems modified. The page does not quantify how effective those defences are, and the StackOverflow originals remain public.
Source evidence
primary. The official project page is a primary source for composition, perturbation design and the reliability figure. No model scores are registered on this page.

Decisions this can support

  • Screen assistants for practical data science code rather than puzzle-style tasks.
  • Prefer a benchmark with explicit anti-memorisation design when contamination is a concern.

Internal evaluation still required

  • Test against your own library versions; API changes break idioms these problems assume.

What this evidence does not cover

  • No model scores are registered on this page, so it supports no comparison.
  • The effectiveness of the perturbation defences is asserted by design rather than measured, and the release date is not stated.

DS-1000 — official project page — official · DS-1000 authors · reviewed 2026-10-12 — Supports the 1,000 problems from 451 unique StackOverflow questions, the seven libraries, the multi-criteria evaluation, the perturbation counts, and the 1.8% false-acceptance and 43.3% Codex-002 figures; it does not support any model score, and no score is registered on this page.

DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation — primary research · Lai et al. · reviewed 2026-10-25 — The primary methodology paper, establishing the benchmark's problem sourcing and release date. It does not establish any model's score.

A fit score is intentionally withheld until the target use case and failure risks are supplied.

Predicts Performance For

Use-cases where scores on this benchmark are predictive, derived from the benchmark→capability→use-case graph. Higher weight = stronger signal.

Graph-derived signal only. Benchmark coverage of a use-case does not imply suitability for every task within that use-case.

How this benchmark is scored

Categorycoding
Maximum score100 pass@1
DirectionHigher is better

Primary source: https://ds1000-code-gen.github.io/

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to DS-1000 Methodology and Evidence.

Frequently asked questions

What does the DS-1000 benchmark measure?

Data-science code synthesis across NumPy, Pandas, PyTorch, scikit-learn.

What is the methodology?

Pass@1 with test-driven evaluation.