FAILURE MAP
← Case archive

FA-93969 / Shift rostering labor rules / Member archive

Last callback window never paid · case 04

The final guarantee window of the night is missing from paid minutes.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Callback work intervals [start, end] and a minimum guarantee in minutes. Sorted by start, each callback that does not start inside the current guarantee window opens a new window from its start to max(end, start + guarantee); a callback starting before the window end extends the window to its own end if later. Return [paid minutes as the sum of window lengths, window count].

Why this case matters

Callback and show-up minimum-pay rules routinely double pay or underpay when callbacks cluster.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: final window flush 1[0, 1][240, 1]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 ↗