FA-94462 / Exam timetabling constraints / Member archive
Invigilator count floors the candidate ratio · case 02
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 | [{"R1": 0, "R2": 0}, {"annex": 0, "main": 0}, 0] | [{"R1": 0, "R2": 1}, {"annex": 2, "main": 0}, 2] | 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 ↗