FAILURE MAP
← Case archive

FA-94261 / Shift rostering labor rules / Open access

Average divides by the nominal reference length · case 01

Short records understate the average when fewer weeks are available.

Verified by executionVariant 1 · 8 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The divisor is ref rather than the number of counted weeks.

VERIFIED REPAIR

Divide by the number of counted weeks.

Unsuccessful approach: Dividing by all supplied weeks includes skipped and unused weeks.

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.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(weeks, ref, limit):
    counted = []
    for m, ex in weeks:
        if len(counted) == ref:
            break
        if ex == 0:
            counted.append(m)
    if not counted:
        return [0, 0, False]
    avg = sum(counted) // ref
    return [len(counted), avg, avg > limit]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: average divisor 1', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('regression variant: average divisor 2', [[[0, 0], [2400, 0], [0, 1], [2881, 3]], 5, 2880],
   [2, 1200, False]),
  ('partial repair guard 3',
   [[[3300, 0], [3000, 5], [3300, 0], [0, 7], [0, 3], [1800, 0], [2400, 0], [0, 0], [2400, 7]], 3, 2880],
   [3, 2800, False]),
  ('boundary control 4', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('normal control 5',
   [[[2400, 0], [3300, 0], [1800, 1], [2400, 5], [1800, 5], [2400, 5], [0, 0], [0, 5], [3000, 0]], 5, 2880],
   [4, 2175, False]),
  ('normal control 6',
   [[[0, 7], [1800, 5], [1800, 0], [2400, 0], [2400, 7], [2881, 0], [2881, 0], [2400, 7], [2880, 0]], 5,
    2880],
   [5, 2568, False]),
  ('normal control 7', [[[1800, 3], [2880, 0], [2880, 0], [2400, 7]], 3, 2880], [2, 2880, False]),
  ('normal control 8', [[[2881, 0], [3300, 0], [0, 0]], 3, 2880], [3, 2060, False])],
 [('regression: average divisor 1', [[[2881, 3], [3300, 3], [3000, 0], [3000, 3], [2400, 7]], 4, 2880],
   [1, 3000, True]),
  ('regression variant: average divisor 2',
   [[[2880, 5], [3000, 0], [2400, 0], [2880, 5], [3300, 5], [0, 0], [2881, 0]], 5, 2880], [4, 2070, False]),
  ('partial repair guard 3',
   [[[3300, 3], [0, 3], [0, 0], [2880, 5], [3000, 5], [1800, 3], [1800, 0], [2400, 0], [1800, 7]], 4, 2880],
   [3, 1400, False]),
  ('boundary control 4', [[[3000, 0], [1000, 2], [3000, 0], [3000, 0]], 3, 2880], [3, 3000, True]),
  ('boundary control 5', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('normal control 6', [[[2881, 5], [1800, 0], [2880, 0], [2880, 1], [3300, 0], [1800, 0]], 4, 2880],
   [4, 2445, False]),
  ('normal control 7', [[[3000, 0], [2880, 1], [2881, 3], [0, 0]], 5, 2880], [2, 1500, False]),
  ('normal control 8', [[[3300, 0], [1800, 3], [3000, 3]], 4, 2880], [1, 3300, True])],
 [('regression: average divisor 1',
   [[[2881, 0], [2880, 3], [3000, 3], [1800, 1], [0, 7], [1800, 0]], 4, 2880], [2, 2340, False]),
  ('regression variant: average divisor 2',
   [[[0, 7], [3300, 0], [2881, 3], [2881, 3], [2881, 0], [1800, 3], [0, 7], [0, 5]], 5, 2880],
   [2, 3090, True]),
  ('partial repair guard 3',
   [[[0, 1], [2880, 0], [2880, 0], [0, 5], [1800, 3], [2400, 7], [3000, 1], [2881, 7], [2880, 5]], 3, 2880],
   [2, 2880, False]),
  ('boundary control 4', [[[3000, 0], [0, 7], [2800, 0], [2900, 0]], 3, 2880], [3, 2900, True]),
  ('boundary control 5', [[[3000, 0], [1000, 2], [3000, 0], [3000, 0]], 3, 2880], [3, 3000, True]),
  ('normal control 6', [[[3000, 5], [0, 0], [2400, 0], [2881, 7], [2881, 1], [1800, 3]], 5, 2880],
   [2, 1200, False]),
  ('normal control 7', [[[3300, 3], [0, 0], [0, 0], [2880, 7]], 4, 2880], [2, 0, False]),
  ('normal control 8', [[[1800, 0], [0, 0], [3000, 0]], 3, 2880], [3, 1600, False])],
 [('regression: average divisor 1', [[[1800, 0], [2881, 0], [2881, 1], [0, 1], [2400, 0]], 4, 2880],
   [3, 2360, False]),
  ('regression variant: average divisor 2', [[[3300, 0], [0, 0], [2881, 0]], 5, 2880], [3, 2060, False]),
  ('partial repair guard 3', [[[3300, 5], [2400, 5], [2400, 0], [2881, 5], [3000, 7], [2881, 0]], 4, 2880],
   [2, 2640, False]),
  ('boundary control 4', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('boundary control 5', [[[3000, 0], [0, 7], [2800, 0], [2900, 0]], 3, 2880], [3, 2900, True]),
  ('normal control 6', [[[2880, 1], [2400, 1], [1800, 3], [2881, 0], [3000, 0], [0, 5]], 5, 2880],
   [2, 2940, True]),
  ('normal control 7', [[[3000, 5], [0, 0], [2400, 0], [2881, 7], [2881, 1], [1800, 3]], 5, 2880],
   [2, 1200, False]),
  ('normal control 8', [[[1800, 0], [1800, 7], [2400, 0], [0, 0], [2400, 7], [2400, 0], [2881, 0]], 5, 2880],
   [5, 1896, False])],
 [('regression: average divisor 1',
   [[[0, 1], [0, 3], [3300, 0], [3000, 5], [2880, 0], [3300, 3], [3300, 1]], 3, 2880], [2, 3090, True]),
  ('regression variant: average divisor 2',
   [[[2881, 5], [1800, 0], [2881, 7], [1800, 1], [3000, 0]], 5, 2880], [2, 2400, False]),
  ('partial repair guard 3', [[[2881, 0], [3300, 7], [2880, 0]], 5, 2880], [2, 2880, False]),
  ('boundary control 4', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('boundary control 5', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('normal control 6', [[[1800, 1], [3300, 0], [2881, 0]], 3, 2880], [2, 3090, True]),
  ('normal control 7', [[[0, 0], [2880, 0], [3000, 3], [3300, 0]], 3, 2880], [3, 2060, False]),
  ('normal control 8', [[[3300, 5], [2400, 5], [2400, 0], [2881, 5], [3000, 7], [2881, 0]], 4, 2880],
   [2, 2640, False])]]
for label, args, expected in fixtures[N-1]:
    check(label, solve(*args), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
regression: average divisor 1[1, 1000, False][1, 3000, True]Failed
regression variant: average divisor 2[2, 480, False][2, 1200, False]Failed
partial repair guard 3[3, 2800, False][3, 2800, False]Passed
boundary control 4[3, 2880, False][3, 2880, False]Passed
normal control 5[4, 1740, False][4, 2175, False]Failed
normal control 6[5, 2568, False][5, 2568, False]Passed
normal control 7[2, 1920, False][2, 2880, False]Failed
normal control 8[3, 2060, False][3, 2060, False]Passed

SHA-256 / 429733cd993f672a38aad78de05481191cd7714117763aeb3f7aad9f41ec37ba

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(weeks, ref, limit):
    counted = []
    for m, ex in weeks:
        if len(counted) == ref:
            break
        if ex == 0:
            counted.append(m)
    if not counted:
        return [0, 0, False]
    avg = sum(counted) // len(weeks)
    return [len(counted), avg, avg > limit]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: average divisor 1', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('regression variant: average divisor 2', [[[0, 0], [2400, 0], [0, 1], [2881, 3]], 5, 2880],
   [2, 1200, False]),
  ('partial repair guard 3',
   [[[3300, 0], [3000, 5], [3300, 0], [0, 7], [0, 3], [1800, 0], [2400, 0], [0, 0], [2400, 7]], 3, 2880],
   [3, 2800, False]),
  ('boundary control 4', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('normal control 5',
   [[[2400, 0], [3300, 0], [1800, 1], [2400, 5], [1800, 5], [2400, 5], [0, 0], [0, 5], [3000, 0]], 5, 2880],
   [4, 2175, False]),
  ('normal control 6',
   [[[0, 7], [1800, 5], [1800, 0], [2400, 0], [2400, 7], [2881, 0], [2881, 0], [2400, 7], [2880, 0]], 5,
    2880],
   [5, 2568, False]),
  ('normal control 7', [[[1800, 3], [2880, 0], [2880, 0], [2400, 7]], 3, 2880], [2, 2880, False]),
  ('normal control 8', [[[2881, 0], [3300, 0], [0, 0]], 3, 2880], [3, 2060, False])],
 [('regression: average divisor 1', [[[2881, 3], [3300, 3], [3000, 0], [3000, 3], [2400, 7]], 4, 2880],
   [1, 3000, True]),
  ('regression variant: average divisor 2',
   [[[2880, 5], [3000, 0], [2400, 0], [2880, 5], [3300, 5], [0, 0], [2881, 0]], 5, 2880], [4, 2070, False]),
  ('partial repair guard 3',
   [[[3300, 3], [0, 3], [0, 0], [2880, 5], [3000, 5], [1800, 3], [1800, 0], [2400, 0], [1800, 7]], 4, 2880],
   [3, 1400, False]),
  ('boundary control 4', [[[3000, 0], [1000, 2], [3000, 0], [3000, 0]], 3, 2880], [3, 3000, True]),
  ('boundary control 5', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('normal control 6', [[[2881, 5], [1800, 0], [2880, 0], [2880, 1], [3300, 0], [1800, 0]], 4, 2880],
   [4, 2445, False]),
  ('normal control 7', [[[3000, 0], [2880, 1], [2881, 3], [0, 0]], 5, 2880], [2, 1500, False]),
  ('normal control 8', [[[3300, 0], [1800, 3], [3000, 3]], 4, 2880], [1, 3300, True])],
 [('regression: average divisor 1',
   [[[2881, 0], [2880, 3], [3000, 3], [1800, 1], [0, 7], [1800, 0]], 4, 2880], [2, 2340, False]),
  ('regression variant: average divisor 2',
   [[[0, 7], [3300, 0], [2881, 3], [2881, 3], [2881, 0], [1800, 3], [0, 7], [0, 5]], 5, 2880],
   [2, 3090, True]),
  ('partial repair guard 3',
   [[[0, 1], [2880, 0], [2880, 0], [0, 5], [1800, 3], [2400, 7], [3000, 1], [2881, 7], [2880, 5]], 3, 2880],
   [2, 2880, False]),
  ('boundary control 4', [[[3000, 0], [0, 7], [2800, 0], [2900, 0]], 3, 2880], [3, 2900, True]),
  ('boundary control 5', [[[3000, 0], [1000, 2], [3000, 0], [3000, 0]], 3, 2880], [3, 3000, True]),
  ('normal control 6', [[[3000, 5], [0, 0], [2400, 0], [2881, 7], [2881, 1], [1800, 3]], 5, 2880],
   [2, 1200, False]),
  ('normal control 7', [[[3300, 3], [0, 0], [0, 0], [2880, 7]], 4, 2880], [2, 0, False]),
  ('normal control 8', [[[1800, 0], [0, 0], [3000, 0]], 3, 2880], [3, 1600, False])],
 [('regression: average divisor 1', [[[1800, 0], [2881, 0], [2881, 1], [0, 1], [2400, 0]], 4, 2880],
   [3, 2360, False]),
  ('regression variant: average divisor 2', [[[3300, 0], [0, 0], [2881, 0]], 5, 2880], [3, 2060, False]),
  ('partial repair guard 3', [[[3300, 5], [2400, 5], [2400, 0], [2881, 5], [3000, 7], [2881, 0]], 4, 2880],
   [2, 2640, False]),
  ('boundary control 4', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('boundary control 5', [[[3000, 0], [0, 7], [2800, 0], [2900, 0]], 3, 2880], [3, 2900, True]),
  ('normal control 6', [[[2880, 1], [2400, 1], [1800, 3], [2881, 0], [3000, 0], [0, 5]], 5, 2880],
   [2, 2940, True]),
  ('normal control 7', [[[3000, 5], [0, 0], [2400, 0], [2881, 7], [2881, 1], [1800, 3]], 5, 2880],
   [2, 1200, False]),
  ('normal control 8', [[[1800, 0], [1800, 7], [2400, 0], [0, 0], [2400, 7], [2400, 0], [2881, 0]], 5, 2880],
   [5, 1896, False])],
 [('regression: average divisor 1',
   [[[0, 1], [0, 3], [3300, 0], [3000, 5], [2880, 0], [3300, 3], [3300, 1]], 3, 2880], [2, 3090, True]),
  ('regression variant: average divisor 2',
   [[[2881, 5], [1800, 0], [2881, 7], [1800, 1], [3000, 0]], 5, 2880], [2, 2400, False]),
  ('partial repair guard 3', [[[2881, 0], [3300, 7], [2880, 0]], 5, 2880], [2, 2880, False]),
  ('boundary control 4', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('boundary control 5', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('normal control 6', [[[1800, 1], [3300, 0], [2881, 0]], 3, 2880], [2, 3090, True]),
  ('normal control 7', [[[0, 0], [2880, 0], [3000, 3], [3300, 0]], 3, 2880], [3, 2060, False]),
  ('normal control 8', [[[3300, 5], [2400, 5], [2400, 0], [2881, 5], [3000, 7], [2881, 0]], 4, 2880],
   [2, 2640, False])]]
for label, args, expected in fixtures[N-1]:
    check(label, solve(*args), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
regression: average divisor 1[1, 1500, False][1, 3000, True]Failed
regression variant: average divisor 2[2, 600, False][2, 1200, False]Failed
partial repair guard 3[3, 933, False][3, 2800, False]Failed
boundary control 4[3, 2880, False][3, 2880, False]Passed
normal control 5[4, 966, False][4, 2175, False]Failed
normal control 6[5, 1426, False][5, 2568, False]Failed
normal control 7[2, 1440, False][2, 2880, False]Failed
normal control 8[3, 2060, False][3, 2060, False]Passed

SHA-256 / d7f2b2c6abe1136349526970bc9e1e7128611893112037b66b3770a29c76f270

3 / The verified repair

Exit 0
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(weeks, ref, limit):
    counted = []
    for m, ex in weeks:
        if len(counted) == ref:
            break
        if ex == 0:
            counted.append(m)
    if not counted:
        return [0, 0, False]
    avg = sum(counted) // len(counted)
    return [len(counted), avg, avg > limit]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: average divisor 1', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('regression variant: average divisor 2', [[[0, 0], [2400, 0], [0, 1], [2881, 3]], 5, 2880],
   [2, 1200, False]),
  ('partial repair guard 3',
   [[[3300, 0], [3000, 5], [3300, 0], [0, 7], [0, 3], [1800, 0], [2400, 0], [0, 0], [2400, 7]], 3, 2880],
   [3, 2800, False]),
  ('boundary control 4', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('normal control 5',
   [[[2400, 0], [3300, 0], [1800, 1], [2400, 5], [1800, 5], [2400, 5], [0, 0], [0, 5], [3000, 0]], 5, 2880],
   [4, 2175, False]),
  ('normal control 6',
   [[[0, 7], [1800, 5], [1800, 0], [2400, 0], [2400, 7], [2881, 0], [2881, 0], [2400, 7], [2880, 0]], 5,
    2880],
   [5, 2568, False]),
  ('normal control 7', [[[1800, 3], [2880, 0], [2880, 0], [2400, 7]], 3, 2880], [2, 2880, False]),
  ('normal control 8', [[[2881, 0], [3300, 0], [0, 0]], 3, 2880], [3, 2060, False])],
 [('regression: average divisor 1', [[[2881, 3], [3300, 3], [3000, 0], [3000, 3], [2400, 7]], 4, 2880],
   [1, 3000, True]),
  ('regression variant: average divisor 2',
   [[[2880, 5], [3000, 0], [2400, 0], [2880, 5], [3300, 5], [0, 0], [2881, 0]], 5, 2880], [4, 2070, False]),
  ('partial repair guard 3',
   [[[3300, 3], [0, 3], [0, 0], [2880, 5], [3000, 5], [1800, 3], [1800, 0], [2400, 0], [1800, 7]], 4, 2880],
   [3, 1400, False]),
  ('boundary control 4', [[[3000, 0], [1000, 2], [3000, 0], [3000, 0]], 3, 2880], [3, 3000, True]),
  ('boundary control 5', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('normal control 6', [[[2881, 5], [1800, 0], [2880, 0], [2880, 1], [3300, 0], [1800, 0]], 4, 2880],
   [4, 2445, False]),
  ('normal control 7', [[[3000, 0], [2880, 1], [2881, 3], [0, 0]], 5, 2880], [2, 1500, False]),
  ('normal control 8', [[[3300, 0], [1800, 3], [3000, 3]], 4, 2880], [1, 3300, True])],
 [('regression: average divisor 1',
   [[[2881, 0], [2880, 3], [3000, 3], [1800, 1], [0, 7], [1800, 0]], 4, 2880], [2, 2340, False]),
  ('regression variant: average divisor 2',
   [[[0, 7], [3300, 0], [2881, 3], [2881, 3], [2881, 0], [1800, 3], [0, 7], [0, 5]], 5, 2880],
   [2, 3090, True]),
  ('partial repair guard 3',
   [[[0, 1], [2880, 0], [2880, 0], [0, 5], [1800, 3], [2400, 7], [3000, 1], [2881, 7], [2880, 5]], 3, 2880],
   [2, 2880, False]),
  ('boundary control 4', [[[3000, 0], [0, 7], [2800, 0], [2900, 0]], 3, 2880], [3, 2900, True]),
  ('boundary control 5', [[[3000, 0], [1000, 2], [3000, 0], [3000, 0]], 3, 2880], [3, 3000, True]),
  ('normal control 6', [[[3000, 5], [0, 0], [2400, 0], [2881, 7], [2881, 1], [1800, 3]], 5, 2880],
   [2, 1200, False]),
  ('normal control 7', [[[3300, 3], [0, 0], [0, 0], [2880, 7]], 4, 2880], [2, 0, False]),
  ('normal control 8', [[[1800, 0], [0, 0], [3000, 0]], 3, 2880], [3, 1600, False])],
 [('regression: average divisor 1', [[[1800, 0], [2881, 0], [2881, 1], [0, 1], [2400, 0]], 4, 2880],
   [3, 2360, False]),
  ('regression variant: average divisor 2', [[[3300, 0], [0, 0], [2881, 0]], 5, 2880], [3, 2060, False]),
  ('partial repair guard 3', [[[3300, 5], [2400, 5], [2400, 0], [2881, 5], [3000, 7], [2881, 0]], 4, 2880],
   [2, 2640, False]),
  ('boundary control 4', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('boundary control 5', [[[3000, 0], [0, 7], [2800, 0], [2900, 0]], 3, 2880], [3, 2900, True]),
  ('normal control 6', [[[2880, 1], [2400, 1], [1800, 3], [2881, 0], [3000, 0], [0, 5]], 5, 2880],
   [2, 2940, True]),
  ('normal control 7', [[[3000, 5], [0, 0], [2400, 0], [2881, 7], [2881, 1], [1800, 3]], 5, 2880],
   [2, 1200, False]),
  ('normal control 8', [[[1800, 0], [1800, 7], [2400, 0], [0, 0], [2400, 7], [2400, 0], [2881, 0]], 5, 2880],
   [5, 1896, False])],
 [('regression: average divisor 1',
   [[[0, 1], [0, 3], [3300, 0], [3000, 5], [2880, 0], [3300, 3], [3300, 1]], 3, 2880], [2, 3090, True]),
  ('regression variant: average divisor 2',
   [[[2881, 5], [1800, 0], [2881, 7], [1800, 1], [3000, 0]], 5, 2880], [2, 2400, False]),
  ('partial repair guard 3', [[[2881, 0], [3300, 7], [2880, 0]], 5, 2880], [2, 2880, False]),
  ('boundary control 4', [[[2000, 1], [3000, 0]], 3, 2880], [1, 3000, True]),
  ('boundary control 5', [[[2880, 0], [2880, 0], [2880, 0]], 3, 2880], [3, 2880, False]),
  ('normal control 6', [[[1800, 1], [3300, 0], [2881, 0]], 3, 2880], [2, 3090, True]),
  ('normal control 7', [[[0, 0], [2880, 0], [3000, 3], [3300, 0]], 3, 2880], [3, 2060, False]),
  ('normal control 8', [[[3300, 5], [2400, 5], [2400, 0], [2881, 5], [3000, 7], [2881, 0]], 4, 2880],
   [2, 2640, False])]]
for label, args, expected in fixtures[N-1]:
    check(label, solve(*args), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
regression: average divisor 1[1, 3000, True][1, 3000, True]Passed
regression variant: average divisor 2[2, 1200, False][2, 1200, False]Passed
partial repair guard 3[3, 2800, False][3, 2800, False]Passed
boundary control 4[3, 2880, False][3, 2880, False]Passed
normal control 5[4, 2175, False][4, 2175, False]Passed
normal control 6[5, 2568, False][5, 2568, False]Passed
normal control 7[2, 2880, False][2, 2880, False]Passed
normal control 8[3, 2060, False][3, 2060, False]Passed

SHA-256 / dbc974bce93d5452125f89da1be854d75c2de6e7117e3834c651dd4050b93f60

Verification & scope

Stipulated toy labor rule for a bounded roster model; it is not legal advice and does not claim conformance with any jurisdiction, award, or collective agreement. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.

Observations recorded using Python 3.12.14 at 2026-09-29T14:52:02.667364+00:00.

Case digest / 8d10c63bef867f72150e4cf196a6712966cc5c911745caebe3ec4b332f4c0987