Does BlazeSQL correctly understand a follow-up question that refers to its previous answer?
BlazeSQL kept the previous answer's customer group when answering the follow-up. Its order-count reply covered the same five customers in the same spend order, without asking who was meant.
1 of 1 test case passed
Every test case in this scenario has a result.
The test case
Each test case is judged on its own: Pass, Fail, Not gradable, or Untested. The scenario result above is based on this test case.
"They" refers to the previous answer's setPassEvidence
Input 1 · Initial question: “Who are our top 5 customers by total spend?”
Input 2 · Follow-up question: “How many orders did they place in the last 90 days?”
First answer after revision
Here's the refined view! A couple of improvements made: Excluded cancelled orders and any orders with a refund on record Filtered to USD only to ensure spend figures are truly comparable A few quick observations: Wei Zhang leads by a notable margin at ~$7,710 Deshawn Carter follows at ~$6,143 There's a visible drop-off after the top 2 Would you like to dig deeper into any of these customers, or perhaps look at their purchase categories or order history?
Follow-up order counts
Top 5 Customers - Orders in Last 90 Days name | orders_last_90_days Wei Zhang | 8 Deshawn Carter | 6 Hannah Kowalski | 2 Dev Raghavan | 6 Marcus Whitfield | 4 A few highlights: Wei Zhang remains the most active with 8 orders in the last 90 days Deshawn Carter & Dev Raghavan are tied at 6 orders each Hannah Kowalski has the lowest recent activity at just 2 orders, despite being 3rd in total spend Would you like to explore anything else, such as their average order value, most purchased categories, or support ticket history?
Transcribed from Proof 3 · Screenshot
Every message the tool sent, in order (9)
- Initial spend query · not part of the answer
Generated query: Top 5 Customers by Total Spend SELECT c.id AS customer_id, c.name, c.email, COUNT(o.id) AS total_orders, SUM(o.total_amount) AS total_spend FROM customers c JOIN orders o ON c.id = o.customer_id GROUP BY c.id, c.name, c.email ORDER BY total_spend DESC LIMIT 5 - Initial query explanation
Query logic:
- Join customers to orders on customer_id.
- Group by customer and aggregate order count and total spend.
- Order by total spend descending and limit to top 5.
Show the reply as returned (Markdown)
Query logic: 1. Join customers to orders on customer_id. 2. Group by customer and aggregate order count and total spend. 3. Order by total spend descending and limit to top 5.
- Unasked revision announced
I noticed the previous query could be improved — it didn't exclude cancelled/refunded orders, and didn't account for currency consistency. Let me fix that!
- Revised spend query · not part of the answer
Generated query: Top 5 Customers by Total Spend (Excl. Cancelled/Refunded, USD) SELECT c.id AS customer_id, c.name, c.email, COUNT(o.id) AS total_orders, SUM(o.total_amount) AS total_spend, o.currency FROM customers c JOIN orders o ON c.id = o.customer_id WHERE o.status NOT IN ('cancelled') AND o.refunded_at IS NULL AND o.currency = 'USD' GROUP BY c.id, c.name, c.email, o.currency ORDER BY total_spend DESC LIMIT 5 - Revised query explanation
Query logic:
- Join customers to orders on customer_id.
- Exclude cancelled orders (via status) and refunded orders (via refunded_at IS NULL), and restrict to USD currency.
- Group by customer and currency, aggregate order count and total spend.
- Order by total spend descending and limit to top 5.
Show the reply as returned (Markdown)
Query logic: 1. Join customers to orders on customer_id. 2. Exclude cancelled orders (via status) and refunded orders (via refunded_at IS NULL), and restrict to USD currency. 3. Group by customer and currency, aggregate order count and total spend. 4. Order by total spend descending and limit to top 5.
- First answer after revision
Printed above.
- Follow-up order-count query · not part of the answer
Generated query: Top 5 Customers - Orders in Last 90 Days WITH top_customers AS ( SELECT c.id AS customer_id, c.name, SUM(o.total_amount) AS total_spend FROM customers c JOIN orders o ON c.id = o.customer_id WHERE o.status NOT IN ('cancelled') AND o.refunded_at IS NULL AND o.currency = 'USD' GROUP BY c.id, c.name ORDER BY total_spend DESC LIMIT 5 ) SELECT tc.name, COUNT(o.id) AS orders_last_90_days FROM top_customers tc LEFT JOIN orders o ON tc.customer_id = o.customer_id AND o.placed_at >= CURRENT_DATE - INTERVAL '90 days' AND o.status NOT IN ('cancelled') AND o.refunded_at IS NULL AND o.currency = 'USD' GROUP BY tc.name, tc.total_spend ORDER BY tc.total_spend DESC - Follow-up query explanation
Query logic:
- CTE identifies the top 5 customers by total spend, excluding cancelled and refunded USD orders.
- Left join those customers to orders placed in the last 90 days (from 2026-09-21), applying the same filters.
- Count qualifying orders per customer, preserving the top 5 spend ranking order.
Let me go ahead and visualize that for easier comparison!
Show the reply as returned (Markdown)
Query logic: 1. CTE identifies the top 5 customers by total spend, excluding cancelled and refunded USD orders. 2. Left join those customers to orders placed in the last 90 days (from 2026-09-21), applying the same filters. 3. Count qualifying orders per customer, preserving the top 5 spend ranking order. Let me go ahead and visualize that for easier comparison!
- Follow-up order counts
The final response, printed above.
| ✓ | Expected: Answer for the group the previous answer returned, without asking who was meant or silently changing the group.Found: It recalculated the same five-customer group from the revised first answer, kept its spend order and returned order counts without asking who was meant. |
This result concerns whether the follow-up kept the same customers, not the choice of spend definition or reference date. BlazeSQL used the group from the first question's final answer without clarification.
Spend redefined without being asked. BlazeSQL redefined spend unasked in its first answer, dropping cancelled, refunded and non-USD orders. The customer fourth by total spend as asked ($4,665.05) left the top five. Each list is accurate under its own definition.
Order counts used its run date. With no reference date given, BlazeSQL counted 90 days back from its run date, 21 September 2026.
Configuration and setup
How this tool was set up for the run and what the test needed in place. Each row is a fact from the run's records; a fact the records do not hold is left out, not guessed.
How this scenario is graded
How we decide Pass, Fail and Not gradable. The same rules apply to every tool tested on this scenario.
Each test case gets one result per tool: Pass, Fail or Not gradable. A test case we haven't run yet shows Untested. There are no partial results.
- Pass: the tool did everything the test expected, and nothing it said contradicts the correct answer.
- Fail: at least one expected behaviour clearly didn't happen; the test case's result says which one and quotes the tool.
- Not gradable: our evidence couldn't settle the outcome (for example a record we needed is missing). It is never counted as a fail, and the test case's result says what's missing.
Where this sits in the benchmark
This page is one cell of a larger study: one tool, one scenario. Only this benchmark's frame appears here.
| Level | Name | Scope |
|---|---|---|
| Benchmark | AI Database Agents → | 28 scenarios · 11 tools |
| Capability | Conversational Interaction → | |
| Scenario | The next question refers to the previous answer → | |
| Tool | BlazeSQL → |
Global scenario definition → · Global capability definition → · BlazeSQL product page →
History of this result
What has happened to this result since it was first published. Runs and grades are never overwritten: a retest or a re-grade publishes a new result and keeps the earlier one readable.
Act on this result
Nothing filed here edits the run or the grade. A challenge opens a review, and a review can produce a new run or a re-grade — which becomes the current result and leaves this one in the history.
You run the same kind of test against your own setup and get the same behaviour.
Agree →Yours behaves differently. Tell us what you got, with a screenshot if you have one.
Disagree →Something here is wrong — a reference value, a transcription, a grade.
Report an issue →Tell us what changed and we schedule a rerun of the failing test case. The old result stays as history.
Vendor notice →The same record is available as structured data through the AI Demos MCP server, with the counts, the coverage and every per-test-case reason carried as fields.
Verify the proof files
These files support this result. Open a file to inspect the original evidence.
File fingerprints (SHA-256)
A fingerprint identifies the exact file used for this result.