AI Interviews · Question

Build an assistant over a bank's internal policies, end to end. How do you know it is good enough to roll out to the next team?

ML / LLM system design question reported at OpenAI (2026). Sources, confidence and an answer card.

Researched · updated

eng-034 AI Engineer Evaluation ML / LLM system design Low confidence
On this page

What they’re really asking

If you only remember one thing, say this in the first minute: “I’d build the assistant so it answers only from the current policy and cites the passage, and says ‘the policies don’t cover this’ when they don’t. Before expanding, I’d agree a written bar with the next team: a correct-answer rate on their own questions, judged by the low end of its error bar, zero answers that quote an old policy or leak a document they can’t see, and two weeks of clean live signals. Then I’d roll out team by team behind a flag. At 600 questions a day, the offline test set and a policy owner’s weekly review are the real measurement; the live numbers are a smoke alarm.”

The rest of this page explains each part of that answer.

The interviewer is asking whether you can turn “is it good enough?” into three concrete things: a bar agreed before you measure, a set of checks that can actually fail, and a rollout that limits the damage if you are wrong.

What makes this different from shipping a normal internal tool

For a normal internal tool, “good enough to expand” means it doesn’t crash and people use it. You can test it exactly: given this input, return that output.

An assistant built on a large language model (LLM) is different in three ways:

  1. Its answers vary. The same question can get a slightly different answer each time, so one test run proves little.
  2. “Correct” needs judging. Two differently worded answers can both be right. You need a way to grade meaning, not strings.
  3. Its scores are estimates. “85% correct on 50 questions” could really be anywhere from about 75% to 95%. The error bar is part of the answer.

The bank adds two things a generic chatbot answer misses. Answers must cite the current policy, because policies get revised and an old one can be confidently wrong. And the next team’s documents may carry different permissions, so the assistant must never show a team a document it isn’t allowed to read.

This question is an OpenAI forward-deployed prep guide’s representative question, not a candidate report (theforwarddeployed.iosecondary). (A forward-deployed engineer builds AI features alongside a customer’s own team.) The same guide says the reliable differentiator is a concrete answer to how you know the system works.

Words you need first

  • RAG (retrieval-augmented generation): the assistant first searches the policy documents for relevant passages, then the model writes an answer from those passages. It’s a search step followed by a writing step.
  • Golden set: a fixed list of real questions (called items), each with what a good answer must contain. It is the assistant’s test suite.
  • Failure mode: a named, recurring kind of wrong answer, such as “cited an old policy version”.
  • LLM judge: a second model call that grades an answer against one written rule, returning pass or fail.
  • Confidence interval: the error bar on a score, written as a range. “90% ± 4.8 points” means the true rate is probably between about 85% and 95%.

Clarify first

Ask these, and say your assumptions out loud:

  • Who uses it, and for what? “Let’s assume branch and operations staff checking procedures, about 600 questions a day.” (assumption)
  • What does a wrong answer cost? “I’ll treat quoting a replaced policy as a must-not-happen failure.”
  • Who can label answers? “I’ll assume one policy owner per area who can say whether an answer is right.”
  • What does the next team need that the first didn’t? New documents, new permissions, new kinds of question.
  • What do people do today? “If they email the policy team now, that’s the baseline the assistant must beat.”

Answer

The system, and where the checks sit

Employee question
   │  1. who is asking? (their entitlements)
   ▼
Search policy index ── only documents this user may read,
   │                    only the current version of each policy
   │  2. top passages
   ▼
Model writes answer ── must cite passage + version,
   │                    or say "the policies don't cover this, ask the policy team"
   ▼
Answer shown, and logged as a trace (question, passages, answer)
   │
   └──► weekly review by the policy owner ──► new test items

Search with permissions. The search step filters by the user’s entitlements before anything reaches the model. A permission leak is a search bug, so fix it there, not in the prompt.

Versions in the index. Each passage carries its document version and effective date. That lets a code check confirm the citation points to the version in force today.

An explicit “not covered” path. If the policies don’t answer the question, the right output is to say so and point to the policy team. Without that path, uncovered questions get confident made-up answers.

Traces. Every question, the passages found and the answer are logged. A trace is that full record of one request. It’s what you read when something goes wrong.

Define good before measuring

With the first team, read 100 real questions and answers. Write down the failure modes you see: wrong answer, stale version cited, a claim the passage doesn’t support, should have said “not covered”, missed the question. Then build a golden set of 200–300 items, each linked to where it came from.

Grade with the cheapest thing that works:

  • Code checks where possible: does the citation exist, and is it the current version?
  • One pass/fail LLM judge per open-ended failure mode, such as “does the passage support the claim?”. Each judge is checked against the policy owner’s labels before you trust it.

Follow the expansion decision

Here is the decision for the next team, step by step. The numbers are assumptions except where the box below works them out.

StepWhat happensWhat to say in the interview
1. Agree the barThe next team’s owner signs a written bar before any measurement.”We agree what ‘good enough’ means before we see the number, so nobody moves the goalposts.”
2. Collect their questions150 real questions from the next team, gathered before they get access.”Their questions, not ours: their documents and their wording.”
3. Run the suiteThe 150 items plus the must-pass items run against the current version.”Must-pass items are stale versions and permission leaks. One failure blocks.”
4. Read the scoreSay 90% correct. The error bar is ± 4.8 points.”90% on 150 questions supports a bar of about 85%, not 90%.“
5. Check abstentionQuestions the policies don’t cover must get “not covered”.”A confident answer to an uncovered question is a failure, even if it sounds right.”
6. Roll outBehind a per-user flag, for two weeks.”Live signals catch crashes, leaks and cost spikes. They can’t measure a 3-point change at this volume.”
7. WatchThumbs-down rate, escalations to the policy team, 30 answers a week reviewed by the policy owner.”The weekly human review is my main live measure.”
8. LearnEvery escaped failure becomes a regression item.”Every mistake we find becomes a permanent test.”

So the written bar looks like this:

  • correct-answer rate on their own 150 questions, judged by the lower end of its 95% interval, not the middle;
  • zero must-pass failures (stale versions, permission leaks);
  • correct “not covered” answers on uncovered questions;
  • two weeks of live signals within limits: thumbs-down rate, escalations to the policy team, and the weekly review of 30 answers.

Why not run an A/B test? At 600 questions a day, an A/B test needs about two weeks to see a 3-point change. So the offline test set and the human sample are the measurement, and the live phase is a smoke alarm.

The arithmetic behind the numbers (for a Staff-level follow-up)
How precise is a pass rate on their questions?
half_width ≈ 1.96 × √(p × (1 − p) ÷ n)
p
observed correct-answer rate
n
questions in the set
Worked example

p = 0.9, n = 150: ±4.8 points, so a 90% result supports a bar of about 85%, not 90%

  • A/B test duration: 600 questions a day split 50/50 is 300 per group a day. Catching a 3-point change in a 60% rate with 80% power needs about 4,180 per group, so about 14 days (the family walkthrough’s canary formula).

Senior vs Staff

Expansion decision

Senior

  • Builds the golden set from real questions, grades with code checks and a judge checked against the policy owner's labels, and reports the result with an interval.

Staff

  • Gets the bar signed by the next team's owner before measuring, names what the suite cannot detect at its size, and checks permissions as a release blocker.

Small-team version

You are likely the only engineer on this. Here is what to do with your time and money:

  • Build the test suite and the gate yourself: a few hundred lines plus a CI job.
  • Reuse whatever tracing you already have.
  • Borrow a policy owner for about 10 hours of labelling.

A full suite run costs roughly $13 at list prices fetched 2026-10-11 (the family walkthrough’s cost math: 200 items × 3 runs on Claude Sonnet 5 plus two Claude Haiku 4.5 judges). The labelling time is the real cost, not the tokens.

Revisit when a third team joins or audit requirements appear.

Pitfalls

  • Expanding on a demo and a thumbs-up rate. A demo shows the questions you picked, and thumbs come from the few users who click.
  • Reporting 90% on 50 questions as exact. At 90% on 50 questions the error bar is roughly 8 points either way.
  • Forgetting the next team’s permissions and documents. A permission leak is a release blocker, not a quality metric.
  • No “not covered” path. Without it, uncovered questions get confident answers that sound official.

Go deeper

Family