FAILURE MAP
← Case archive

FA-94308 / Shift rostering labor rules / Member archive

Overtime minutes also counted as additional hours · case 03

Weeks over 40 hours count minutes in both additional and overtime bands.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Contract minutes per week and worked minutes per week. Per week: top-up = shortfall below contract; additional = minutes between contract and 2400; supplement base = additional minutes beyond a tolerance of contract // 10; overtime = minutes above 2400. Return [top-up, additional, supplement base, overtime] per week.

Why this case matters

Part-time contracts pay guaranteed hours, additional hours and supplements; each band has its own boundary.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: additional band cap 1[[754, 0, 0, 0], [0, 400, 190, 100], [2100, 0, 0, 0], [0, 780, 570, 480], [0, 0, 0, 0]][[754, 0, 0, 0], [0, 300, 90, 100], [2100, 0, 0, 0], [0, 300, 90, 480], [0, 0, 0, 0]]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 ↗