FA-94229 / Shift rostering labor rules / Member archive
Exactly sixteen hours in 24 flagged as fatigue breach · case 04
Double shifts totalling 16 hours are rejected.
Case contract
Shifts [start, end] in minutes. For window W, evaluate windows [t, t + W) anchored at each shift start and sum the minutes of all shifts clipped to the window; report the maximum. Return [max in any 24h window, max in any 168h window, violations] where more than 960 minutes in 24h or more than 3600 minutes in 168h is a violation.
Why this case matters
Rolling-window fatigue limits catch hours concentrated across calendar-day boundaries.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: daily limit units 1 | [960, 1320, ["24h"]] | [960, 1320, []] | 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 ↗