vc_006 · Descriptive analytics — segment questions

Status: ✓ Passing · Last run: 2026-06-04T05:55:25 · Pipeline: analyze · History: 4/7 runs passed (57%)

What was tested

Customer-style table with categorical segments + numeric revenue + dates. The analyze_agent is asked three descriptive questions whose answers are planted facts about the synthetic data. Validates that the chat surface routes to the right tool (BigQuery for descriptive lookups), reads the data instead of guessing, and surfaces the correct value in its reply.

What we planted in the data

What the system did

What we checked — all assertions passed

Status Assertion Detail
tool_was_used agent used query_bigquery in session up through 'q_segment_count'
answer_mentions_fact all expected facts present in answer to 'q_segment_count'
tool_was_used agent used query_bigquery in session up through 'q_segment_count'
tool_was_used agent used query_bigquery in session up through 'q_segment_count'
answer_mentions_fact all expected facts present in answer to 'q_segment_count'

How this could have gone wrong

Why this case matters

Validates the broader analytical-chat surface (the /analyze flow buyers see) on the simplest analytical question class — descriptive aggregations. If this case fails the failure is one of: (a) the agent didn't route to the BigQuery tool, (b) it answered without calling any tool, or (c) it reported the wrong segment. Each of those is a buyer-visible regression.

Reproducing

# from auto_insight_api/
python -m validation.v2 run vc_006 --pipeline analyze -v

← back to validation report