FAILURE MAP
← Case archive

FA-94162 / Shift rostering labor rules / Member archive

Seventh grace minute after the scheduled end not forgiven · case 02

A punch out exactly seven minutes late is rounded instead of snapping to the schedule.

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: late out grace window 1[465, 735, 270][465, 720, 255]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 ↗