A check the tested code can cheat
Gates that lie · 10 of 11
Our self-improving code loop had a gate that a candidate could fool by deleting one line, because the stopwatch lived in a file the candidate could edit. The fix was to put the stopwatch out of reach.