Benchmark Almanac

Code refactoring tasks (OpenAI)

Dropped

Agents perform refactor-style tasks taken from large, established repositories in Python, Go and OCaml. One example threads a ctx variable through 232 files and 3,541 lines of Gitea.

OpenAI introduced it with GPT-5-Codex on September 15th, 2025. The post does not say how tasks are graded, so verified is assumed from the repository-task setup.

Made by
OpenAI
Released
September 2025
Kind
Fixing real repositories
Level
Expert
Scored
Checked automatically
Answers
Agent task
Tasks
Kept private
Measures
Capability
Language
English
In and out
Text, Code → Code, Actions
Interaction
Agentic
Environment
Terminal
Items from
Real work and use
Refresh
One fixed set
Last in a launch post
September 2025, dropped before it saturated
Last model added
September 2025
1
Model scored in lab cards
1
Launch post lists it, from 1 lab

GPT-5-Codex leads with 51.3%

Best score per model as labs report them in their own cards, drawn striped. Labs pick their own settings, so these compare less cleanly than independent runs.

  1. 1 GPT-5-Codex 51.3%

Source: Labs’ model cards

#ModelScoreSettingDateSource
1 GPT-5-Codex 51.3% Sep 2025 Lab model card

Scores over time

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

Reported by the lab in its model card
0% 20% 40% 60% 80% 100% Near the ceiling (85%) GPT-5-Codex 0% 20% 40% 60% 80% 100% Near the ceiling (85%) GPT-5-Codex

Source: Labs’ model cards

No launch post has listed it since September 2025

Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.

OpenAI
DateLaunch postScoreAs the post writes it
Sep 15, 2025 GPT-5-Codex 51.3 Code refactoring tasks, GPT-5-Codex (high)

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

3 of 4 checks pass, 1 warning. Look first at the Confidence check. Likely. Some facts rest on secondary sources. Every benchmark

Catalog record 1 warning 1 pass
  • Pass Task access The tasks are private.
  • Warning Confidence Likely. Some facts rest on secondary sources.
Scores 1 pass 4 notes
  • Note Independent runs Only labs’ own numbers, as expected for an in-house eval. Scores from launch posts (1 score).
  • Note Models scored Only 1 model we track.
  • Note Newest score The newest came 14 months ago, in September 2025, for GPT-5-Codex. Only the lab that runs it can add scores.
  • Note Frontier models None of its models are on the capabilities index.
  • Pass Headroom The best is 51.3%, under 85%, so it still separates models.
Leaderboard import 1 note
  • Note Importer No public leaderboard to read.
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