Essays Analytics & ML

I Graded an AI Analyst on 50 Answers. The Numbers Were Never the Problem.

I gave an AI analyst ten questions about a real business dataset and graded every answer against a key. It got every number right. Its misses were claims that sounded true and were not.

· 5 min read

An AI analyst can already get the numbers right on real business questions. In my test it did so in all 50 answers. What it still gets wrong is the sentence around the number: a confident claim its own query results do not support. If you plan to put an AI analyst in front of your team, that is the mistake to design your checks around.

You can see every answer and every grade before reading on. This is how I built the test and what it taught me.

Why I built it

“Ask your data in plain English” is one of the most common AI pitches I hear. The demos always work. The question a payments or finance leader actually has is different: when the answer goes into a board deck, how do I know it is right?

Nobody can answer that by watching a demo. You can only answer it by grading many answers against a known truth, and publishing the misses along with the hits. So I built that.

How the test works

I generated nine months of payments data for Tidepay, a payments processor that does not exist: about 50,000 payments across 120 merchants, with refunds, declines and chargebacks (disputes where a cardholder asks their bank to reverse a charge). Because the data comes from a fixed seed, every question has an answer I can compute myself.

Then I planted the traps a real dataset has:

  • Retries. Declined payments are often retried within a minute. Count every attempt and the approval rate looks 3 points worse than it is.
  • Mixed currencies. Amounts are stored in local currency. Add them up without converting and quarterly volume comes to 14.6 million instead of 1.57 million US dollars.
  • Chargeback lag. Cardholders dispute weeks after buying, so the latest month always looks cleaner than it is.
  • A missing column. The data holds fees but no costs, so profit margin cannot be computed. The right answer says so.

The analyst was Claude, working through four tools: read the table notes, run read-only SQL, draw a chart, and submit an answer. I asked it ten questions, from “What was our approval rate last quarter?” to “Does 3D Secure reduce fraud chargebacks?”, and ran each one five times. 3D Secure is the extra verification step some card payments go through, such as a code sent to your phone.

How each answer is graded

Every answer is checked on four criteria. Code checks three of them:

  • Right answer. The headline numbers match the answer key within a published tolerance.
  • Numbers come from its queries. Every headline number appears in a query result the answer cites, so nothing is invented or calculated by hand.
  • Chart backs the answer. The chart plots a query the analyst ran and shows the figure the answer rests on.

The fourth, whether the answer states its assumptions and limits honestly, needs judgment. A second model grades it against a written rubric for each question. Before I trusted that grader, I graded 26 answers by hand and compared. It agreed with me on 24.

What the analyst got right

All 50 answers passed the three code checks. Every number was right, and every number could be traced to a query the analyst ran. It never fell for the retries or the unconverted currencies. Asked for a profit margin, it said the data could not answer that in all five runs, and offered the fee figures it did have instead.

Some answers were better than my key. For the chargeback rate by category, I expected one figure. The analyst noticed that recent purchases had not had time to collect disputes, measured only purchases old enough to have them, and explained why the two numbers differ. I changed the key to accept both.

Where it went wrong

43 of 50 answers passed every check. All 7 misses failed the same way: the number was right, and a supporting claim was not.

  • 3D Secure, 3 of 5 runs. Payments with 3D Secure had far fewer fraud chargebacks. The analyst then claimed the gap held in every risk tier, or that merchant mix did not explain it. Its own results showed otherwise: the riskiest merchants never used 3D Secure, and the gap shrank sharply outside digital goods.
  • September chargebacks, 2 of 5. One run called September “the first monthly drop this year”, which its own monthly results contradicted. Another opened with a flat “yes” and read easing risk into counts of a few dozen a month.
  • The decline spike, 2 of 5. Both runs found the right country and week. One then said no other country’s worst week rose 8 points above its average. Two did. The other described its week boundaries in a way its daily results contradicted.

These are the mistakes a busy reader is least likely to catch. The headline is right, the chart is right, and the extra sentence sounds like insight. That sentence is where a wrong decision would come from.

Most of my first failures were mine

The first full batch scored 29 of 50. Most of that gap was my grading, not the analyst:

  • My chart check was too literal. It rejected a chart whose monthly bars added up to the right total.
  • My grader could not see what the analyst saw. The analyst read the table notes before writing SQL. The grader never got them, so it marked true statements from those notes as unsupported. That one bug caused three failures in a single test run.
  • My grader saw too little. It read only the first 25 rows of each result, and failed true remarks drawn from later rows.
  • My own answer key had a bug. The grader found it: my weekly query put Mondays into the previous week. It also caught three contradictions in my hand grades that I had missed.

I learned the same lesson in my first lab: when an AI fails an eval, check the eval first. This time it also checked me.

Recording and grading all 50 answers cost about $7.80, or about 10 cents an answer. A small batch like this is cheap enough to run every time a prompt, a model or a table changes.

What I would tell a team adopting an AI analyst

  • Grade against a key, not a demo. Pick ten questions your team already knows the answers to, run each several times, and publish the pass rate. One good answer proves nothing.
  • Check claims, not just numbers. Your checks will catch a wrong total. Plan for the confident sentence its own results contradict.
  • Make “the data cannot answer this” a passing answer. If refusing counts as failure, you are training for invented numbers.
  • Check your grader before you trust it. Grade a sample by hand, measure agreement, and give the grader everything the analyst saw.

Open the 3D Secure question and look at run 2. The numbers are right and the chart is right. See if you can spot the sentence that is not, before you read the grade.