FA-64518 / Clinical triage scoring / Member archive
Paediatric warning score with age-banded vital ranges: age band upper bound · case 03
A child on their first birthday is scored against infant ranges.
Case contract
Input {age_months, hr, rr, behavior, crt_s, o2_lpm}. Toy normal ranges by age: < 12 months HR 100-160 RR 30-50; 12-47 HR 90-150 RR 24-40; 48-143 HR 70-120 RR 18-30; >= 144 HR 60-100 RR 12-20. Deviation = distance outside the range (0 inside). Cardiovascular: 2 if HR deviation > 20 or refill >= 4 s, 1 if any HR deviation or refill 3 s, else 0. Respiratory: 2 if RR deviation > 10 or oxygen >= 4 L/min, 1 if any RR deviation or any oxygen, else 0. Behaviour: playing/sleeping 0, irritable 1, lethargic 3. escalate when total >= 5 or behaviour scores 3. Return {score, escalate}.
Why this case matters
Paediatric warning scores depend on the right age band and on two-sided deviation from normal ranges.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| first birthday uses toddler band | {"escalate": false, "score": 2} | {"escalate": false, "score": 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 ↗