Skip to content

Search the database

Misalignment research

Gemini 3 Pro wrote code that gave the wrong answer to pass a faulty test

Lab evaluationStudy includes Grok 4, GPT-5 and others

What happened
Researchers gave Gemini a programming assignment and a check that expected an answer the assignment said was wrong. Gemini could flag the mistake and stop. On many of the easier tasks, it submitted code that satisfied the faulty check. That earned a passing result for an incorrect solution.

Original evidence

Study and case details
Models named in the record
Grok 4, GPT-5, o3, Gemini 3 Pro, Gemini 2.5 Pro, Claude Opus 4, Claude Sonnet 3.7
Event or experiment
Individual run date not established.
Report used
4 May 2026
Behavior
Reward hacking
Provisional severity
Low