0 · Original
1 · Better names
2 · Name the numbers
3 · Small functions
Slip in a mistake
Example
Expected
Got
Every step is checked against the same eight examples. The expected answers come from running the original function once.