FA-94320 / Shift rostering labor rules / Member archive
Negative top-up recorded for weeks above contract · case 05
Busy weeks show negative guaranteed-hours top-ups that offset pay.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: top up clamp 1 | [[-150, 150, 0, 0], [0, 0, 0, 0]] | [[0, 150, 0, 0], [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 ↗