FA-64349 / Clinical triage scoring / Member archive
Aggregate early warning score with oxygen scale: scale 2 air exemption · case 04
A hypercapnic-target patient saturating 95% on room air scores 2 points.
Case contract
Input {rr, spo2, on_o2, scale2, temp (1 dp), sbp, hr, avpu}. Toy points: RR <=8:3, 9-11:1, 12-20:0, 21-24:2, >=25:3. SpO2 scale 1: <=91:3, 92-93:2, 94-95:1, >=96:0. Scale 2: <=83:3, 84-85:2, 86-87:1, 88-92:0, and >=93 scores 0 on air but on oxygen 93-94:1, 95-96:2, >=97:3. Oxygen +2. Temp <=35.0:3, 35.1-36.0:1, 36.1-38.0:0, 38.1-39.0:1, >=39.1:2. SBP <=90:3, 91-100:2, 101-110:1, 111-219:0, >=220:3. HR <=40:3, 41-50:1, 51-90:0, 91-110:1, 111-130:2, >=131:3. AVPU "A" 0, any other (C new confusion, V, P, U) 3. Risk: total >=7 HIGH, >=5 MEDIUM, else LOW_MEDIUM if any single parameter scores 3, else LOW. Return {score, risk}.
Why this case matters
Aggregate early warning scores drive escalation; each parameter table, the oxygen scale switch and the single-parameter trigger are separate failure points.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| scale 2 high saturation on air | {"risk": "LOW", "score": 2} | {"risk": "LOW", "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 ↗