FAILURE MAP
← Case archive

FA-94027 / Shift rostering labor rules / Member archive

Night overlap counted from window start even when the shift starts later · case 02

A shift starting at 01:00 is credited night minutes from 23:00.

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: intersection start clip 1[840, true][420, 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 ↗