FA-94450 / Exam timetabling constraints / Member archive
Exact rest gap flagged as a conflict · case 05
Sittings separated by exactly the required rest are reported as conflicts.
Case contract
A student's exams [id, start, duration] and an extra-time percentage. Extended duration = ceil(duration * (100 + pct) / 100), then rounded up to a multiple of 5 minutes. In start order (ties by id) a pair conflicts if the next start is earlier than the previous extended end plus the rest minutes. Return [[id, extended end] in order, conflicting pairs].
Why this case matters
Access arrangements extend sittings; the timetable must still leave rest between a student's exams.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: rest boundary 1 | [[["T0", 625], ["Q1", 865], ["Q2", 915], ["U3", 1035]], [["Q1", "Q2"], ["Q2", "U3"]]] | [[["T0", 625], ["Q1", 865], ["Q2", 915], ["U3", 1035]], [["Q1", "Q2"]]] | 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 ↗