FA-94193 / Shift rostering labor rules / Member archive
Exactly twenty-four hours notice treated as short notice · case 03
Cuts with a full day of notice pay the enhanced premium.
Case contract
Each change is [kind (add/cut/cancel), notice minutes before the shift, changed minutes, initiator]. Changes initiated by the worker or mutual swaps, or with at least 14 days (20160 minutes) notice, earn nothing. Additions of at least 15 minutes earn 60 premium minutes. Cuts or cancellations earn 60, or max(60, lost // 2) with less than 24 hours notice. Return [per-change premiums, total].
Why this case matters
Fair-workweek predictability pay depends on precise notice thresholds and exemptions.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: short notice window 1 | [[60, 0, 0, 0, 120], 180] | [[60, 0, 0, 0, 60], 120] | 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 ↗