FAILURE MAP
← Case archive

FA-64853 / Epidemic compartment models / Member archive

SIR Euler integrator with daily sampling: recovery step size · case 03

Recovery runs substeps times too fast whenever the day is subdivided.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

Frequency-dependent SIR integrated with forward Euler at dt=1/substeps; new infections per substep are beta*S*I/pop*dt capped at S; peak prevalence and its day are sampled at day ends (day 0 is the seed); return [S, peak I, peak day, R] rounded to 3 decimals, or None for invalid input.

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: slow recovery long run[738.266, 189.835, 62, 1191.255][19.331, 965.817, 43, 1829.639]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 ↗