promptdojo_
Checkpoint

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

Checkpoint. Make the retraining call with a reason. Write decide(drift, new_labels, min_labels) that returns:

  • "hold: no drift" if there's no drift,
  • "hold: only {new_labels}/{min_labels} labels" if drift but too few labels,
  • "retrain" otherwise.

Print the result for drift but only 120 of 200 labels:

hold: only 120/200 labels

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