← Back to the journal

DataFocus · Journal

How to Test an AI Analytics Tool's Numbers During a Trial

A six-step trial protocol for checking an AI analytics tool's numbers: known-answer questions, cross-channel checks, SQL and table inspection, ambiguity and refusal probes, and a scorecard. Uses DataFocus OT's query receipts as the worked example.

Test an AI analytics tool the way you would test a new analyst: give it questions whose answers you already know, ask the same question through every channel you plan to use, and open the SQL behind each number. Score the results on a fixed sheet, including how the tool behaves when a question is ambiguous or out of scope. A vendor demo or a benchmark score cannot do this for you, because neither touches your tables or your definitions. The protocol below fits a two-week trial and needs no special tooling beyond a spreadsheet and read access to your own data.

Why do benchmark scores not predict your data?

Text-to-SQL benchmarks measure a model on someone else's schema. The Spider 2.0 benchmark was built to look more like enterprise work: 632 real-world text-to-SQL workflow problems on databases in systems such as BigQuery and Snowflake. In the paper published on arXiv in November 2024, an o1-preview code agent framework solved only 21.3% of tasks, against 91.2% on the older Spider 1.0 and 73.0% on BIRD. The project's leaderboard has moved up since then, so any score you see is tied to a date and a model version.

Vendors report gains from adding context. In an April 2026 post, Collate reported that adding its semantic layer raised Sonnet 4.5 accuracy on a Spider 2.0-Snow subset from 10.8% to 76.5%. That is one vendor's report, and it does not state the question count or the variance. Read it as a direction (context and definitions matter a great deal) rather than as a number you can expect to reproduce.

The practical conclusion is that your own question set is the only benchmark that matches your data. The rest of this post shows how to build one.

Step 1: Build a known-answer question set

Pick 20 to 30 questions where you can produce the correct answer without the tool. Compute the answers yourself, from a trusted report or a hand-written query, before the trial starts, and store them with the date and the data snapshot.

Mix the questions on purpose:

CategoryExample (hypothetical)What it exposes
Simple aggregateTotal revenue by region, last quarterBasic joins and filters
Defined metricNet revenue after returnsWhether business definitions are used
Ambiguous term"Delivered orders"Whether the tool guesses or asks
Cross-system entityOrders per customer across CRM and ERPEntity matching
Time-sensitiveOpen backlog as of a past dateTime handling
Out of scopeA region the test user cannot seePermission behavior

Keep a few questions at the edge of your data: a column with known quality problems, a metric whose definition changed this year. If every question has an easy answer, the trial only measures the easy cases. Record the unit and currency with each expected answer.

Use synthetic or non-sensitive data for the first pass. DataFocus's own getting-started guidance for OT says to define the task, its business owner, acceptance criteria and permitted scope, and to start with synthetic data. That is a reasonable default for any vendor.

Step 2: Cross-check the same question across channels

Most teams will not use one channel. Analysts search, a dashboard shows saved results, and an agent or an external MCP client such as Claude Code answers questions in chat. The same business question should give the same figure in each. If it does not, you have found either a definition that lives in more than one place or a channel that guesses.

Run every known-answer question through each channel you intend to use and record the figure from each. In DataFocus OT, a business definition is set once and used by search analysis, dashboards, control panels, the ontology agent and external agents, which then all get the same figures. AI agent access is a standard MCP server with OAuth authorization, so clients such as Claude Code connect to it directly. Whatever tool you evaluate, the question for the vendor is the same: where is the definition stored, and do all channels read it from there?

DataFocus's product brief gives a worked example. Using built-in sample data (in Chinese), a business user in Data Search and Claude Code through MCP received matching totals by requesting department: Operations Support 7,842,000, Procurement 6,966,000 and Digital 5,786,000 (currency yuan). The agent's answer cited the SQL and a receipt field called evidenceRowsSha256. This is a published example from the vendor, not an independent measurement, but it shows the shape of evidence to ask for: two channels, one set of figures, and a reference you can follow back.

Build the same table for your trial. One row per question, one column per channel, one column for your expected answer. Any row where two channels disagree is a finding, even if one of them happens to match your expected value.

Step 3: Read the receipt, not just the number

A correct total can come from the wrong query, and the error will appear the next time the data shifts. For each question, open the SQL and the tables it used.

In OT, every query returns the SQL that ran, the tables it used and a data fingerprint, and the AI follows the objects and relationships defined in the ontology instead of guessing. In OT Heavy's search results, the right-hand rail has a "Query SQL Statement" panel that shows the SQL the search actually ran and its computation time, so users can check how figures were calculated.

Check these items on each receipt:

  1. Tables. Are they the tables you would have picked? A summary table that is refreshed weekly gives a different answer from the transaction table.
  2. Filters. Are the date range, status filters and currency conversion what the question implied?
  3. Joins. Does a join to a one-to-many table inflate a sum? Compare the row count before and after the join.
  4. Definition. Does the SQL implement your metric definition, or a plausible-looking one?
  5. Fingerprint. If the tool returns a hash or fingerprint of the result rows, rerun the question later. An unchanged fingerprint on unchanged data shows the answer is stable. A changed one is a prompt to ask why.

If a tool shows only a final number or a chart, you cannot do items 1 to 4. Count that against it in the scorecard, however good the number looks.

Step 4: Probe ambiguity and refusals

Accuracy includes knowing when not to answer. Add questions that should not produce a confident number.

Ambiguous business terms. Ask for "delivered orders" when your company uses delivery to mean different things in different teams. In DataFocus's published homepage demo (simulated data), "delivery" is defined as production complete and ready for handover at the factory, excluding transport and customer acceptance. So a forecast of two days late is a predicted risk, not a breach. A missing production forecast yields "not enough information", never "on track". Your test should look for the same behavior: a stated definition, and an explicit gap when the data is missing.

Similar entities. Include two customers with near-identical names that are different companies, or one company with two spellings. In the same demo, agents do not treat two similar names as one company until an identifier mapping across CRM, ERP and contracts is confirmed. A tool that merges them silently will inflate or split totals.

Out-of-scope requests. Log in as a user with limited access and ask about data outside it. In the demo, an out-of-scope request is refused without revealing content, counts, or whether the record exists (for example, "No order O-1003 was found in your authorized scope."). Note the difference between "you cannot see this" and "this does not exist", and check that a refusal does not leak a count or a name.

Natural-language rewrites. If the tool rewrites free-form input, check what it did. In OT Heavy, input that is not made of standard column names and keywords is passed to FocusGPT to parse into a search statement, and the system shows a prompt with a Revert action. For a standard statement, FocusGPT also parses it in the background and may replace it. Whatever you evaluate, find out whether you can see and undo the rewrite, because a silent rewrite changes the question you asked.

Step 5: Score and document the trial

Use a fixed sheet so that the result survives a change of reviewer. For each question record:

FieldValue
Question ID and categoryQ07, defined metric
Expected answer, date, source1.42M, from the finance report, snapshot date
Answer per channelSearch / Agent / MCP client
MatchExact, within tolerance, wrong
Receipt availableSQL, tables, fingerprint: yes or no
SQL reviewCorrect, correct by luck, wrong
Behavior on ambiguityAsked, stated assumption, guessed
NotesWhat the reviewer would change

Then separate three scores: correctness of figures, auditability (could a second person verify it from the receipt alone), and safe failure (refused or flagged instead of guessing). A tool with fewer correct answers but clear receipts and honest refusals can be easier to run in production than a tool with one more correct answer and no way to check it. Agree on pass thresholds before the trial begins, such as "every defined-metric question matches in every channel", so the decision is not negotiated after the fact.

Keep the sheet, the SQL for each answer and the snapshot date.

Trade-offs and limits

  • A known-answer set only covers the questions you thought of. Add real questions from users during the trial and treat them as unscored until someone verifies them.
  • Matching channels do not prove correctness: they may share the same wrong definition. The known answers are the anchor.
  • Interactive demos are not a trial. DataFocus's homepage scenarios use simulated data in the browser, change data only in the current page and reset on refresh, so use them to see behavior and install the product to test your own tables.

Next step

Both OT editions are free to download. Get Flash or Heavy from the editions page or the GitHub repositories for OT Flash and OT Heavy, where installers and release notes list system requirements. Then run the question set above against your own data.