FAILURE MAP
← Case archive

FA-94259 / Shift rostering labor rules / Member archive

Reference period not extended past skipped weeks · case 04

After a leave week the average covers fewer weeks than required.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
regression: period extension 1[1, 2881, true][2, 2340, 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 ↗