CodePanel

Error handling bugs: which models catch them

Of the 17 models ranked on error-handling bugs, Claude Opus 5.5, GPT-6.1 Sol and Claude Sonnet 5.5 tied for the most: 80% of known defects. Every other model's 95% interval overlaps theirs. Gemini 3.5 Flash-Lite caught the fewest, 20% [0%–60%].

Updated 2026-11-04Full leaderboardMethodology

Results

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

Error handling bugs: which models catch them
ModelCaught hereEvery bug
Claude Opus 5.580%[40%–100%]90%
GPT-6.1 Sol80%[40%–100%]89%
Claude Sonnet 5.580%[40%–100%]77%
Claude Haiku 5.573%[33%–100%]64%
Gemini 3.1 Pro70%[30%–100%]67%
GLM-5.3 Flash (Workers AI)70%[30%–100%]61%
GLM-5.3 (Workers AI)65%[25%–100%]61%
Gemini 4 Argon60%[20%–100%]82%
GPT-5.6 Sol60%[20%–100%]72%
GPT-6 Luna60%[20%–100%]67%
GPT-OSS 120B (Workers AI)60%[27%–93%]40%
DeepSeek V4 Flash (Workers AI)53%[13%–93%]49%
Gemma 4 26B A4B (Workers AI)53%[13%–93%]26%
DeepSeek V4 Pro (Workers AI)50%[20%–80%]54%
Kimi K2.7 Code (Workers AI)40%[18%–62%]38%
Gemini 3.8 Flash30%[0%–70%]68%
Gemini 3.5 Flash-Lite20%[0%–60%]11%

Against the rest of the benchmark

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

Gemma 4 26B A4B gains the most here: 53%, against 26% over every bug.

Gemini 3.8 Flash drops the most: 30%, against 68% over every bug.

What counts as an error-handling bug

An error-handling bug is a failure path that does the wrong thing: an error swallowed or escalated where it should not be, a fallback that hides the fault, cleanup that is skipped when a call fails.

A test PR that split the models

The change “reorganize nushell configuration” in nushell/nushell, a change of over 300 lines that landed in July 2026, introduced an error-handling bug in Rust code that a later upstream commit fixed.

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