FAILURE MAP
← Case archive

FA-94448 / Exam timetabling constraints / Member archive

Exact rest gap flagged as a conflict · case 03

Sittings separated by exactly the required rest are reported as conflicts.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: rest boundary 1[[["W0", 650], ["P1", 870], ["S2", 1010], ["U3", 1120]], [["P1", "S2"]]][[["W0", 650], ["P1", 870], ["S2", 1010], ["U3", 1120]], []]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 ↗