FA-94465 / Exam timetabling constraints / Member archive
Invigilator count floors the candidate ratio · case 05
Rooms with fewer candidates than the ratio get no invigilator.
Case contract
rooms [room, venue, candidates, has access-arrangement candidate]. A room with candidates needs ceil(candidates / ratio) invigilators plus one if it has an access arrangement; an empty room needs none. Each venue with any invigilators also needs one chief invigilator. Return [per room, per venue including chief, grand total].
Why this case matters
Invigilation staffing follows directly from the room plan of a timetable.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: ratio ceiling 1 | [{"R0": 1, "R1": 1, "R2": 2, "R3": 1}, {"annex": 3, "lab": 4}, 7] | [{"R0": 2, "R1": 2, "R2": 3, "R3": 2}, {"annex": 5, "lab": 6}, 11] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗