Benchmark Almanac

Code refactoring tasks (OpenAI)

GPT-5-Codex 51.3% 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 2025-09-15. The post does not say how tasks are graded, so verified is assumed from the repository-task setup.

Made by OpenAI Released Sep 2025 Fixing real repositories Tasks kept private Last in a launch post Sep 2025 , dropped before it saturated Last model added Sep 2025
Level
Expert Specialists with years of training, often over hours of work
Scored
Checked automatically A program checks the result against an answer key, unit tests or the expected final state.
Answers
Agent task Many steps in a terminal, browser, desktop, app, game or robot.
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. Labs pick their own settings, so these compare less cleanly than independent runs.

  1. 1 GPT-5-Codex 51.3%
#ModelScoreSettingDateSource
1 GPT-5-Codex 51.3% Sep 2025 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

No launch post has listed it since Sep 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
15 Sep 2025 GPT-5-Codex 51.3 Code refactoring tasks, GPT-5-Codex (high)

More in Coding

All 243 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%
  • SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Opus 5.5 93.9%
  • 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%
  • 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