FA-94205 / Shift rostering labor rules / Member archive
Excused absence disqualifies holiday pay · case 05
Workers on approved sick leave the day before a holiday lose holiday pay.
Case contract
A day-status string (W worked, A unexcused absence, X excused absence, O not scheduled) and holiday indices. A holiday is paid if the nearest scheduled day before it and the nearest after it (skipping O days and other holidays) are both W or X; if either does not exist in the roster, it is not paid. Return [holiday, eligible] in holiday order.
Why this case matters
Last-and-first-shift holiday pay rules are frequently misapplied around days off and adjacent holidays.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: excused absence qualifies 1 | [[0, false], [9, false], [10, false]] | [[0, false], [9, true], [10, true]] | 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 ↗