FA-65087 / Epidemic compartment models / Member archive
SIR with daily all-or-nothing vaccination campaign: mixing denominator · case 02
Vaccination makes remaining susceptibles meet infectives more often.
Case contract
Each day from day index start_day (inclusive), dose=min(doses_per_day, S) is given to susceptibles before transmission; dose*efficacy moves S->V; failed vaccinees stay in S; mixing uses the full pop; return [S, I, R, V, doses administered] rounded to 3.
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.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: city campaign from day 5 | [2124.133, 979.149, 2396.718, 4500.0, 5000.0] | [4007.174, 324.024, 1168.803, 4500.0, 5000.0] | 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 ↗