FAILURE MAP
← Case archive

FA-94248 / Shift rostering labor rules / Member archive

Standby allowance truncated to the cent · case 03

Allowances with half a cent or more lose a cent.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Standby window [start, end], callout intervals and hourly rate in cents; minutes from Monday 00:00. Callout minutes (union of callouts, inside or outside standby) pay full rate. Standby minutes not in a callout pay a third of rate on weekdays and half on Saturday/Sunday (days 5-6). Return total cents, computed exactly and rounded half up once.

Why this case matters

On-call allowances interact with callout pay; double payment and wrong day attribution are common.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: allowance rounding 101Failed

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 ↗