Text signal
Visible phrases in an inspectable synthetic document.
The first document classifier used visible rules, evidence, and a deliberate UNKNOWN result—not because rules are the destination, but because the categories still needed to be challenged.
Visible phrases in an inspectable synthetic document.
Supporting evidence that never decides alone.
A versioned, reviewable decision boundary.
A defined handoff to human review.
Conflicting or weak signals remain unresolved.
Unavailable text is reported rather than silently sent to OCR.
The workflow makes correction explicit.
Disagreement tests the taxonomy itself.
| Fixture | Expected behavior |
|---|---|
| Clear synthetic text | Route with matching evidence |
| Misleading filename | Filename cannot decide alone |
| Conflicting signals | Refuse or follow the documented threshold |
| Image-only PDF | Report text unavailable; do not pretend it was empty |
| Future model | Must beat the approved baseline on an approved evaluation set |
Guardrail: These implementation tests do not establish clinical performance. Taxonomy, weights, and workflow require subject-matter validation.
Why CareFlow used a transparent rule baseline to learn the taxonomy, refusal behavior, and evidence contract before adding machine learning.