ainotis Join
My notis

Checked fact 9319 Oct 2026Safety and security

Anthropic gives calling sys.exit(0) in Python to break out of a test harness with an exit code of 0, making it appear all tests have passed, as an example of a reward hack on programming tasks.

The exact words it rests on

one such method is calling sys.exit(0) in Python to break out of a test harness with an exit code of 0, making it appear that all tests have passed successfully

What the source said when we opened it, on 9 Oct 2026.

The source

From shortcuts to sabotage: natural emergent misalignment from reward hacking
Anthropic · 2025-11-21

Checked

Checked by the notis newsroom on , against the source above.

In the story

How reward hacking lets a model game its score 9 Oct 2026

Cite this fact

Anyone may quote this address. It does not change; if we correct the story, this page says so.