lesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classlesson 4 of 4 · triage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by classtriage the bad prediction — reproduce with the logged input, then route by class
Checkpoint
One last thing before we move on. pass this to mark the lesson done, or skip and keep moving.
Final drill: the whole runbook in one function. Three tickets
from this morning, each with a trace and a repro flag. Write
triage(report):
- Gate. If
report["reproduced_with_logged_input"]is falsy, return"blocked: reproduce with the logged input"— no classification, no routing. - Classify. Apply the lesson-02 priority order to
report["trace"]:retrieved_chunksnon-empty ANDretrieved_chunks_match_queryisFalse→"retrieval"raw_output != output_after_postprocess→"parse"retrieved_chunksempty →"hallucination"- otherwise →
"prompt"
- Route. Return
"route to <destination>"viaROUTES.
Print one line per ticket as ticket_<id>: <result>.
Expected output:
ticket_9101: blocked: reproduce with the logged input
ticket_9102: route to retrieval pipeline
ticket_9103: route to post-processing code