Why programmatic video — when AI gen alone isn't enough — step 7 of 7
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Final drill. You're the in-house creative engineer at a DTC brand. Five briefs land in your inbox in one morning. Route each one.
Write route_briefs(briefs) that takes a list of brief dicts and
returns a dict mapping each brief's name to its classification
("ai-gen-only", "code-driven", or "hybrid").
Use the same rules as the previous step:
- All four signals point at the model →
"ai-gen-only". - Any parametric signal (
rows > 1) or data signal (data_source is not None) →"code-driven". - Otherwise →
"hybrid".
Expected output:
founder dream sequence: ai-gen-only
weekly sale ads: code-driven
feature launch: hybrid
customer testimonial: hybrid
inventory dashboard: code-driven
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Final drill. You're the in-house creative engineer at a DTC brand. Five briefs land in your inbox in one morning. Route each one.
Write route_briefs(briefs) that takes a list of brief dicts and
returns a dict mapping each brief's name to its classification
("ai-gen-only", "code-driven", or "hybrid").
Use the same rules as the previous step:
- All four signals point at the model →
"ai-gen-only". - Any parametric signal (
rows > 1) or data signal (data_source is not None) →"code-driven". - Otherwise →
"hybrid".
Expected output:
founder dream sequence: ai-gen-only
weekly sale ads: code-driven
feature launch: hybrid
customer testimonial: hybrid
inventory dashboard: code-driven
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.