Benchmark Almanac

DS-1000

GPT-4 Turbo Apr 2024 53.9% leads since April 2024
Not in model cards

Models write Python for 1,000 data science problems from StackOverflow across seven libraries such as NumPy and Pandas. Test cases and API constraints check each answer.

Problems were lightly modified from the StackOverflow originals to reduce memorization.

Made by
HKU, Stanford, UC Berkeley, UW, Meta and CMU
Released
November 2022
Kind
Data science and SQL
Level
University
Scored
Checked automatically
Answers
Code
Tasks
All public
Measures
Capability
Language
English
In and out
Text, Code → Code
Interaction
Single turn
Items from
Real work and use
Refresh
One fixed set
Run by
Anyone
Strongest model tested
GPT-4 Turbo Apr 2024 #173 on the capability index
Last model added
April 2024
Updated automatically
Yes, daily
Scores refreshed
November 24th, 2026

In the authors’ words

We introduce DS-1000, a code generation benchmark with a thousand data science problems spanning seven Python libraries, such as NumPy and Pandas. Compared to prior works, DS-1000 incorporates three core features. First, our problems reflect diverse, realistic, and practical use cases since we collected them from StackOverflow. Second, our automatic evaluation is highly specific (reliable) – across all Codex-002-predicted solutions that our evaluation accept, only 1.8% of them are incorrect; we achieve this with multi-criteria metrics, checking both functional correctness by running test cases and surface-form constraints by restricting API usages or keywords. Finally, we proactively defend against memorization by slightly modifying our problems to be different from the original StackOverflow source; consequently, models cannot answer them correctly by memorizing the solutions from pre-training. The current best public system (Codex-002) achieves 43.3% accuracy, leaving ample room for improvement. We release our benchmark at https://ds1000-code-gen.github.io.

Abstract of DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation (arXiv:2211.11501, CC0)
5
Entries on its own leaderboard, 4 models we track

GPT-4 Turbo leads with 53.9% among models released by April 2024 GPT-4 Turbo leads with 53.9% among models released by April 2024

Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.

The newest model with a score here came out in April 2024, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 GPT-4 Turbo Apr 2024 53.9%
  2. 2 GPT-4 Jun 2023 51%
  3. 3 GPT-3.5 Turbo Jan 2024 39.4%
  4. 4 codex002 38.8%
  5. 5 GPT-3.5 Turbo Jun 2023 38.6%

Source: Official DS-1000 leaderboard

#EntryScoreSettingDateLinkSource
1 GPT-4 Turbo Apr 2024 53.9% Apr 2024 github.com Official leaderboard
2 GPT-4 Jun 2023 51% Jun 2023 github.com Official leaderboard
3 GPT-3.5 Turbo Jan 2024 39.4% Jan 2024 github.com Official leaderboard
4 codex002 38.8% github.com Official leaderboard
5 GPT-3.5 Turbo Jun 2023 38.6% Jun 2023 github.com Official leaderboard
#ModelScoreSettingDateLinkSource
1 GPT-4 Turbo Apr 2024 53.9% Apr 2024 github.com Official leaderboard
2 GPT-4 Jun 2023 51% Jun 2023 github.com Official leaderboard
3 GPT-3.5 Turbo Jan 2024 39.4% Jan 2024 github.com Official leaderboard
4 GPT-3.5 Turbo Jun 2023 38.6% Jun 2023 github.com Official leaderboard

Rankings by part

We read 11 parts from the benchmark’s own leaderboard, each ranking models on one part of the test, such as Matplotlib, NumPy and pandas. GPT-4 Turbo leads 9 of them, and GPT-4 leads the other 2. Arrows show how far a model moved from its overall rank among the models we track.

Matplotlib

4 models we track have a score here.

  1. 1 GPT-4 Turbo Apr 2024 71.6%
  2. 2 GPT-3.5 Turbo Jan 2024 ↑1 65.8%
  3. 3 GPT-4 Jun 2023 ↓1 65.2%
  4. 4 GPT-3.5 Turbo Jun 2023 58.7%

Everything the board measures

The benchmark’s own leaderboard publishes 24 numbers for each entry: the headline score, 11 parts of the test and 12 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.

Measure

    2 models have held number one on the official leaderboard since 2023

    Lab claims count from the day the card came out, independent runs from the model’s release.

    OpenAI
    Own leaderboard Not tested since Apr 2024
    GPT-4 Turbo 53.9%

    Source: Official DS-1000 leaderboard

    Scores over time

    All the scores we have, one dot each, so a model tested at several settings appears more than once.

    Plot with other benchmarks
    On the benchmark’s own leaderboard Best so far
    0% 20% 40% 60% 80% 100% 2023 2024 Near the ceiling (85%) GPT-4 Turbo GPT-4 0% 20% 40% 60% 80% 100% 2023 2024 Near the ceiling (85%) GPT-4 Turbo GPT-4

    Source: Official DS-1000 leaderboard

    No lab model card reports it yet

    We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.

    More in Coding

    All 523 in Coding
    • SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
    • LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests. DeepSeek-V4-Pro 93.5%
    • SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
    • DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
    • SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases. Seed2.1 Pro 59.8%
    • Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance. DeepSeek V4.1 Flash 3,471

    Data audit

    9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 2 years ago, in April 2024, for GPT-4 Turbo. Every benchmark

    Catalog record 2 pass
    • Pass Task access All tasks are public.
    • Pass Confidence Checked against a primary source.
    Scores 1 warning 3 pass 1 note
    • Pass Independent runs Scores from the official leaderboard (5 entries).
    • Pass Models scored 4 models we track, plus 1 other entry on its leaderboard.
    • Warning Newest score The newest came 2 years ago, in April 2024, for GPT-4 Turbo.
    • Note Frontier models None of the top 10 has a score. The strongest tested is GPT-4 Turbo (#173).
    • Pass Headroom The best is 53.9%, under 85%, so it still separates models.
    Leaderboard import 3 pass
    • Pass Importer We read the board on github.com: 4 rows for models we track and 1 other entry at the last read.
    • Pass Last read November 24th, 2026.
    • Pass Read worked The last read worked.
    Consistency 1 pass 2 notes
    • Note Lab claims No model has both a lab number and an independent run.
    • Pass Known issues No published audit found problems.
    • Note Epoch AI review Epoch AI hasn’t reviewed it.

    How we check