FA-94073 / Shift rostering labor rules / Member archive
Shift ending exactly at 19:00 flagged outside permitted hours · case 03
Compliant shifts ending at 19:00 are rejected.
Case contract
Toy youth rule: age 16 or older has no restrictions. Otherwise each shift [day, start, end] must lie within 07:00-19:00 (start >= 420, end <= 1140); daily total minutes may not exceed 180 on a listed school day or 480 otherwise; the weekly total may not exceed 1080 if the week has any school day, else 2400. Return window violations in shift order, then daily caps by day, then the weekly cap as ["weekly_cap", -1].
Why this case matters
Minor-worker hour limits are strict roster constraints with many boundary conditions.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: evening end boundary 1 | [["hours_window", 6], ["hours_window", 1], ["daily_cap", 1]] | [["hours_window", 6], ["daily_cap", 1]] | 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 ↗