FA-65241 / Epidemic compartment models / Open access
SIR with Erlang-distributed infectious period: infectious prevalence · case 01
Transmission falls sharply after the first stage.
ROOT CAUSE
Only stage 1 is treated as infectious.
VERIFIED REPAIR
Restore the infectious prevalence rule: `i = sum(stages)`.
Unsuccessful approach: Only the final stage is treated as infectious.
Case contract
Infectious period split into k sequential stages each left at rate k*gamma; seeds start in stage 1; all stages transmit; Euler with dt=0.1 (10 substeps/day); return [total I at day ends including day 0 rounded 3, R rounded 3], None for k<1.
Why this case matters
Compartmental epidemic calculations drive outbreak forecasts, vaccine targets and hospital planning; a single wrong flow, rate conversion or boundary silently changes every downstream number.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
N = 1
observations = []
def solve(beta, gamma, k, pop, i0, days):
if k < 1:
return None
stages = [0.0] * k
stages[0] = float(i0)
s = float(pop - i0)
r = 0.0
dt = 0.1
series = [round(sum(stages), 3)]
for _ in range(days):
for _ in range(10):
i = stages[0]
inf = beta * s * i / pop * dt
flows = [k * gamma * x * dt for x in stages]
s -= inf
stages[0] += inf - flows[0]
for j in range(1, k):
stages[j] += flows[j - 1] - flows[j]
r += flows[-1]
series.append(round(sum(stages), 3))
return [series, round(r, 3)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])]]
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: three stages | [[10.0, 14.505, 17.49, 18.893, 19.079, 18.457, 17.361], 14.293] | [[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589] | Failed |
| control: single stage equals SIR | [[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032] | [[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032] | Passed |
| regression: many stages | [[20.0, 27.639, 26.815, 19.624, 11.685], 20.681] | [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142] | Failed |
| control: no transmission | [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662] | [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662] | Passed |
| control: invalid k | None | None | Passed |
| regression: two stages slow | [[30.0, 38.709, 47.175, 55.541, 63.924, 72.42, 81.105, 90.036], 24.626] | [[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058] | Failed |
| control: boundary zero days | [[5.0], 0.0] | [[5.0], 0.0] | Passed |
SHA-256 / a6a40a8e49853d1531aeb411f48481b45c1aa117f9456d96783da48338fd3a36
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
N = 1
observations = []
def solve(beta, gamma, k, pop, i0, days):
if k < 1:
return None
stages = [0.0] * k
stages[0] = float(i0)
s = float(pop - i0)
r = 0.0
dt = 0.1
series = [round(sum(stages), 3)]
for _ in range(days):
for _ in range(10):
i = stages[-1]
inf = beta * s * i / pop * dt
flows = [k * gamma * x * dt for x in stages]
s -= inf
stages[0] += inf - flows[0]
for j in range(1, k):
stages[j] += flows[j - 1] - flows[j]
r += flows[-1]
series.append(round(sum(stages), 3))
return [series, round(r, 3)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])]]
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: three stages | [[10.0, 9.967, 9.797, 9.518, 9.189, 8.849, 8.514], 8.358] | [[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589] | Failed |
| control: single stage equals SIR | [[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032] | [[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032] | Passed |
| regression: many stages | [[20.0, 19.88, 17.922, 14.144, 10.67], 15.259] | [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142] | Failed |
| control: no transmission | [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662] | [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662] | Passed |
| control: invalid k | None | None | Passed |
| regression: two stages slow | [[30.0, 30.232, 30.869, 31.781, 32.887, 34.134, 35.491, 36.935], 14.772] | [[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058] | Failed |
| control: boundary zero days | [[5.0], 0.0] | [[5.0], 0.0] | Passed |
SHA-256 / 66833ae265b7f5ed5b8d440ced72382e3241664599e68d6f7800ddce9d234287
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
import math
N = 1
observations = []
def solve(beta, gamma, k, pop, i0, days):
if k < 1:
return None
stages = [0.0] * k
stages[0] = float(i0)
s = float(pop - i0)
r = 0.0
dt = 0.1
series = [round(sum(stages), 3)]
for _ in range(days):
for _ in range(10):
i = sum(stages)
inf = beta * s * i / pop * dt
flows = [k * gamma * x * dt for x in stages]
s -= inf
stages[0] += inf - flows[0]
for j in range(1, k):
stages[j] += flows[j - 1] - flows[j]
r += flows[-1]
series.append(round(sum(stages), 3))
return [series, round(r, 3)]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: no transmission', (0.0, 0.5, 2, 100, 10, 5), [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])],
[('regression: three stages',
(0.5, 0.2, 3, 1000, 10, 6),
[[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589]),
('control: single stage equals SIR',
(0.4, 0.25, 1, 500, 5, 5),
[[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032]),
('regression: many stages', (0.6, 0.3, 5, 800, 20, 4), [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142]),
('control: invalid k', (0.5, 0.2, 0, 100, 5, 3), None),
('regression: two stages slow',
(0.3, 0.1, 2, 2000, 30, 7),
[[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058]),
('control: boundary zero days', (0.5, 0.2, 3, 100, 5, 0), [[5.0], 0.0]),
('regression: four stages fast recovery',
(0.9, 0.5, 4, 300, 6, 5),
[[6.0, 12.89, 21.627, 33.085, 46.281, 57.492], 51.385])]]
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: three stages | [[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589] | [[10.0, 15.964, 24.203, 35.419, 50.774, 71.593, 99.086], 25.589] | Passed |
| control: single stage equals SIR | [[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032] | [[5.0, 5.776, 6.66, 7.664, 8.798, 10.074], 9.032] | Passed |
| regression: many stages | [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142] | [[20.0, 34.937, 55.691, 80.709, 110.985], 33.142] | Passed |
| control: no transmission | [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662] | [[10.0, 7.361, 3.917, 1.837, 0.805, 0.338], 9.662] | Passed |
| control: invalid k | None | None | Passed |
| regression: two stages slow | [[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058] | [[30.0, 39.545, 50.929, 64.696, 81.433, 101.776, 126.384, 155.912], 30.058] | Passed |
| control: boundary zero days | [[5.0], 0.0] | [[5.0], 0.0] | Passed |
SHA-256 / 36889ff3e3dd7c6c4b325a0ab02ed8cfe1f965793eab70279160bd5d7528c00b
Verification & scope
Deterministic bounded teaching model with a stipulated contract; not a validated scientific or public-health modelling library. 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:47:32.038433+00:00.
Case digest / 15f05949ad8a1548028a239a48ae73772fb4d2510e8dec89e5ed9848ee9509aa