hotel bookings: edge case
hotel bookings: edge case: a task in smol-software-harbor (Harbor dataset). A guest checking in on the day another guest checks out is refused, because overlaps() in hotel/bookings.py treats the check-out day as occupied. A stay occupies the nights from check-in up to, but not including…
The task
A guest checking in on the day another guest checks out is refused, because `overlaps()` in `hotel/bookings.py` treats the check-out day as occupied. A stay occupies the nights from check-in up to, but not including, check-out. Fix the overlap rule (see `test_back_to_back_is_not_an_overlap`) and run `python3 -m…
Part of efederici/smol-software-harbor.