FAILURE MAP
← Case archive

FA-94262 / Shift rostering labor rules / Member archive

Average divides by the nominal reference length · case 02

Short records understate the average when fewer weeks are available.

Member previewVariant 2 · 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: average divisor 1[1, 750, false][1, 3000, true]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 ↗