The scheduler assigns each meeting request to a room. Teams report back-to-back meetings being pushed into bigger rooms, a 4-person meeting skipping the 4-person room, and meetings with no length showing up on room calen…
The scheduler assigns each meeting request to a room. Teams report back-to-back meetings being pushed into bigger rooms, a 4-person meeting skipping the 4-person room, and meetings with no length showing up on room calendars.
small (capacity 4) and large (capacity 10).m1 from 9 to 10 with 4 attendees.large, although small fits exactly.[start, end), so [9, 10) and [10, 11) do not overlap.schedule(meeting_id, start, end, attendees) returns the room name, or None when no room can host the meeting.start < end and attendees > 0. Invalid meetings return None.capacity >= attendees.Rooms that fit exactly are skipped, back-to-back meetings are treated as overlapping, and zero-length or empty meetings are accepted.
room_schedule or utilization_report.The code lives in src/meeting_room_scheduler.py. Read how MeetingRoomScheduler, BookingCalendar, Room, MeetingRequest and Booking work together before changing anything. Run the existing tests with pytest tests/visible.
Visible test command
pytest tests/visibleThe repository’s own tests. Run all tests includes them, and so does every submission.
Repository
meeting-room-scheduler
Changes under src/ are evaluated.