FAILURE MAP
← Case archive

FA-64913 / Epidemic compartment models / Member archive

SEIR R0 with vital dynamics and vaccine coverage: herd threshold · case 03

Herd immunity thresholds fall as R0 rises.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

R0 = beta*sigma/((sigma+mu)*(gamma+mu)); when R0<=1 return [R0,0.0,0.0]; herd threshold 1-1/R0; critical coverage threshold/efficacy, None if it exceeds 1 (exactly 1 is feasible); values rounded to 6; None for invalid rates or efficacy outside (0,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.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: measles-like high R0[14.4, 0.069444, 0.073099][14.4, 0.930556, 0.979532]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 ↗