FA-94334 / Shift rostering labor rules / Member archive
Equal-ledger ties offered to the most junior worker · case 04
Ties go to juniors in violation of seniority tie-breaking.
Case contract
ledger: worker -> [overtime minutes charged, seniority rank (1 most senior), minutes already worked today]; offers: [minutes, workers who will refuse]. For each offer, candidates are ordered by charged overtime then seniority rank. Workers who would exceed 720 minutes today are skipped without charge; refusers are charged the offered minutes; the first remaining worker takes it and is charged and credited today. Return [taker per offer (or None), charged minutes by worker].
Why this case matters
Overtime equalization clauses require fair rotation of offers, including charging refusals.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: seniority tie break 1 | [["s"], {"p": 180, "q": 120, "r": 240, "s": 240}] | [["s"], {"p": 180, "q": 240, "r": 240, "s": 240}] | 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 ↗