FAILURE MAP
← Case archive

FA-94223 / Shift rostering labor rules / Member archive

Rolling 24-hour limit evaluated on calendar days · case 03

Two long shifts straddling midnight never exceed a calendar-day total.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
regression: calendar day anchor 1[660, 960, []][960, 960, []]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 ↗