FAILURE MAP
← Case archive

FA-64977 / Epidemic compartment models / Member archive

SIS endemic equilibrium convergence: equilibrium formula · case 02

The endemic prevalence target is the susceptible equilibrium, so convergence is judged against the wrong level.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

SIS with susceptibles pop-I; endemic target pop*(1-1/R0) if R0=beta/gamma>1 else 0; iterate daily Euler I += beta*I*(pop-I)/pop - gamma*I until |I-target| <= tol*pop or max_days steps; return [target rounded 4, days taken, I rounded 4] or None for non-positive beta, gamma or pop.

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: tight tolerance capped[1600.0, 30, 4.288][400.0, 30, 4.288]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 ↗