FA-64014 / Medication dosing calculations / Member archive
Weight-based anticoagulant infusion nomogram: supratherapeutic hold branch · case 04
Very high aPTT results reduce the rate but never pause the infusion.
Case contract
Input {weight_kg, aptt (integer seconds), rate (units/kg/h)}. Toy nomogram with dosing weight capped at 120 kg: aptt < 35 bolus 80 u/kg and rate +4; 35-45 bolus 40 u/kg and rate +2; 46-70 no change; 71-90 rate -2; > 90 hold 60 minutes and rate -3. Rate is never below 0. Bolus units = bolus u/kg * weight rounded half-up to the nearest 100 units. Return {bolus_units, hold_min, rate_u_kg_h, rate_u_h (half-up integer of rate*weight)}.
Why this case matters
Nomogram-driven infusion adjustments combine band lookup, weight caps and pump rounding; each is a separate failure point.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| supratherapeutic hold | {"bolus_units": 0, "hold_min": 0, "rate_u_h": 810, "rate_u_kg_h": 9.0} | {"bolus_units": 0, "hold_min": 60, "rate_u_h": 810, "rate_u_kg_h": 9.0} | 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 ↗