FA-64757 / Clinical triage scoring / Member archive
Inpatient fall risk score: fall recency window · case 02
A fall from years ago still adds 25 points.
Case contract
Input {last_fall_days (or null), secondary_dx, aid, iv, gait, mental}. Toy points: a fall within the last 90 days (inclusive) 25; secondary diagnosis 15; aid none/bedrest/nurse 0, crutches/cane/walker 15, furniture 30; IV access 20; gait normal/bedrest/immobile 0, weak 10, impaired 20; mental status "forgets" or "overestimates" (overestimates own ability) 15, "oriented" 0. Risk: 0-24 LOW, 25-44 MODERATE, >= 45 HIGH. Return {score, risk}.
Why this case matters
Nursing risk scores map categorical observations to weighted points; recency windows, category tables and band edges fail independently.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fall a year ago | {"risk": "HIGH", "score": 45} | {"risk": "LOW", "score": 20} | 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 ↗