Write route_failure(failure_class):
- If the class is a key in
ROUTES, return"route to <destination>"using the dict value. - Anything else — including the eternal favorite,
"the model is dumb"— returns"not a triage category - go classify the trace".
Three inputs run, one of them the shrug. Expected output:
route to post-processing code
not a triage category - go classify the trace
route to retrieval pipeline