FAILURE MAP
← Case archive

FA-94157 / Shift rostering labor rules / Member archive

Clock-in grace applied to late arrivals · case 02

Late arrivals are paid from the scheduled start while early arrivals are rounded.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Scheduled [start, end] and raw punches in minutes. A punch in at most 7 minutes before the scheduled start is treated as the start; a punch out at most 7 minutes after the scheduled end is treated as the end. Then each time is rounded to the quarter hour: remainder 0-7 down, 8-14 up. Return [in, out, max(out - in, 0)].

Why this case matters

Punch rounding and grace periods must be neutral; asymmetric boundaries systematically underpay.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: early grace direction 1[480, 990, 510][495, 990, 495]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 ↗