FAILURE MAP
← Case archive

FA-64469 / Clinical triage scoring / Member archive

Embolism pretest probability and rule-out pathway: immobilisation or surgery counted once · case 04

A bed-bound post-operative patient scores 3 points for the single immobilisation item.

Member previewVariant 4 · 3 implementations · 10 checks per implementation

Case contract

Input {dvt_signs, pe_most_likely, hr, immobile_days, surgery_weeks_ago (or null), prior_vte, hemoptysis, malignancy, age, spo2, estrogen}. Toy points: DVT signs 3, alternative less likely 3, hr > 100 1.5, immobilisation >= 3 days OR surgery within 4 weeks 1.5 (counted once), prior VTE 1.5, haemoptysis 1, malignancy 1. Score > 4 is LIKELY (next IMAGING). UNLIKELY patients are RULED_OUT when age < 50, hr < 100, spo2 >= 95 and none of haemoptysis, estrogen, prior VTE or surgery within 4 weeks; otherwise next D_DIMER. Return {score, category, next}.

Why this case matters

Pretest scoring feeds a rule-out gate; half-point arithmetic, the either/or item and exclusion lists are separate defect sites.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
immobilised after surgery counted once{"category": "LIKELY", "next": "IMAGING", "score": 6.0}{"category": "LIKELY", "next": "IMAGING", "score": 4.5}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 ↗