FAILURE MAP
← Case archive

FA-94032 / Shift rostering labor rules / Member archive

Exactly-threshold night minutes not classified as a night shift · case 02

A shift with exactly three night hours is not treated as night work.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

A shift [start, end] in absolute minutes (day 0 starts at minute 0) and a night-shift threshold. The night period runs 23:00 to 06:00 across midnight. Return [night minutes, whether night minutes reach the threshold].

Why this case matters

Night-work classification drives night-worker limits and premiums and must handle shifts that start after midnight.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: night shift threshold 1[180, false][180, true]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 ↗