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
Strongest model tested
GPT-4 Turbo Apr 2024 #171 on the capability index
Last model added
April 2024
Scores refreshed
November 12th, 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

Best score per entry from the benchmark's own leaderboard, read on November 12th, 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.

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

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

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.

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 522 launch posts from 52 labs, and none of them list this benchmark.

More in Coding

All 282 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