FAILURE MAP
← Case archive

FA-94494 / Exam timetabling constraints / Member archive

Period durations looked up with one-based indices · case 04

Each exam is checked against the previous period's length.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

timetable maps exam -> period index, exams exam -> duration, periods -> duration. Duration violations (exam longer than its period) are listed first by exam id; then for each constraint in order: after (a must be in a strictly later period than b), exclusion (different periods), coincidence (same period), exclusive (a must be alone in its period). Return violation rows.

Why this case matters

Hard-constraint validation gates every candidate exam timetable.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: period index base 1[["duration", "BIO130"], ["duration", "CHEM120"], ["duration", "HIST140"], ["duration", "MATH101"], ["duration", "MATH101H"], ["duration", "PHYS110"], ["after", "CHEM120", "MATH101H"]][["duration", "BIO130"], ["duration", "MATH101"], ["duration", "MATH101H"], ["duration", "PHYS110"], ["after", "CHEM120", "MATH101H"]]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 ↗