Welcome to the workplace team. The day calendar in booking/ implements both levels in README.md. Since the last release, four reports have come in.
Welcome to the workplace team. The day calendar in booking/ implements both levels in README.md. Since the last release, four reports have come in.
Fix as much as you can in 30 minutes. The checks are graded one by one, so each report you fix counts even if the rest is not done.
The late support shift books 22:00 to 24:00 every day. Since the release it gets -1, though the room is empty.
Room A had a stand-up from 10:00 to 10:15. Someone booked 09:00 to 12:00 in the same room and got an id back.
The afternoon was booked before the morning. The free slots list now shows times that are booked.
free_slots lists free stretches correctly, earliest first, whatever order the bookings were made in.We booked twice (ids 1 and 2), cancelled 1, then booked again: the new booking got id 2, and the old booking 2 vanished from bookings().
pytest tests/visible. Two tests fail on the current code; not every report has a failing test yet.Visible test command
pytest tests/visibleThe repository’s own tests. Run all tests includes them, and so does every submission.
Repository
calendar-booking-midnight-clash-free-slot-and-id-bugs
Changes under src/ are evaluated.