Skip to content

AI hallucinations: how to quality check what AI produces

Irish tax guides · AI and technology · 27 November 2026 · 6 min read

An AI hallucination is an answer that sounds confident and is untrue: a made-up fact, a reference that does not exist, a wrong figure. Generative tools can produce them in any output, so you cannot remove the risk. You control it with a routine: test the tool on real cases with known answers, set a pass mark before you start, have people review what goes to customers, log every error, and stop when the error rate passes the agreed limit.

Why do AI tools get things wrong?

A text tool works by predicting the most likely next words, based on very large amounts of text it was trained on. It is built to produce fluent language, not to check facts. That is why fluent is not the same as true, and why a confident tone tells you nothing about accuracy. Even the makers of these tools say they can invent facts, so planning as if yours will not is the mistake.

The kinds of error to expect are worth knowing, because each needs a different check.

  • Made-up facts and references. A court case, a statistic or a section number that does not exist.
  • Out-of-date answers. The tool states last year's rule as current.
  • Wrong sums. A language tool is not a calculator.
  • Missed context. It answers the general question, not your situation.
  • Different answers to the same question. Ask twice and you may get two versions.

A related trap: asking a text tool for a forecast. Predicting next month's demand is a job for a forecasting method run on your data. A text tool can then explain the result in plain words, but it should not invent the number.

How do you build a test set?

Before a tool goes near real customers, test it the way you would test a new employee. The method is a test set.

  1. Collect 50 to 100 real cases where you already know the right answer. Use real, messy cases, not tidy ones made up for the demo.
  2. Run them through the tool.
  3. Score each result: right, slightly wrong or seriously wrong.
  4. Set the pass mark in advance. For example, no more than 5% of outputs with an error, and no seriously wrong answers in front of a customer. Deciding after you see the results invites you to pass it.
  5. Run the test again whenever the tool, its version, your data or your use of it changes. A changed tool is an untested tool.

A tool that "demoed well" has been shown its best cases by someone who wants you to buy it. If launch is Friday and the tool has never been tested on your own cases, the right move is a short test before launch, not a hope.

A worked example: Gearóid tests a customer reply tool

Gearóid runs a small online shop in Galway. A tool drafts replies to customer emails. He tests it on 100 past emails where he knows what a good reply looks like.

  • 92 replies were acceptable. 8 contained an error, such as a wrong delivery time. The error rate is 8 ÷ 100 = 8%.
  • His pass mark was 5%. At 8% the tool fails.

What would that cost at real volume? He gets 1,500 emails a month: 1,500 × 8% = 120 errors a month. If he only reviews one in five, he checks 300 emails, and 300 × 8% = 24 errors are caught. The other 120 − 24 = 96 errors still go out. Sampling is fine for routine, low-stakes work, but it does not rescue a tool that fails the pass mark. Gearóid asks the supplier how to fix the delivery-time errors, then retests before switching it on.

How do you review AI output in daily use?

  • Review every output that goes to a customer, a regulator or into a contract. A person reads it first. No exceptions.
  • Sample the routine work. Checking one item in five is a fair starting point; raise it if errors appear.
  • Log each error: what went wrong, how serious it was and who fixed it.
  • Read the log monthly. It shows whether the tool is getting better or worse.

For numbers, dates and legal or tax rules, check against a reliable source every time. Our post on how to check AI suggestions in bookkeeping shows the method on real entries, and an AI policy for your staff sets out who is responsible for checking.

When should you stop using the tool?

Write a stop rule before you launch, so nobody has to argue about it later. Pause the tool when any of these happens.

  • A serious error reaches a customer.
  • The error rate rises above the pass mark you agreed.
  • The version, the data or the way you use the tool has changed and it has not been retested.

A stop rule turns a vague worry into a clear decision, and it protects you if a customer ever asks what you did about known errors. Where the output involves personal data, the accuracy duty in GDPR applies as well: see using AI with personal data.

Is your data good enough for the tool?

Many AI errors are data errors in disguise. If the records behind a tool are wrong, it will deliver wrong answers quickly and with confidence. Before go-live, check the data it will use against six tests: accurate, complete, current, consistent, owned by a named person, and allowed to be used for this purpose. Set a target, such as at most 5% of records faulty, because a number ends the argument about whether data is good enough.

Example: a shop has 5,000 customer records. Odhrán samples 400 and finds 60 faulty (duplicates, missing phone numbers, old addresses). 60 ÷ 400 = 15%, which is three times the 5% target. Across 5,000 records, 15% is 750 faulty records; the target allows 250. That leaves 500 to fix. At 3 minutes each, 500 × 3 = 1,500 minutes, or 25 hours of work. Plan that clean-up, and who owns it, before go-live. Fix the records where they are created, not in a copy of them, or the faults come straight back.

Key points

  • Hallucinations are confident and untrue; you cannot remove them, only manage them.
  • Test on 50 to 100 real cases, score them, and set the pass mark first.
  • Review everything customer-facing, sample the rest and log every error.
  • Write a stop rule, and retest after any change.
  • Check the data before the tool goes live.

The Strategic Management programme shows you how to build these checks into how your business runs, so you decide when an AI tool is good enough rather than relying on a demo.

Questions people ask

What is an AI hallucination?
An AI hallucination is an output that sounds confident but is untrue, such as an invented fact, a reference that does not exist or a wrong figure. It happens because text tools predict likely words rather than checking facts.
How can I test whether an AI tool is accurate enough to use?
Collect 50 to 100 real cases where you know the right answer, run them through the tool and score each as right, slightly wrong or seriously wrong. Set your pass mark in advance and retest after any change to the tool or data.
Do I need to check every AI output?
Check every output that goes to a customer, a regulator or into a contract. For routine internal work you can sample, for example one in five, and raise the rate if you find errors. Sampling will not fix a tool that fails its pass mark.
When should I stop using an AI tool?
Agree a stop rule before launch. Pause the tool when a serious error reaches a customer, when the error rate rises above your pass mark, or when the tool, data or use has changed and has not been retested.

Know someone this would help? Share it.

AI hallucinations: how to quality check what AI produces | ManageTax