FAILURE MAP
← Case archive

FA-94569 / Exam timetabling constraints / Member archive

Same-duration exams sharing a room penalised · case 04

Two 60-minute exams in one room count as mixed durations.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Assignments [exam, room, period] and exam durations. For each room and period, the penalty is the number of distinct durations minus one. Return [total penalty, [room, period, distinct durations] for penalised room-periods in order].

Why this case matters

Mixed durations in one room disrupt invigilation; the penalty is defined over distinct durations.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: distinct durations 1[4, [["R1", 0, 2], ["R2", 2, 4]]][3, [["R1", 0, 2], ["R2", 2, 3]]]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 ↗