Code RoomWeekly campaign digest with anomalies
EasyPrep Room Coding #52

Weekly campaign digest with anomalies

Vibe & agenticAI agents & automationEntry–Mid~13 min

Every Monday you spend three hours pulling campaign numbers from your ad platforms and email tool into a status update nobody reads carefully. Design an agent that assembles a weekly performance digest, flags anomalies like a sudden cost spike or a collapsing click rate, and suggests next actions. Walk me through where it gets the numbers, what a human checks before the digest circulates, and how you'd verify its anomaly flags aren't noise. Then tell me why your marketing lead should care.

Implement
flag_weekly_anomalies(metric_names: list[str], current_values: list[int], baseline_weeks: list[list[int]], threshold_percent: int, min_baseline: int) → list[str]
Examples
in[["cost","clicks"],[1500,900],[[1000,1000,1000,1000],[1000,1000,1000,1000]],30,100]out["cost=spike","clicks=ok"]
in[["ctr_bps"],[40],[[100,100,100,100]],30,100]out["ctr_bps=drop"]
in[["forum_signups"],[30],[[3,4,5,4]],30,100]out["forum_signups=low_volume"]
What a strong answer looks like

Turn the fuzzy goal into a bounded agent task. Say what the agent reads, what it may do on its own versus draft for a human, and what it must never touch. Then earn the trust: how you’d verify it before rollout, and the pitch (the problem, what you built, why it matters).

0:00 of about 13 min

Agent build: design the agent in plain language (or narrate it). The coach grades the decomposition, the guardrails, the verification plan, and the pitch.

Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.