FAILURE MAP
← Case archive

FA-94175 / Shift rostering labor rules / Member archive

Change with exactly fourteen days notice earns predictability pay · case 05

Timely schedule edits are charged a premium.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
regression: advance notice boundary 1[[60, 60, 60], 180][[0, 60, 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 ↗