promptdojo_

mass ugc-looking as a channel — step 8 of 8

Checkpoint

One last thing before we move on. pass this to mark the lesson done, or skip and keep moving.

Checkpoint: two Fieldnote UGC-looking batches want onto next week's calendar. Run the ship checklist on both, then decide whether the calendar may treat the drop as cleared.

Write ship_audit(campaigns):

  1. For each campaign, in order, run the same flags as ship_checklist (missing_disclosure, missing_approver, no_campaign_receipt, no_owned_cta, underbatched).
  2. Print f"{c['id']}: BLOCKED" when disclosure is missing OR there are two or more flags, f"{c['id']}: NEEDS_WORK" when there is exactly one flag (and disclosure is present), and f"{c['id']}: READY_TO_SHIP" when there are none.
  3. After the loop, print f"blocked: {n}" where n is the BLOCKED count, then calendar: HELD if any campaign blocked, otherwise calendar: CLEAR.

Expected output:

fieldnote_fall_ugc: READY_TO_SHIP
draft_missing_gate: BLOCKED
blocked: 1
calendar: HELD

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