Eight readings shrink to two
transcript
A test finds a failing list. It has eight readings. That is too many to trace.
The list is three, zero, one, six, six, one, three, one. The job says four. The answer is three.
Drop one reading. If the job still fails, keep the drop. If the job turns right, undo it. Each drop makes the list shorter. The failure stays.
Repeat until no drop keeps the failure. You are left with three, one. The job says one. The answer is zero.
Now the trace has one row. Place zero holds three. The last reading is one. Three beats one. That is the false rise. The table now has a single row. You can read it at a glance.
Fewer rows are easier to read. You can check every row by hand. The bug stands out. Print only after you shrink. Six lines are a table.
Shrink it first. Full breakdown in the lecture.