FAILURE MAP
← Case archive

FA-64337 / Medication dosing calculations / Member archive

Single-level extended-interval nomogram: q24h line inclusive edge · case 02

A level exactly on the q24h line is assigned q36h.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Input {dose "HH:MM", draw "HH:MM" (a draw clock time earlier than the dose means the next day), level mg/L}. Hours after dose must be within 6-14 inclusive, else OUT_OF_RANGE. With rem = 14 - hours: level <= 2 + rem/2 gives q24h; <= 4 + 0.75*rem gives q36h; <= 6 + rem gives q48h; otherwise HOLD_RECHECK. Return {interval, hours (2 dp)}.

Why this case matters

Interval nomograms read a timed level against sloped lines; clock arithmetic and line edges are separate defect sites.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
on the q24 line{"hours": 7.0, "interval": "q36h"}{"hours": 7.0, "interval": "q24h"}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 ↗