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):
- For each campaign, in order, run the same flags as
ship_checklist(missing_disclosure,missing_approver,no_campaign_receipt,no_owned_cta,underbatched). - 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), andf"{c['id']}: READY_TO_SHIP"when there are none. - After the loop, print
f"blocked: {n}"wherenis the BLOCKED count, thencalendar: HELDif any campaign blocked, otherwisecalendar: CLEAR.
Expected output:
fieldnote_fall_ugc: READY_TO_SHIP
draft_missing_gate: BLOCKED
blocked: 1
calendar: HELD