FA-64803 / Clinical triage scoring / Member archive
Cervical spine imaging decision rule: older age high-risk threshold · case 03
A 65-year-old is assessed for range of motion instead of being imaged.
Case contract
Input {age, gcs, dangerous_mechanism, paresthesias, simple_rear_end, sitting, ambulatory, delayed_onset, no_midline_tenderness, rotate_left, rotate_right (degrees)}. Toy rule: age < 16 or gcs < 15 NOT_APPLICABLE. High risk (age >= 65, dangerous mechanism or paresthesias) -> IMAGE. If none of the low-risk factors (simple rear-end collision, sitting, ambulatory, delayed onset, no midline tenderness) is present -> IMAGE. Otherwise NO_IMAGE when active rotation reaches 45 degrees both left and right, else IMAGE. Return {decision}.
Why this case matters
Imaging decision rules chain any-of and all-of gates; confusing the quantifiers or thresholds is a distinct defect at each gate.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| age exactly 65 | {"decision": "NO_IMAGE"} | {"decision": "IMAGE"} | 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 ↗