Run the failure
Use the red CTA to create the analytical problem intentionally.
An AI-generated query runs and returns a polished answer. Run validation to uncover three analytical bugs.
Find the duplicated join, wrong denominator and unsupported causal claim before the result reaches leadership.
Use the red CTA to create the analytical problem intentionally.
Before validating, decide what you expect row counts or metrics to do.
Use the green CTA to reveal the checks that catch the failure.
Say what broke in plain business language, not only SQL language.
Find the duplicated join, wrong denominator and unsupported causal claim before the result reaches leadership.
JOIN status_events e ON o.order_id = e.order_id
WHERE e.event_time >= CURRENT_DATE - 7
COUNT(CASE WHEN e.status='cancelled' THEN 1 END) / COUNT(*)
AS cancellation_rate Events can multiply each order.
Event rows are not eligible orders.
No causal evidence connects marketing to cancellations.
Three failures found: duplicated grain, wrong denominator, unsupported causal language. The query running successfully is not enough.
Fluent output is not evidence of correctness.
Validate definitions, grain and claims independently.
AI should accelerate analysis, not bypass analytical review.