What problem is worth solving?
Teaching scenario: channel and business reports disagree on conversions. Before recommending a budget allocation, diagnose definitions and design a reviewable experiment.
Avoid budget decisions based on inconsistent reports and connect analysis to a controlled experiment.
- WORKING ROLES
- Media operations, finance/analytics, data engineers and FDE
How does an FDE turn symptoms into a solvable problem?
The following discovery and implementation exercise uses a synthetic scenario.
Recalculate one campaign-day
Align timezone, currency, campaign ID and attribution window; inspect returns and duplicate exports before explaining the gap.
Find the decision behind the report
Identify decision cadence, learning-volume requirements, stock and margin constraints; propose data collection where evidence is weak.
How does the solution enter the workflow?
- 01
Contract
Fix spend, conversion, net revenue and cutoff definitions.
- 02
Reconcile
Deduplicate with stable keys and explain each discrepancy.
- 03
Compare
Compare baseline, conservative and test scenarios with explicit assumptions.
- 04
Review
Have an authorized operator execute; review net outcomes and stop rules.
Which decisions make the solution reliable?
Historical ROAS is not incremental return
High ROAS may capture existing demand or retargeting. Additional spend may diminish; design a test.
Verify anomalies before narrating
Late-arriving attribution can look like a spike; compare event and ingestion times.
Why spend was counted twice
Synthetic CSV: two exports contain campaign C-3 spending 1,000 CNY on the same day.
- Key
- Use campaign_id + date + currency + report_scope.
- Handling
- Keep the final export version; do not sum cumulative snapshots.
- Result
- Deduplicated spend is 1,000, with the 1,000 discrepancy explained.
Start practising: inputs and checks
These original fixtures, entities and rules are synthetic. Copy the input to begin; inspect the reference checks after attempting the task. A chat can test outputs only. Implement and test access controls, persistence and idempotency separately in a local simulator using the linked engineering modules.
Copyable synthetic inputs
Synthetic cumulative daily snapshots: CNY, UTC+8, event date 2026-10-01, scope=all. A newer version replaces an older campaign snapshot; versions must not be summed. campaign,version,exported_at,spend,platform_paid_orders C-3,1,2026-10-02 09:00,1000,10 C-3,2,2026-10-03 09:00,1000,12 C-4,1,2026-10-02 09:00,500,5 C-5,1,2026-10-03 09:00,200,2 Business ledger as of 2026-10-03 09:00: C-3 paid 12/refunded 2; C-4 paid 5/refunded 0; C-5 paid 2/refunded 0. Refunds concern orders from this event date. Teaching net orders = paid minus refunded orders. Revenue, margin, stock and budget authority are absent. C-5 arrived one day late; it is not a new October 3 campaign. Task: explain duplicate snapshots, late arrival and refund definitions. Produce reproducible cleaning logic and a proposed budget validation plan requiring approval.
Steps
- Define the stable key, version selection, cutoff and refund treatment; reconcile with a spreadsheet or code.
- Compare raw sums with reconciled totals, keeping a log of replaced and late rows.
- Design a controlled budget experiment with approval, limits, window and stop conditions; leave missing amounts for the owner to decide.
Open the reference checks after your attempt
- Raw spend sums to 2,700; reconciled spend is 1,700, a duplicate difference of 1,000. Raw paid orders sum to 29; final paid orders are 19 and net orders 17.
- At October 2 09:00 only C-3 v1 and C-4 were available: spend 1,500, paid orders 15. Do not backdate later knowledge.
- Without revenue, ROAS is undefined. Historical conversions do not establish incremental budget effects. Reimporting identical snapshots must leave 1,700/19/17 unchanged.
Acceptance for this attempt: Submit cleaning logic, raw-to-final mapping, three anomaly explanations, a replay check and a proposed experiment. Do not run live campaigns.
What should you do and deliver?
Align cross-report definitions
- OUTPUT
- Metric contract
- PASS CONDITION
- Windows, returns and currency are explicit
Handle duplicates and late data
- OUTPUT
- Cleaning + reconciliation
- PASS CONDITION
- Totals are reproducible
Design a budget experiment
- OUTPUT
- Experiment + stop rules
- PASS CONDITION
- Explain separation from organic change
How do you prove completion and reuse the work?
Acceptance checks
Review reconciliation, reasoning, executable experiments and cost; predictions are not realized returns.
Reusable assets
Reuse contracts, reconciliation and experiment patterns; adapt platform attribution and margins.
Further reading and original sources
- Building effective agents ↗Anthropic · 2024-12-19
- Demystifying evals for AI agents ↗Anthropic · 2026-01-09