Verification reports bookings outside the 7-day schedule as unexpected, and 'Missing -3' #50

Closed
opened 2026-10-28 14:35:00 +01:00 by Tirsvad · 0 comments
Owner

A real run (student account, 2026-10-28) ends in MISMATCH: Expected 2, Found 5, 'Missing -3 bookings', with three 'Unexpected' Spin Class entries on Nov 12, 17 and 24.

Cause: the My Bookings page lists bookings from earlier runs that lie beyond the schedule's next 7 days, and the check counts them. The 'Missing' count also goes negative.

Idea: compare only the entries inside the window the bot booked (or report extra bookings as a note, not a mismatch) and never print a negative count.

Seen in docs/images/step-8.png. Needs a task in a milestone before code changes (plan-first gate).

A real run (student account, 2026-10-28) ends in MISMATCH: Expected 2, Found 5, 'Missing -3 bookings', with three 'Unexpected' Spin Class entries on Nov 12, 17 and 24. Cause: the My Bookings page lists bookings from earlier runs that lie beyond the schedule's next 7 days, and the check counts them. The 'Missing' count also goes negative. Idea: compare only the entries inside the window the bot booked (or report extra bookings as a note, not a mismatch) and never print a negative count. Seen in docs/images/step-8.png. Needs a task in a milestone before code changes (plan-first gate).
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/049-snack-and-lift#50