‹ Harness Lab
STAGE 4 · TRIAGE ROUTER

Triage Router

Score the request, not the vibes: confident requests take the cheap FAST path, the rest escalate to the HEAVY path.

DECISION MODEL

Stream is seeded, so rerunning isolates the threshold effect.
The confidence formula and path costs

confidence = 1 - (0.45 x ambiguity + 0.25 x length + 0.15 x domainRisk + 0.10 x hasCode)

FeatureHow it is computed
ambiguityTemplate base score plus 0.05 per vague word found in the text (thing, stuff, somehow, whatever, it broke)
lengthmin(tokens / 160, 1), tokens counted from the generated text
domainRiskPer domain: legal 0.70, code 0.25, support 0.10, product 0.08, account 0.05, sales 0.05, docs 0.05, general 0
hasCode1 when the request contains a code snippet or a stack trace
PathCost per requestLatency
FAST (System 1)$0.002300 ms
HEAVY (System 2)$0.064000 ms

LIVE TALLY

ESCALATED
0%
SAVED VS ALL-HEAVY
$0.00
AVG LATENCY
0 ms
PROCESSED
0 / 100

ESCALATION LOG

No escalations yet. Run the stream.

WHAT THIS PROVES