FAILURE MAP
← Case archive

FA-94420 / Exam timetabling constraints / Member archive

Proximity weight grows with distance · case 05

Exams far apart are penalised more than adjacent ones.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

enrol [student, exam] rows (may repeat) and exam periods. For each student, each pair of distinct exams d = 1..5 periods apart costs 2^(5-d). Return [total, number of students, total/students as a reduced fraction string].

Why this case matters

The Carter proximity cost is the standard exam-timetabling quality measure; each piece has a known implementation pitfall.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: proximity weight 1[82, 4, "41/2"][79, 4, "79/4"]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 ↗