FAILURE MAP
← Case archive

FA-65200 / Epidemic compartment models / Member archive

Hospital occupancy from delayed admissions: admission delay direction · case 05

Admissions precede the infections that cause them.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

admissions[t] = hosp_frac*infections[t-delay] (0 before the delay); each admission occupies a bed on days t..t+los-1; return [admissions rounded 4, occupancy rounded 4, earliest peak day].

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: wave with 3 day delay[[6.0, 5.0, 3.0, 2.0, 1.0, 0.5, 0.0, 0.0, 0.0], [6.0, 11.0, 14.0, 16.0, 11.0, 6.5, 3.5, 1.5, 0.5], 3][[0.0, 0.0, 0.0, 1.0, 2.0, 4.0, 6.0, 5.0, 3.0], [0.0, 0.0, 0.0, 1.0, 3.0, 7.0, 13.0, 17.0, 18.0], 8]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 ↗