CodePanel

Logic bugs: which models catch them

Of the 17 models ranked on logic bugs, GPT-6.1 Sol caught the most: 100% of known defects. Claude Opus 5.5, Gemini 4 Argon and Gemini 3.8 Flash have 95% intervals that overlap its own. Gemini 3.5 Flash-Lite caught the fewest, 11% [0%–29%].

Updated 2026-11-04Full leaderboardMethodology

Results

Known defects caught, with 95% intervals. The tick is the model's recall over every bug.

Logic bugs: which models catch them
ModelCaught hereEvery bug
GPT-6.1 Sol100%89%
Claude Opus 5.590%[74%–100%]90%
Gemini 4 Argon89%[71%–100%]82%
Gemini 3.8 Flash82%[61%–100%]68%
GPT-5.6 Sol71%[50%–93%]72%
Claude Sonnet 5.564%[36%–86%]77%
GPT-6 Luna64%[36%–86%]67%
GLM-5.3 Flash (Workers AI)63%[43%–81%]61%
Gemini 3.1 Pro61%[39%–82%]67%
DeepSeek V4 Pro (Workers AI)55%[35%–74%]54%
GLM-5.3 (Workers AI)52%[32%–71%]61%
DeepSeek V4 Flash (Workers AI)50%[30%–70%]49%
Claude Haiku 5.546%[21%–71%]64%
Kimi K2.7 Code (Workers AI)44%[27%–62%]38%
GPT-OSS 120B (Workers AI)38%[19%–58%]40%
Gemma 4 26B A4B (Workers AI)24%[10%–42%]26%
Gemini 3.5 Flash-Lite11%[0%–29%]11%

Against the rest of the benchmark

On average these models caught 59% of logic bugs, less often than the 60% the same 17 caught across the whole benchmark: the third-easiest of the 6 kinds of bug.

Gemini 3.8 Flash gains the most here: 82%, against 68% over every bug.

Claude Haiku 5.5 drops the most: 46%, against 64% over every bug.

What counts as a logic bug

A logic bug gives the wrong result on an ordinary input: an inverted condition, an off-by-one, a missed case, a calculation on the wrong value.

A test PR that split the models

The change “Fix DataClassEq comparator” in kotest/kotest, a change of 100 to 300 lines that landed in April 2026, introduced a logic bug in Kotlin code that a later upstream commit fixed.

GPT-6.1 Sol, Gemini 4 Argon and Claude Sonnet 5.5 caught it; GLM-5.3 Flash, GLM-5.3, DeepSeek V4 Pro (Workers AI), DeepSeek V4 Flash (Workers AI), Kimi K2.7 Code (Workers AI) and Gemma 4 26B A4B caught it in part; Claude Opus 5.5, GPT-5.6 Sol, Gemini 3.8 Flash, GPT-6 Luna, Claude Haiku 5.5, Gemini 3.1 Pro, GPT-OSS 120B (Workers AI) and Gemini 3.5 Flash-Lite missed it.