FA-94665 / Exam timetabling constraints / Member archive
Repeated assignment row charges the room penalty again · case 05
Duplicate rows from a timetable merge inflate the room cost.
Case contract
Assignment rows [exam, room, period] (a split exam has one row per room; rows may repeat). Each exam pays its period penalty once per distinct period it occupies and each room penalty once per distinct (exam, room). Return [period penalty, room penalty, total].
Why this case matters
Period and room preferences are soft costs that must not be multiplied by exam splitting.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: repeated row room charge 1 | [40, 22, 62] | [40, 16, 56] | 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 ↗