FAILURE MAP
← Case archive

FA-65150 / Epidemic compartment models / Member archive

Epidemic growth rate, doubling time and R: slope estimator · case 05

Growth rate depends only on the first and last counts and on how many days were positive.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

r is the least-squares slope of ln(count) against day index over days with positive counts (original day indices kept); doubling time ln2/r only when r>0 else None; latent time Tl=latent_fraction*Tg, infectious time Ti=Tg-Tl, R=(1+r*Tl)*(1+r*Ti); return [r rounded 6, doubling rounded 4, R rounded 6]; None with fewer than two positive days.

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: noisy growth[0.383764, 1.8062, 3.802471][0.372323, 1.8617, 3.693365]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 ↗