Test your analytics agent with two correct definitions of the same metric
Give the agent two approved definitions that return different numbers. Then check whether it can select the intended one, ask when it cannot, and show which it used.
A text-to-SQL agent can run a valid query against an approved dataset and still answer the wrong question. In its Nov. 27 guide to conversational analytics, Alation describes the problem with terms like “active customer”: two teams can use the same name for different definitions. The guide recommends asking vendors what happens when definitions conflict and checking whether an answer shows its definition, source, freshness and owner. Turn that advice into a test where the agent can’t pass by returning just any plausible number.
Make the two definitions disagree on purpose
In a small test dataset, define Sales’ active customer as someone with a paid order in the last 30 days, and Support’s as someone with a support ticket in the same window. Put in five customers: two who only ordered, one who only filed a ticket, one who did both and one who did neither. With the same cutoff, Sales should count three and Support should count two. These are illustrative definitions and expected results, not a vendor benchmark. Write down the two reference counts and give each definition a distinct identifier before running the agent.
Run three prompts under the same test identity with access to both definitions:
- “How many active customers did we have under the Sales definition?” Expect three and the Sales definition.
- “How many active customers did we have under the Support definition?” Expect two and the Support definition.
- “How many active customers did we have?” In a workspace with no approved default, expect a clarification or both counts clearly labeled. An unlabeled three is not a pass just because it matches one approved query.
Score the meaning separately from the number
For each explicit prompt, record the definition the agent actually used, not just the one it named in its answer. If the tool exposes generated SQL or a query record, check whether it counted paid orders or tickets. A reply that names Sales but runs the Support query fails even if a later data refresh happens to make the totals equal. Also check what the reader can see: the definition, source, freshness and owner that Alation recommends. If your organization has an approved default, test that separately: the bare question should use it and say so, while the explicit prompts should still select the named definitions. That distinguishes a deliberate default from a guess.
sources
- Alation, What Is Conversational Analytics? — Nov. 27, 2026www.alation.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026