FAILURE MAP
← Case archive

FA-94338 / Shift rostering labor rules / Member archive

Accepted overtime not added to the day's worked minutes · case 03

The same worker can take several offers beyond the 12-hour maximum.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
regression: daily minutes credit 1[["p", "r", "p", "r"], {"p": 600, "q": 120, "r": 600}][["p", "r", "p", null], {"p": 840, "q": 120, "r": 360}]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 ↗