翻篇收录说明
翻篇网页快照

Code Migration Leaderboard and Methodology | Vals AI

https://www.vals.ai/benchmarks/code-migration-v1-1

最近抓取:2026-12-03 12:56:36(北京时间)

最近内容变化:2026-12-03 12:56:36(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Compare AI agents on Code Migration v1.1: reimplementing working programs in another language. Explore success rates, evaluation costs and methodology.

正文摘录

CodingCode Migration Code Migration v1.1Rewriting programs in new languagesCode Migration v1.1•Nov 19, 2026ACCURACYCostFrontierLog scaleShowing latest, top & frontier models (19)Lab:AnthropicDeepSeekGoogleInceptionMetaNVIDIAOpenAIReflectionStepFunThinking MachinesXiaomiPinch or Ctrl/Cmd + scroll to zoom. Once zoomed, scroll or swipe with two fingers to pan, or drag to pan. Shift + drag draws a box to zoom into; turn on box zoom to draw one without Shift. Plus and minus keys zoom, arrow keys pan, 0 resets. Code Migration leaderboard Rank Model Accuracy Cost / Test Tokens / Test Duration / Test 1 Claude Sonnet 5.5 86.88% $43.88 353.30m 4h07m 2 Claude Fable 5.2 83.27% $69.19 188.47m 3h07m 3 Claude Opus 5.5 81.01% $72.40 302.32m 3h29m 4 GPT-6 Astra 80.58% $62.07 31.00m 1h27m 5 GPT-6.1 Sol 77.32% $9.51 37.14m 1h39m 6 Wonder 72.36% $47.93 219.17m 2h42m 7 Gemini 4 Argon 70.80% $44.79 145.90m 2h22m 8 DeepSeek V4.1 Flash 1017 67.52% $1.76 228.26m 2h21m 9 Wonder Full 62.79% $23.58 91.28m 4h18m 10 DeepSeek V4.1 Flash 58.94% $1.09 121.32m 1h54m 11 Qwen 3.8 Max 0902 57.19% $27.08 110.10m 4h08m 12 GLM 5.3 55.07% $34.91 142.25m 2h58m 13 Grok 4.7 53.22% $38.05 46.46m 1h05m 14 Claude Haiku 5.5 52.36% $6.20 95.89m 1h26m 15 DeepSeek V4 Pro 0813 51.99% $12.16 263.33m 2h54m 16 GLM 5.3 Flash 51.65% $8.96 324.23m 3h20m 17 MiMo V2.6 Pro 48.79% $0.99 84.95m 3h28m 18 Step 5 Preview 47.00% $8.61 161.54m 3h17m 19 GPT-6 Luna 46.67% $0.83 46.81m 1h00m 20 Hy4 Preview 45.36% $3.58 61.57m 1h54m 21 MiMo V2.6 Flash 39.55% $0.53 125.33m 4h10m 22 Mercury 3 39.26% $2.11 101.88m 1h25m 23 Gemini 3.8 Flash 38.65% $15.79 96.29m 2h35m 24 Kimi K3 28.59% $35.75 114.05m 4h31m 25 Muse Spark Open 26.89% $3.77 13.30m 1h24m 26 Inkling 2 Mini 23.16% $16.78 653.72m 3h24m 27 Beam 1.0 22.85% - 9.94m 13m40s 28 MiniMax-M3 20.90% $8.39 68.44m 1h26m 29 Nemotron 3.5 Super VL 16.44% $1.60 35.60m 26m44s 30 Inkling Small 10.43% $1.36 23.15m 17m56s 31 Inkling 8.82% $6.13 18.78m 24m11s Reasoning EffortAccuracy at each model's reasoning efforts, labelled with each provider's own settingCode Migration v1.1•Nov 19, 2026AccuracyCostLog scaleModel:GPT-6.2 AstraClaude Fable 5.2Claude Opus 5.5GPT-6 AstraGemini 4 ArgonGLM 5.3DeepSeek V4.1 FlashGrok 4.7Muse Spark 1.3Effort settings are compared on the same fixed subset of tasks, so scores may differ from the Overall leaderboard. Methodology Costs are estimated from tokens. Error bars show ±1 standard error. What changed from v1: v1.1 runs every model on the Pi agent harness instead of mini-SWE-agent, and grades against revised hidden test suites. The tasks are the same, but scores are not directly comparable to Code Migration v1. Background Translating a working program from one language to another is a costly, high-stakes engineering task, whether porting a tool to a new ecosystem or modernizing legacy systems written in languages that are increasingly hard to staff. COBOL-to-Java migration carries real economic weight: decades-old COBOL still runs core transaction systems at many of the world’s largest banks, insurers, and government agencies. These institutions are spending heavily on multi-year programs to modernize that code onto maintainable languages like Java. The work is slow, risky, and exactly the kind of task reliable automation could transform. Migration between modern languages matters too, driven by the pursuit of better runtime performance, richer tooling and ecosystems, or the memory-safety guarantees of a language like Rust. Code Migration measures how well frontier models can automate both kinds of work (modernizing legacy COBOL to Java, and translating between modern languages) by taking an existing program and faithfully reproducing its behavior in the target language. Results Accuracy vs. Cost Code Migration v1.1OverallCost / TestAccuracyAlibabaAnthropicDeepSeekGoogleInceptionMetaMiniMaxMoonshot AINVIDIAOpenAIReflectionSpaceXAIStepFunTencentThinking MachinesXiaomizAI Claude Sonnet 5.5 leads at 86.88%, ahead of Claude Fable 5.2 (83.27%) and Claude Opus 5.5 (81.01%). Correctness vs. Code Quality Code Quality vs AccuracyCode qualityAccuracyAnthropicOpenAIMetaGoogleDeepSeekAlibabazAISpaceXAIXiaomiStepFunTencentInceptionMoonshot AIThinking MachinesReflectionMiniMaxNVIDIACode quality is the mean of four reviewer dimensions (readability, documentation, file structure, language idioms) over CLI tasks, scored independently of hidden-test pass rateHover a point for the model Passing hidden tests and writing clean code are related but distinct: the strongest test-passers are not always the highest-rated implementations. Claude Haiku 5.5 has the highest code-quality rating. Difficulty by Target Language CLI Accuracy by Target LanguageBest target per model in darker greenAll 31 modelsModelPythonJavaKotlinRustC++CLI avg1Claude Sonnet 5.586.284.180.979.384.482.82Claude Fable 5.283.481.181.175.186.181.03Claude Opus 5.585.780.373.973.979.078.34GPT-6 Astra77.475.876.873.580.176.45GPT-6.1 Sol78.072.774.170.780.874.86Gemini 4 Argon68.068.765.764.675.767.87Wonder69.766.369.159.772.467.18DeepSeek V4.1 Flash 101766.857.758.256.555.559.29Wonder Full61.350.049.143.665.052.710DeepSeek V4.1 Flash50.845.948.248.843.247.711Qwen 3.8 Max 090250.745.438.950.842.345.612GPT-6 Luna48.641.944.839.947.844.313Claude Haiku 5.548.238.243.738.841.242.114GLM 5.349.643.540.237.126.940.615Grok 4.746.541.237.541.035.140.616MiMo V2.6 Pro44.342.637.436.932.239.217GLM 5.3 Flash44.943.736.332.035.138.718Hy4 Preview45.535.536.636.933.637.919DeepSeek V4 Pro 081345.438.732.533.533.236.820Step 5 Preview44.434.630.632.434.435.221Mercury 327.525.630.830.623.028.022Gemini 3.8 Flash33.125.822.528.131.127.623MiMo V2.6 Flash38.524.219.128.126.527.024Inkling 2 Mini26.218.917.56.123.218.125Muse Spark Open16.614.912.815.816.115.026Kimi K314.213.214.16.07.311.427Nemotron 3.5 Super VL14.611.88.810.76.710.828Beam 1.012.99.27.74.411.48.929MiniMax-M314.27.67.25.47.28.330Inkling Small5.03.43.11.80.73.031Inkling3.04.63.10.90.32.6Bars share one scale, 0 to 90% pass rate; rows ranked by CLI averageEach of the 30 source repositories is migrated into the four non-source target languages The chart groups hidden-test pass rate by target language, with one bar per model in each group. The strongest target varies by model: the Claude models do best on Python, while GPT-6 Astra and GPT-6.1 Sol do best on C++. Behavioral Test Pass-Rate Distribution Share of tasks at or above a hidden-test pass thresholdtask:CLIClaude Sonnet 5.5Claude Fable 5.2Claude Opus 5.5GPT-6 AstraGPT-6.1 SolGemini 4 ArgonWonderDeepSeek V4.1 Flash 1017Wonder FullDeepSeek V4.1 FlashQwen 3.8 Max 0902GPT-6 LunaClaude Haiku 5.5GLM 5.3Grok 4.7MiMo V2.6 ProGLM 5.3 FlashHy4 PreviewDeepSeek V4 Pro 0813Step 5 PreviewMercury 3Gemini 3.8 FlashMiMo V2.6 FlashInkling 2 MiniMuse Spark OpenKimi K3Nemotron 3.5 Super VLBeam 1.0MiniMax-M3Inkling SmallInklingEach line is one model: the share of its tasks that pass at least the given fraction of hidden testsClick a legend entry to toggle a model; double-click to isolate it This graph shows how models perform at different hidden-test pass-rate thresholds. A threshold of 80%, for example, counts a task as resolved only if the rebuilt program passes at least 80% of its hidden behavior tests; a threshold of 100% requires reproducing the tested behavior exactly. The steeper a model’s drop-off near the high thresholds, the more all-or-nothing its migrations. Methodology Every task runs the same way. The model works in an offline sandbox with the source program and task instructions, and submits a target-language implementation plus a Dockerfile. The grader builds that image and runs a hidden behavior-test suite the model never sees. Before scoring, a separate anti-cheat checker inspects each submission and zeroes any that wrap the original executable, copy reference artifacts, or hardcode expected outputs. It also verifies that the submission is actually written in the requested target language, so a model cannot pass by leaving the program in its source language. The CLI split is 30 open-source repositories spanning Python, Java, Kotlin, Rust, and C++. Each is migrated into its four non-source target languages (120 scored repository-language migrations in all), and every migration is graded against a hidden suite of roughly 100 to 400 behavior tests, exercised through the program’s command-line interface. The COBOL split is a 10-repository COBOL-to-Java test set (a mix of open-source COBOL programs and synthetic operational systems built for the benchmark) that stresses file formats, batch workflows, terminal interfaces, and persistent state. The headline score is hidden-test pass rate. A CLI repository’s score is the average across its four target languages, so all 30 repositories count equally despite the language fan-out. The Overall score keeps every source repository equally weighted, which gives the CLI split (30 repositories) three times the weight of COBOL (10). Code quality is reported as a separate diagnostic (a reviewer rating of readability, documentation, structure, and idiomatic style) and never affects the pass-rate score.