Metric drop investigation: hypothesis tree and diagnostic SQL

by fidji Claude English ~633 tokens
Public excerpt Locked
Is it real? Tracking, late data, timezone, definition changes, day-of-week mix. Is it unusual? Compared with past week-over-week variance. Which driver moved? traffic × conversion × basket. Mix or rate? Per segment. Then a ranked hypothesis tree with one query each…

About this prompt

When a key metric suddenly drops, this prompt runs the investigation in the right order: rule out tracking and data pipeline issues, check calendar effects and normal variance, decompose the metric into its drivers, separate mix effects from rate effects by segment, then rank hypotheses by evidence and cost to check. Delivers the SQL for every check and a stakeholder update template.

Example output

Provided by the author
Hypothesis tree — revenue −18% on Tue 14 Oct ├── Not real │ ├── H1 Late partition for 08:00–11:00 UTC (ETL rerun at 11:40) │ └── H2 Purchase event fired twice before the 13 Oct release, once after → past inflated ├── Real, calendar │ └── H3 Previous Tuesday was payday └── Real, business ├── H4 Conversion drop on Android after app version 5.12 (released Mon 18:00) └── H5 Paid social campaign paused Monday | # | Confirms if… | Rules out if… | Cost | Priority | | H1 | Hourly order count shows a gap | Hours complete | 2 min | 1 | | H4 | Drop concentrated in Android ≥ 5.12 | Drop equal across platforms | 10 min | 2 | ```sql -- H4: rate vs mix by platform SELECT platform, period, COUNT(DISTINCT session_id) AS sessions, COUNT(DISTINCT order_id) / COUNT(DISTINCT session_id) AS conv_rate FROM … ```

Details

Model
Claude
Prompt language
English
Who it's for
Data and product analysts, growth leads and BI teams fielding "why did this number drop?"
Length
~633 tokens (estimate)
Delivered as
Prompt text, shown online after purchase

Reviews

Buyers only

No reviews yet. Only buyers of this prompt can leave one.

Report this prompt