FAILURE MAP
← Case archive

FA-94302 / Shift rostering labor rules / Member archive

Supplement tolerance computed as fractional minutes · case 02

Contracts not divisible by ten produce fractional supplement minutes.

Member previewVariant 2 · 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: tolerance integer minutes 1[[0, 1195, 1074.5, 480], [0, 24, 0, 0]][[0, 1195, 1075, 480], [0, 24, 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 ↗