promptdojo_

Every prediction gets a name — step 7 of 7

Checkpoint

One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.

Last one — the full complaint desk. Two tickets came in overnight. One names a prediction that's in the log; the other names one that was served before logging was turned on.

Finish join_complaint(log, complaint) so it returns one string:

  • If a log row's prediction_id matches the complaint's: "<ticket> -> <prediction_id> (<model_version>, <latency_ms>ms, <output>)"
  • If no row matches: "<ticket> -> <prediction_id> not logged: undebuggable"

Expected output:

#5521 -> pred-000483 (churn-clf-v13, 388ms, will_churn)
#5544 -> pred-000999 not logged: undebuggable

full-screen editor opens — close anytime to keep reading.