Track 16 · Evaluation & Post-Training
16.4 Reward Hacking & Graders
20 topics in 4 parts. Use it as a checklist before an interview, or as a map of what to learn next.
- CCritical
- HHigh
- MMedium
- NNew 2026
01Reward Hacking — The Taxonomy7 topics
- Audited benchmarks show a substantial share of tasks pass INCORRECT patchesC
- 1. Test modification · 2. Special-casing on test inputsC
- 3. Weak-assertion exploitation — most common, least visibleC
- 4. Environment/solution leakage · 5. Exception swallowingC
- 6. Harness subversion (conftest, sys.exit, plugins)C
- 7. Non-determinism exploitation — a flaky grader IS an exploitC
- 8. Resource/timeout gaming · 9. Underspecification exploitationC
02Building a Grader That Cannot Be Gamed6 topics
- The eight-step hardened protocol, each step closing a named hackC
- Reject patches touching tests/conftest/CI; restore config from pristineC
- Parse the structured report — never trust the exit code aloneC
- Require test ids to be PRESENT and passed, not merely "no failures"C
- Fail closed on timeout, OOM, crash, unparseable report, zero collectedC
- Weak vs strong assertions: pin values, types and attributesH
03Proving the Suite Discriminates5 topics
- Coverage says the line ran; mutation says the suite would notice if it were wrongC
- A SURVIVING MUTANT IS A WRONG PATCH THAT PASSES YOUR GRADERC
- Scope mutation to the files the fix touches (mutmut, cosmic-ray)H
- The five pre-submission checks: base fails, reference passes, alternative passes,C
- mutants die, and your own deliberate cheat patches all failC
04Drills & Exercise 10.42 topics
- Find six ways to pass assert parse("1,2,") is not NoneC
- Why "run the repo suite, require exit 0" is a weak graderC
Practise it
Knowing it is half.
Saying it is the rest.
Run a realistic voice interview with an AI panel in the Interview Room, then read a scored report on every answer.