Definition
Satisfying the literal specification or metric in a way that violates its intended purpose.
Distinguish it from nearby terms
A system can game a specification without learning through reinforcement, so specification gaming is broader than reward hacking.
Check your understanding
Ask what behavior would maximize the visible criterion while defeating stakeholder intent.