FA-94260 / Shift rostering labor rules / Member archive
Reference period not extended past skipped weeks · case 05
After a leave week the average covers fewer weeks than required.
Case contract
Weeks [worked minutes, excluded leave/sick days]. The reference period needs ref counted weeks: weeks with any excluded day are skipped and replaced by following weeks. If fewer weeks are available, average the counted weeks. Return [counted weeks, floor average, average > limit] or [0, 0, False] when none count.
Why this case matters
Averaged weekly-hours limits require excluding leave weeks and extending the reference period.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: period extension 1 | [2, 3300, true] | [3, 2800, false] | 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 ↗