FAILURE MAP
← Case archive

FA-63930 / Medication dosing calculations / Member archive

Cockcroft-Gault renal dose adjustment: creatinine floor direction · case 05

Elderly patients with impaired function are assigned a creatinine of 0.8 and look healthy.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input {age, weight_kg, scr, sex, dose_mg, interval_h}. Toy rule: if age >= 65, serum creatinine is raised to at least 0.8 mg/dL. CrCl = (140-age)*weight/(72*scr), times 0.85 for sex "F", then truncated to an integer. Bands: CrCl >= 60 unchanged; 30-59 same dose, interval doubled; 15-29 dose halved and rounded down to a 5 mg multiple, interval doubled; < 15 action AVOID. Return {crcl, action, dose_mg, interval_h} (AVOID omits dose and interval).

Why this case matters

Renal dose adjustment chains a creatinine clearance estimate with band lookups; each stage has a distinct boundary and ordering rule.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
65-year-old low creatinine floored{"action": "GIVE", "crcl": 112, "dose_mg": 500, "interval_h": 8}{"action": "GIVE", "crcl": 84, "dose_mg": 500, "interval_h": 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 ↗