Benchmark · coding

Aider Polyglot

27 results 25 models

Aider Polyglot is a code-editing benchmark from the Aider coding tool that tests how well an LLM edits existing code across many programming languages. The score is the percentage of tasks whose edits produce correct code that passes the task's tests.

Read more
Example
A typical item is an Exercism-style coding exercise in one of several languages (Python, Rust, Go, Java, JavaScript, or C++), where the model must edit the provided source files to implement the required function so its tests pass.
Scoring
The metric is the percentage of tasks solved: a task counts only when the edited code passes all of its automated tests. Aider also tracks how often edits come back in the correct, applicable format.
Verification
Results are checked automatically: the edited files are run against each exercise's unit-test suite, and a task passes only if every test passes — no human votes or exact-match comparison.
Why it matters
It mirrors a real developer workflow — editing existing files across many languages rather than writing snippets from scratch — so it is a practical signal of how useful a model is as a coding assistant.
Worked example
Task
Aider Polyglot draws exercises from Exercism across 6 languages: the model gets a problem spec plus a stub file (e.g. acronym.py containing def abbreviate(words): ...) and must edit it so the hidden pytest suite passes. Example spec: convert a phrase to its acronym — 'Portable Network Graphics' → 'PNG', treating spaces, hyphens and underscores as separators and ignoring other punctuation.
Solution
import re

def abbreviate(words):
    return "".join(w[0].upper() for w in re.findall(r"[A-Za-z']+", words))
Walkthrough
The regex pulls out word tokens (letters plus intra-word apostrophes), takes each token's first letter, uppercases it and joins them, so 'Portable Network Graphics' → 'PNG'. Grading runs the exercise's hidden unit tests; the item scores only if every test passes (aider reports pass@2 over the suite).
0 23.5 47 70.5 94 2024-12-21 2025-10-13 2026-08-06 o1 · 62 · 2024-12-21 R1+Sonnet · 64 · 2025-01-24 GPT-4.5 · 45 · 2025-03-05 Gemini 2.5 Pro · 74 · 2025-03-26 Gemini 2.5 Pro · 83.1 · 2026-03-10 GPT-4.1 · 52.9 · 2025-04-14 GPT‑4.1 nano · 9.8 · 2025-04-14 o4-mini-high · 68.9 · 2025-04-17 Qwen3 235B A22B whole, no think, via official Alibaba API · 61.8 · 2025-05-08 Qwen3-235B-A22B whole with VLLM, bfloat16, recommended /no_think settings · 65.3 · 2025-05-08 Claude Opus 4 · 72 · 2025-05-23 Deepseek-R1-0528 · 71.6 · 2025-05-30 Gemini 2.5 06-05 · 82.2 · 2025-06-05 Grok 4 Heavy · 79.6 · 2025-07-10 GPT-5 · 88 · 2025-08-07 GPT-5 · 88 · 2025-08-07 GPT‑5 · 88 · 2025-08-07 DeepSeek V3.1 · 71.6 · 2025-08-20 Qwen3-Coder-480B-A35B-Instruct · 61.8 · 2025-10-17 GPT-5 with high reasoning effort · 88 · 2026-03-10 o3-pro · 84.9 · 2026-03-10 Claude Sonnet 4 · 61 · 2026-03-10 GPT-5 with medium reasoning · 81.3 · 2026-03-10 o4-mini · 80.8 · 2026-03-10 Argus · 76.8 · 2026-08-06 DeepSeek R1 · 56.9 · 2025-01-20 Claude 3.7 Sonnet · 64.9 · 2025-02-24
o1 R1+Sonnet GPT-4.5 Gemini 2.5 Pro GPT-4.1 GPT‑4.1 nano o4-mini-high Qwen3 235B A22B whole, no think, via official Alibaba API Qwen3-235B-A22B whole with VLLM, bfloat16, recommended /no_think settings Claude Opus 4 Deepseek-R1-0528 Gemini 2.5 06-05 Grok 4 Heavy GPT-5 GPT‑5 DeepSeek V3.1 Qwen3-Coder-480B-A35B-Instruct GPT-5 with high reasoning effort o3-pro Claude Sonnet 4 GPT-5 with medium reasoning o4-mini Argus DeepSeek R1 Claude 3.7 Sonnet
Timeline
Date Model Score Source
2026-08-06 Argus 76.8% Argus: A General-Purpose Agentic Runtime for Long-Horizon Reasoning
2026-03-10 GPT-5 with high reasoning effort 88.0% GPT-5 tops Aider Polyglot benchmark at 88% with high reasoning effort
2026-03-10 o3-pro 84.9% GPT-5 tops Aider Polyglot benchmark at 88% with high reasoning effort
2026-03-10 Gemini 2.5 Pro 83.1% GPT-5 tops Aider Polyglot benchmark at 88% with high reasoning effort
2026-03-10 Claude Sonnet 4 61.0% GPT-5 tops Aider Polyglot benchmark at 88% with high reasoning effort
2026-03-10 GPT-5 with medium reasoning 81.3% GPT-5 tops Aider Polyglot benchmark at 88% with high reasoning effort
2026-03-10 o4-mini 80.8% GPT-5 tops Aider Polyglot benchmark at 88% with high reasoning effort
2025-10-17 Qwen3-Coder-480B-A35B-Instruct 61.8% Alibaba releases Qwen3-Coder-480B-A35B-Instruct, an open-source coding model matching proprietary performance
2025-08-20 DeepSeek V3.1 71.6% DeepSeek releases hybrid reasoning model V3.1 with 71.6% Aider pass rate
2025-08-07 GPT-5 88.0% OpenAI introduces GPT-5 with unified routing and expert-level reasoning
2025-08-07 GPT-5 88.0% OpenAI launches GPT-5 with adaptive reasoning and unified architecture
2025-08-07 GPT‑5 88.0% OpenAI releases GPT-5 API with coding and agentic improvements
2025-07-10 Grok 4 Heavy 79.6% xAI releases Grok 4 with Heavy multi-agent tier and live web data
2025-06-05 Gemini 2.5 06-05 82.2% Google releases Gemini 2.5 06-05 preview with coding and reasoning upgrades
2025-05-30 Deepseek-R1-0528 71.6% DeepSeek updates R1 model with improved reasoning and benchmark scores
2025-05-23 Claude Opus 4 72.0% Anthropic releases Claude Opus 4 and Sonnet 4 with hybrid reasoning
2025-05-08 Qwen3 235B A22B whole, no think, via official Alibaba API 61.8% Qwen3 benchmark results show coding performance across providers
2025-05-08 Qwen3-235B-A22B whole with VLLM, bfloat16, recommended /no_think settings 65.3% Qwen3 benchmark results show coding performance across providers
2025-04-17 o4-mini-high 68.9% OpenAI releases o4-mini, a faster, cheaper multimodal reasoning model
2025-04-14 GPT-4.1 52.9% OpenAI releases GPT-4.1 family with 1M token context and coding improvements
2025-04-14 GPT‑4.1 nano 9.8% OpenAI launches GPT-4.1, GPT-4.1 mini, and GPT-4.1 nano in the API
2025-03-26 Gemini 2.5 Pro 74.0% Google releases experimental Gemini 2.5 Pro reasoning model with 1M token context
2025-03-05 GPT-4.5 45.0% OpenAI releases GPT-4.5, its largest model, for ChatGPT Plus
2025-02-24 Claude 3.7 Sonnet 64.9% Aider leaderboard
2025-01-24 R1+Sonnet 64.0% R1+Sonnet set SOTA on aider's polyglot benchmark
2025-01-20 DeepSeek R1 56.9% Aider leaderboard
2024-12-21 o1 62.0% OpenAI o1 tops Aider's new challenging polyglot coding leaderboard