FA-64375 / Clinical triage scoring / Member archive
Sepsis screen from inflammatory criteria and bedside score: optional blood gas · case 05
Every patient without a blood gas meets the respiratory criterion.
Case contract
Input {temp (1 dp), hr, rr, paco2 (or null), wbc, bands_pct, sbp, gcs, suspected_infection}. Toy inflammatory criteria (count): temp > 38.0 or < 36.0; hr > 90; rr > 20 or paco2 < 32 when measured; wbc > 12 or < 4 or bands > 10%. Bedside score: rr >= 22, sbp <= 100, gcs < 15. Without suspected infection the alert is NONE; otherwise SEPSIS_ALERT when the bedside score >= 2, else SIRS_ALERT when criteria >= 2, else NONE. Return {sirs, qsofa, alert}.
Why this case matters
Screening rules count criteria with open and closed thresholds and combine two scores with precedence; each is a separable defect.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| hypothermia counts | {"alert": "SIRS_ALERT", "qsofa": 0, "sirs": 3} | {"alert": "SIRS_ALERT", "qsofa": 0, "sirs": 2} | 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 ↗