FA-64800 / Clinical triage scoring / Member archive
Four-item dehydration scale with weight-loss override: tears item order · case 05
Absent tears score 1 and decreased tears score 2.
Case contract
Input {appearance (normal|thirsty_restless|drowsy_limp), eyes (normal|slightly_sunken|very_sunken), mucous (moist|sticky|dry), tears (present|decreased|absent), weight_loss_pct (or null)}. Items score 0/1/2 in the listed order. Category: 0 NONE, 1-4 SOME, 5-8 MODERATE_SEVERE. A measured weight loss >= 10% forces MODERATE_SEVERE; >= 3% raises NONE to SOME but never lowers a category. Return {score, category}.
Why this case matters
Ordinal clinical scales combined with an objective override can fail in item mapping, band edges and override direction.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| score exactly 4 | {"category": "MODERATE_SEVERE", "score": 5} | {"category": "SOME", "score": 4} | 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 ↗