# When the AI says "I don't know"

Turning an LLM's unknowns into questions users can answer in seconds.

## The problem

Datamaran tells companies which regulations apply to them. For every pair of company and regulation, the platform returns **Likely**, **Unlikely** or **Uncertain**.

Uncertain is where it broke down. The verdict came from a scope condition the AI couldn't judge, and the only thing the user could see was the condition itself, written as law:

> *"Any entity (company, state enterprise or other legal person) that is an applicant or prospective applicant for approval of a plan of work for exploration for cobalt-rich ferromanganese crusts in the Area under the ISA Regulations… This applies to applications made during the one-year period following adoption of the decision on 26 July 2012."*

To act on that, a compliance lead had to parse 70 words to work out which single fact about their company was missing. And even if they did, there was nowhere to put the answer. The verdict stayed Uncertain for good.

Compliance doesn't have a third answer. A regulation applies to a company or it doesn't. Uncertain wasn't a verdict; it was the system saying it didn't have one, with no way for the user to give it what was missing.

## My role

**Senior Product Designer** — I owned the end-to-end UX of AI determinations in Applicability Assessment: the AI indicator, the met / not met explanations, the audit trail, and the flow for filling missing data. I worked with product and engineering on scope, and with the team building the decision pipeline to make sure the interface matched what the model actually returns.

For GA we set three requirements:

1. **Determinations users can trust.** Mostly a logic and data quality problem. My part was understanding the model well enough that the interface showed how it really worked, not a tidier version of it.
2. **A clear explanation of each determination.** Every verdict shows the met / not met reasoning, the regulation's scope statement and the AI's reasoning.
3. **A way for users to supply missing information**, as yes/no prompts on LLM-checked criteria.

This case study is mostly about the third. My job was to work out what it meant against the real system, and design it.

## Reading the pipeline before drawing anything

The requirement said what to build. The pipeline spec showed why it didn't exist yet, so that's where I started.

A verdict is made in two stages:

1. **Rules** compare geography, industry and activity. If any rule fails, the verdict is Unlikely and final. If profile data is missing, the system opens a *data gap* and asks the client to fill it.
2. **An LLM** reviews everything else (size, entity type, thresholds, exemptions) against the regulation's scope statements, one call per company–regulation pair.

Four facts about the model's output shaped every decision that followed:

- The LLM returns a status per statement: `met`, `not_met` or `unknown`. No verdict and no reasoning.
- Any field missing from the company profile comes back `unknown`, never `not_met`.
- One `unknown` statement, with nothing `not_met`, keeps the whole pair Uncertain.
- Unknown LLM statements **did not open a data gap**. The client was never asked.

That last line explained why the requirement was needed. The system already knew how to ask users for missing data, but only for the rules. Everything the AI couldn't decide had no route back to a person, so the existing gap-fill flow couldn't simply be reused. The interface couldn't fix that on its own; the fix was a path through the system, and a design for what sits at the end of it.

## The entry point: an action on the row

Users review applicability in a list of regulations, grouped by regulation and expanded by entity. That's where the uncertainty had to show up.

**The flag rolls up.** A regulation shows how many of its entities need input (*⚠ 1 entity*), so a collapsed list still says where to look.

**The action is on the row.** On the entity, the Uncertain dot becomes a **Needs input** button, so the state and the next step are one element. It opens the drawer where the answering happens, without leaving the list.

## One plain question per statement

Inside the drawer, the Criteria panel now splits into three groups, in order of what needs attention: **Missing information**, **Not met**, **Met**. Missing information sits first because it's the only group the user can act on.

Each unknown statement is rewritten by the LLM as one short question about the company, answered with **Yes** or **No**:

| Scope statement (source) | Question shown |
| --- | --- |
| Applicant for ISA approval of a plan of work for cobalt-rich crusts… (70 words) | Is applying to explore for cobalt-rich crusts on the seabed |
| Owners and operators of public pools and spas in the US… | Owns or operates a public pool or spa in the US |

The full legal statement stays behind **Show details**, and folds away again with **Hide details**.

This pattern came out of an argument about the second requirement. The early approach put the full scope statements in front of clients by default: long, legal, and stacked one after another. I pushed against it. A compliance lead opening a verdict wants the answer first; the law is what they check when they doubt it. So the short statement is the default, and the full one is there on demand.

## _

<!-- layout:fullwidth bg-soft-grey container-xl -->

![Show details expanded under a question, revealing the full legal scope statement](/img/projects/datamaran/uncertainty-details.png)

*The question is a summary. The legal statement is still the source, one click away.*

## _

**Ask about facts the user knows.** "Is applying to…" asks about the company. "Requires…" would ask them to interpret law, which is the job the product is supposed to do for them.

**The answer feeds the logic that already exists.** Yes becomes `met`, No becomes `not_met`, and the same aggregation rule recalculates the verdict. No new decision logic, so the engineering risk stayed low and the result is predictable.

**The AI label stays on.** The verdict keeps its AI indicator until a person changes it, and every answer lands in the audit trail.

## Designing for a summary that can be wrong

The short question is generated, so it can be wrong. Treating it as copy would have hidden that. I designed around it:

- **The rewrite is constrained.** One fact, one question, no added conditions. A question that needs "and" is two questions.
- **The source is always reachable.** If the summary drifts from the law, a user can catch it without leaving the card.
- **Questions are stored against the statement ID.** If the regulation is re-extracted, the user's answer doesn't silently attach to different wording.

## Testing with clients before it shipped

We validated the design in a pilot. In Phase 1 I ran eight prototype interviews: five with existing clients and three with prospects, across food, manufacturing, retail, technology, automotive and engineering. Then we tested the flow again with real model outputs, not prototype data, before GA.

The interviews confirmed the shape: questions about the company, not about the law, with the source one click away. The real outputs showed something the prototype couldn't.

## What real output revealed: the question tax

Per-regulation questions work for one regulation. Clients use the product across many.

Once it ran on real output, the numbers were clear: an Uncertain verdict carries about four unknown statements for the user to answer. In GA testing, one tester had dozens of Uncertain results to work through, one regulation at a time.

One entity is assessed against hundreds of regulations, and many unknown statements ask about the same fact in different legal words:

- "more than 250 employees" · "average headcount above 250" · "large undertaking as defined in…"
- "places medicinal products on the market" · "manufacturer or importer of medicines" · "marketing authorisation holder"

With per-regulation questions, the user answers the same thing again and again. Each card is small, about four questions, but the total grows with every regulation in scope. That's a lot of repeated work to hand to people who came to the product to save time.

## Where it landed

The per-regulation questions shipped with GA. These are the numbers we'll track to know whether they work:

| Metric | What it tells us |
| --- | --- |
| % of Uncertain verdicts resolved by users | Is uncertainty actionable? |
| Verdicts resolved per answer | How much each question is worth |
| Time to clear an entity's gaps | Effort per company |
| Show details open rate | Are the short questions clear on their own? |
| Verdicts changed by an admin after a user answer | Is the question-to-statement mapping right? |

## What I learned

Four questions on one card looks like nothing. The cost only showed in real output, where the same facts came back regulation after regulation, and one tester faced dozens of them. Eight prototype interviews didn't surface it; prototype data is too tidy. The unit of effort was the company, not the card, and that only became visible once the questions ran on real data.

The most valuable part of this work wasn't visual. It was reading the pipeline closely enough to understand why `unknown` had no way back to a person, and then designing that way back.

Next, I'd order questions by how many verdicts they resolve, and ask the key questions before the first run so fewer verdicts start as Uncertain at all.
