Case brief
Understand the scenario, task, and constraints.
Three open prompts with no hidden right answer
This case gives you three short customer requests. A city wants faster 911 emergency response. A bank wants one fraud-detection capability out of three systems it acquired. A hospital network wants fewer medication errors after surgery. None of them names a model, and none has a hidden right architecture. Each one tests whether you pin down the mission before you draw anything.
The prompts are worth reading exactly as an interviewer would say them, because the wording carries the constraints.
The three prompts and what each one tests.
| Case | Prompt | What it tests |
|---|---|---|
| 911 response | "A major city wants to reduce 911 emergency response times. They have call data, traffic sensor data, and ambulance GPS data. You have 60 minutes. Go." | Mission clarification (response time vs. cost vs. equity of coverage), input mapping, sequencing by risk |
| Bank fraud | "A regional bank wants to unify fraud detection across three legacy systems acquired through M&A. None of the data is labelled consistently. How do you scope the first 90 days?" | Data quality realism, phased scoping, regulatory constraints |
| Medication errors | "A hospital network wants to reduce medication errors in post-surgery care. They have patient records, pharmacy dispensing logs, and nurse assignment schedules. Where do you start?" | High-stakes HITL (human in the loop) design, safety-first decomposition |
The hard constraint is the clock. You have to commit to a plan early enough to show progress, and late enough that the mission, not the model, has chosen it. The round fails two kinds of answer: those that start with architecture, and those that hand-wave evaluation.
The case teaches one six-step method on a sixty-minute clock, then runs it on all three prompts. Define the mission, name the owners, map every input with its owner and quality risk, order the workstreams by the unknown most likely to kill the project, build a walking skeleton, and re-plan live when the interviewer changes a constraint. The figure shows that chain.
The core idea fits in one sentence: define the mission and map the inputs before any model, and let the riskiest unknown set the order of work. In all three cases the riskiest unknown turns out to be the data, and the language model is never the core of the design.
A few terms recur. A walking skeleton is the thinnest version of the system that runs end to end on real data, even if the model inside it is mocked. A north-star metric is the one number the customer agrees success should move. A guardrail metric is a number that must not get worse while the north star improves, because it catches harm the headline hides. Shadow mode means a new model scores live inputs without its output changing any decision, so it can be compared with the current process at no risk.
Every number is an assumption. The source supplies the three prompts, a six-step framework and a set of follow-up probes, but no worked answer. Each case section works one answer through the framework, and every number in it (an 8-minute target, a 90-day plan split into phases, three months of orders) is an assumption to state aloud, not a sourced fact. Domain facts, such as card dispute windows or clinical practice, are general knowledge and are marked where they appear. The clinical examples describe a design exercise, not instructions for patient care.
What the round scores and what you need to do
The decomposition round runs 45 to 60 minutes on a vague enterprise problem. Your task is to break it into users, data, workflows, constraints and a prioritised first version (V1), out loud and together with the interviewer. There is no correct answer. The interviewer watches how you choose a path when none is given.
Two failure modes eliminate many candidates. The first is jumping to architecture before clarifying scope. One OpenAI FDE (Forward Deployed Engineer, an engineer who sits with the customer and ships a working system in their environment) candidate reported being stopped mid-design and asked, "What questions would you ask the customer before designing anything?" The second is hand-waving evaluation. "How do you know your AI system is actually working well?" is asked on purpose, to separate candidates.
The scoring rewards narration. A polished answer delivered in silence scores worse than messy thinking that is well narrated, because a reasoning step the interviewer cannot hear cannot be scored. So think aloud continuously, and tie every choice to how it would be evaluated. Every one of these prompts puts the business goal first, the data second and the model last. None of the three asks which model to use.
This case is for engineers preparing for Forward Deployed, solutions or applied-AI engineering interviews, especially a problem decomposition or case study round with an open, non-technical prompt. It needs no deep technical background. It builds on two other cases and names their ideas rather than repeating them: the scoping mechanics come from Scoping to Deployed Agent, and the evaluation-first habit comes from Logistics Exception Handling.
By the end you should be able to run the six-step method on any open prompt within sixty minutes, decompose the 911, bank fraud and medication error cases, open each one in two minutes, and answer the follow-up probes and the cost pivot.
To use it well, read the Design walkthrough for the method first. Before each deep dive, run the six steps on that prompt yourself, then compare your answer with the worked one. Practise the two-minute openers in Practice aloud, with a timer. Come back to the level calibration and the Quick review the night before the interview.
Next: build the answer in interview order.
Start the walkthroughDesign walkthrough
Follow the reasoning from discovery to delivery.
1. Run six steps on a sixty-minute clock
The framework has six steps. The table fits them to a 60-minute round and names what you should leave on the board at the end of each one, so the interviewer can see progress even when the problem is still open.
| Minutes | Step | Output to leave on the board |
|---|---|---|
| 0-5 | Clarify the mission. "Are we optimising for response time, cost, accuracy, or equity of coverage? Who's the primary user?" | One sentence naming the objective, and the objectives it trades against |
| 5-10 | Stakeholders and success metrics. "Who calls this a success, and which number moves?" | A named owner per metric, and one north-star number |
| 10-20 | Map the inputs. "What data exists, what shape, who owns it, how fresh?" | The input-map table from section 3 |
| 20-30 | Decompose into workstreams, sequence by risk. Data ingestion and quality, the agent or model layer, the operator-facing surface | Three to five workstreams, ordered, with the ordering justified |
| 30-45 | Walking-skeleton MVP, then iterate. Ship the thinnest end-to-end version, even with mocked agent logic | A first slice, its architecture, and its evaluation |
| 45-60 | Adapt live. The interviewer changes a constraint mid-round | A re-derived plan, with no defence of the old one |
The last row matters more than its fifteen minutes suggest. The canonical curveball is "you lost access to the GPS feed." The right response is to re-derive the plan from the steps, not to defend the old one, and that moment is where adaptability is scored. When the customer will not confirm an assumption, state it and move on; the assumption is now part of the plan and can be revisited.
One opener works for all three cases. A spoken version:
"Before proposing a solution, I'd like to clarify the business outcome, primary user, current workflow, constraints, and how success will be measured."
Set yourself a floor for each case: five clarifying questions, three to five workstreams, three measurable success metrics, two major trade-offs, three failure modes and a phased plan. Each deep dive below meets that floor. The floor is a preparation aid, not a licence to fill time with generic questions; a clarifying question earns its place when its answer would change the plan.
2. Clarify the mission and its hidden conflict
Each prompt names one goal, and each goal hides several objectives that pull against each other. "Reduce response time" hides response time, cost and equity of coverage: a citywide average can fall while the slowest neighbourhoods get slower. "Unify fraud detection" can mean a single investigator queue, one shared rule set or one new model, and only the first honestly fits in 90 days. "Reduce medication errors" first raises what the system may do at all, and the only answer that survives a hospital's review is narrow: flag risk for a clinician, never change an order.
So the first five minutes produce one sentence that names the objective and the objectives it trades against. The next five name an owner for each metric and one north-star number, with guardrail metrics beside it. A headline can improve while harm grows elsewhere. Faster average ambulance response can leave the worst district behind. More fraud caught can mean more legitimate customers declined. More safety alerts can overwhelm the nurses they should help. Each guardrail is chosen to expose exactly that trade.
3. Map every input before naming a model
You cannot choose a model before you know the data that feeds it. The input map forces this, and its first columns are shape, owner and freshness. Data-oriented thinking is where an FDE candidate stands out, so this table deserves real time on the board.
The template adds two columns to the usual three. "What it can answer" ties each source to the decision it supports. "Quality risk" asks what could make the source lie: gaps, drift, label noise or bias.
The input-map template used in all three cases.
| Source | Shape | Owner | Freshness | What it can answer | Quality risk |
|---|---|---|---|---|---|
| name | events, rows, files, free text | the team who can fix it | seconds, hours, days | the question it supports | gaps, drift, label noise, bias |
The owner column is there for a reason: a quality problem without an owner stays a quality problem, because no one is able to fix it. Watch the quality-risk column most closely. The interviewer's first curveball usually lands there, and in all three cases below it is where the plan turns: traffic sensors that are thinnest where equity is judged, fraud labels that mean three different things, and dispensing logs that do not show what was actually administered.
4. Sequence workstreams by risk, then build a walking skeleton
The usual three workstreams are data ingestion and quality, the model layer, and the operator-facing surface. Order them by risk and say why. The source's author notes from experience that the interesting workstream is rarely the riskiest one.
To find the order, ask which unknown, if it turns out badly, kills the project. That unknown goes first, because every later workstream inherits its answer. In all three cases the answer is the data, not the model: where the 911 minutes actually go, whether one consistent fraud label can exist, and whether the hospital's records show administered doses at all.
Then build the walking skeleton, the thinnest end-to-end version, even with mocked agent logic. Its job is to prove the integration story: that real data can flow from source to the person who acts on it. A mocked model with real data flowing end to end teaches more than a clever model on a spreadsheet, because the joins, owners and access problems surface early.
The Scoping to Deployed Agent case carries the matching delivery mechanics: stage gates, named sign-off authorities, and refusing to start without measurable success criteria. Use its gate vocabulary when the interviewer asks how a phase ends. The fraud plan below is the clearest example, with an exit gate and a named signer for every phase.
5. Evaluate in stages, keep the baseline, re-plan live
The three deep dives share one evaluation ladder. Backtest on history first, then run in shadow, then pilot against a matched comparison before expanding. Hold out a labelled set that the model never trains on. Log every recommendation with its reason, and every accept or override with the human's reason. A cluster of overrides shows where the system is wrong. Falling override rates on cases later confirmed correct are the evidence for widening automation, and the owners named in step 2 decide when that happens.
Each design also keeps the existing process as the primary path: the dispatcher's standard view, the bank's legacy fraud rules and the pharmacy's order-time checks all stay live. The new system adds a check, so an outage removes the addition and never the baseline.
When an input disappears, re-derive what can still be measured, say plainly what coverage is lost, and shrink the pilot to match. Each deep dive ends with its own curveball worked this way.
Technical deep dives
Examine mechanisms, alternatives, and operational consequences.
911 response: define "faster" before touching the data
Numbers in this section are assumptions, stated aloud as you would in the round.
Clarify the mission
"Reduce response time" hides three objectives that pull apart: response time, cost and equity of coverage. A citywide average can fall while the slowest neighbourhoods get slower. Name that trap first, then ask the questions whose answers change the plan.
911 discovery questions, assumed answers and what each changes.
| Ask | Assumed answer | Implication |
|---|---|---|
| Which interval counts: call answered, dispatched, or on scene? | Call received to unit on scene, split into its segments | Decompose the interval before optimising it |
| Is the target an average or a percentile? | 90th percentile for the highest-priority calls, assumed at 8 minutes | Optimise the tail, not the mean |
| Must every district meet it, or only the city? | Every district, and the city reports by district | Equity becomes a hard constraint |
| Can we add units or stations? | No new budget in year one | The levers are placement and dispatch, not headcount |
| Who acts on a recommendation? | The dispatcher, who keeps final authority | The system recommends; a human dispatches |
The last row is the safety boundary. An algorithm that dispatches ambulances without a human is out of scope for a first version.
Name stakeholders and metrics
The dispatcher uses the output. The EMS (emergency medical services) operations chief owns unit placement. The city council answers for equity. Residents feel the result.
The north-star metric is 90th-percentile time to scene for priority-one calls, reported by district. A 90th percentile is the time within which nine calls in ten are reached, so it tracks the slow tail rather than the typical call. Three guardrail metrics sit beside it: the worst district's 90th percentile (must not rise), unit utilisation (must not burn crews out), and calls left uncovered during peaks.
Map the inputs
The three feeds in the prompt each answer a different question and each can mislead in a different way.
911 inputs, owners and quality risks.
| Source | Shape | Owner | Freshness | What it can answer | Quality risk |
|---|---|---|---|---|---|
| Call data (computer-aided dispatch log) | One row per call with timestamps per stage | 911 centre | Real time | Where the minutes go: answer, triage, dispatch, travel | Timestamps entered by hand under pressure; priority recoded later |
| Traffic sensors | Speed and volume per road segment | Transport department | Seconds to minutes | Travel-time estimates by time of day | Sensor gaps in outer districts, the very places equity is judged |
| Ambulance GPS | Position pings per unit | EMS fleet | Every few seconds | Actual routes, actual travel times, unit availability | Dropped pings in tunnels; units left "available" when they are not |
The quality risks shape the plan. In this scenario traffic sensors are thinnest in the outer districts, which is exactly where the equity constraint bites hardest. So the ambulance GPS feed, which records real travel, is the stronger ground truth for travel time, and the plan leans on it.
Sequence by risk
Decompose the interval first, because no one yet knows where the minutes go. Time to scene has four segments: answering the call, triage (deciding priority), dispatch (choosing and sending a unit) and travel. If most of the delay sits in call triage, routing optimisation is the wrong project.
911 workstreams in risk order.
| Order | Workstream | Why here |
|---|---|---|
| 1 | Join call records to GPS tracks and segment every call's interval | Every later choice depends on which segment is slow |
| 2 | Descriptive baseline by district and hour | Makes the equity gap visible before anything changes |
| 3 | Pick one lever from the baseline: triage, dispatch choice, or unit pre-positioning | The data chooses the lever, not the team's preference |
| 4 | Dispatcher-facing recommendation surface | Adoption risk is real, but only after the lever is right |
Build the first slice
The first slice is a report, not a model. Segment every priority-one call from the last year into answer, triage, dispatch and travel time, and show it by district and hour. Assume the result shows that travel dominates in two outer districts at night. The second slice is then a pre-positioning recommendation: where idle units should wait, by hour, to cover those districts.
The model comes last, and it is mostly not machine learning. Travel-time estimation is a regression over GPS history. Pre-positioning is a coverage optimisation, a classic operations-research problem: choose waiting points so that as many likely call locations as possible are within the target time. A unit already on a call covers nothing, so the optimiser has to model how often each unit is busy at that hour; a plan that assumes every unit is free overstates coverage exactly at the peaks that matter. A language model has one sensible role, summarising free-text call notes to speed triage, and only if the segment analysis says triage is slow.
Draw the architecture
The first figure follows one call's data from the three feeds to an accepted or overridden recommendation. Call logs, GPS and traffic data are joined by call ID, unit and time; each call's interval is segmented; a baseline dashboard shows the result by district and hour. The travel-time model feeds an hourly idle-unit coverage optimiser, whose recommendation and reason reach the dispatcher, who accepts or overrides it with a log entry. The outcome log feeds equity and tail metrics, then review.
The second figure shows the same system as components. Note the loop at the right: the tail and equity metrics computed from the outcome log feed back into the coverage optimiser, so district results constrain the next recommendation. The table after it says what each component does and why it exists.
911 architecture components.
| Component | Job | Why it exists |
|---|---|---|
| Ingest and join | Link each call to the unit that responded and its GPS track | Without the join, no interval can be segmented |
| Interval segmentation | Split time to scene into its four segments | Chooses the lever |
| Travel-time model | Predict drive time by origin, destination and hour | Feeds the optimiser with realistic times |
| Coverage optimiser | Recommend where idle units should wait | The lever for travel-dominated districts |
| Dispatcher console | Show the recommendation and its reason | Keeps authority with the dispatcher |
| Outcome log | Record every accept and override | The evaluation data, and the audit trail |
Evaluate before anyone asks
Backtest the optimiser on last year's calls first: replay history with the recommended unit positions and estimate time to scene. The replay has to re-simulate unit availability call by call, because moving one unit changes which units are free for every later call; recomputing each call's travel time in isolation overstates the gain. Then pilot in one district at night, with a matched district as the comparison.
Two checks gate expansion. The target district's 90th percentile must improve. No other district's 90th percentile may worsen, because moving units toward one area uncovers another. Track the dispatcher override rate too. A high override rate means dispatchers either think the model is wrong or do not trust it, and either one needs an answer before the pilot grows.
Name the failure modes
911 failure modes, consequences and controls.
| Failure | Consequence | Control |
|---|---|---|
| The average improves while outer districts worsen | Equity harm hidden by a good headline | District-level 90th percentile as a guardrail metric |
| GPS marks a busy unit as available | The optimiser counts a unit that cannot respond | Reconcile GPS status with dispatch status; stale status fails closed |
| Pre-positioning exhausts crews | Fatigue, then slower responses | Utilisation cap as an optimiser constraint |
| Recommendation outage during a major incident | Dispatchers lose a tool they came to rely on | Console degrades to the standard dispatch view; no call waits on the model |
"Fails closed" in the second row means that when GPS status is stale, the optimiser treats the unit as unavailable rather than counting on it.
Adapt when the GPS feed disappears
This is the canonical curveball. Without GPS, live positions, new travel tracks and live unit availability are gone. GPS history already collected still trains the travel-time model, so time-of-day estimates survive; what degrades is knowing where each unit is now, which falls back to its station or last logged location. Re-derive: fall back to traffic-sensor travel estimates, and take availability from the dispatch log's status codes.
Then say what degraded. Outer-district estimates get worse, because sensors are thinnest there. So the equity guardrail needs wider error bars, and the pilot should stay in a sensor-rich district until GPS returns.
Bank fraud: scope fraud unification in ninety days
Numbers in this section are assumptions.
Clarify the mission
"Unify fraud detection" can mean three different projects: a single case queue for investigators, one shared set of rules, or one new model. They carry different risk, and only the first honestly fits in 90 days.
Fraud discovery questions, assumed answers and what each changes.
| Ask | Assumed answer | Implication |
|---|---|---|
| What hurts today: losses, investigator workload, or customer friction? | Investigators work three queues and miss cross-system fraud | Unify the view and the entity first |
| Which fraud types matter most? | Card fraud and account takeover | Scope the first model to one type |
| What does the regulator expect before a model changes decisions? | Model risk review with documented validation | Plan a validation phase inside the 90 days |
| Can legacy systems be switched off? | No; all three stay live through the period | Run beside them, in shadow |
| Who owns "confirmed fraud"? | Each legacy team, each with its own definition | Label reconciliation is its own workstream |
Name stakeholders and metrics
The fraud investigators use the output. The head of fraud owns losses. Model risk and compliance approve anything that changes a decision; model risk is the bank function that independently validates a model before it may affect customers. Customers feel false positives as declined cards.
The north-star metric is fraud losses caught per investigator hour. Guardrails sit beside it: false-positive rate on legitimate customers, alert volume per investigator, and time to decision.
Map the inputs
Fraud inputs, owners and quality risks.
| Source | Shape | Owner | Freshness | What it can answer | Quality risk |
|---|---|---|---|---|---|
| Legacy system A: transactions and alerts | Rows, one schema | Team A | Near real time | Its own alerts and outcomes | Its "fraud" label includes chargebacks later found legitimate |
| Legacy system B | Rows, a second schema | Team B | Hourly batch | Its alerts and outcomes | Unlabelled cases mean "not investigated," not "not fraud" |
| Legacy system C | Nightly files | Team C | Daily | Its alerts and outcomes | Customer identifiers differ from A and B |
| Investigator case notes | Free text | All three teams | On case close | Why a case was confirmed or cleared | Inconsistent wording; the richest signal, the least structured |
| Chargebacks and customer disputes | Events | Card operations | Weeks to months (card dispute windows often run to about 120 days) | Late but independent ground truth | Arrives long after the transaction |
The 120-day dispute window in the last row is general knowledge about card schemes, not a sourced figure.
The prompt's hardest constraint sits in this table. "None of the data is labelled consistently" has two layers. The definitions of fraud differ between systems: A's label includes chargebacks later found legitimate. And a missing label means something different in each: in B an unlabelled case was never investigated, not cleared. A model trained on the union of the three would learn three definitions of fraud at once.
Plan the ninety days
Sequence by risk. The riskiest unknown is whether one consistent label can exist at all, so the label workstream starts on day one, beside entity resolution. Entity resolution is the work of deciding which customers, cards and devices in A, B and C are the same real-world entity, since the three systems identify customers differently.
The ninety-day plan, with an exit gate and a signer for each phase.
| Days | Phase | Exit gate | Signed by |
|---|---|---|---|
| 1-15 | Discover. Data access, profiling per system, one written definition of confirmed fraud per type | Access is live; profiling report published; draft label definition exists | Head of fraud; data owners |
| 16-40 | Unify. Entity resolution across A, B and C; relabel a stratified sample of past cases to the new definition | Match rate measured on a hand-checked sample; relabelled set reviewed by senior investigators | Senior investigators |
| 41-60 | Single queue. One investigator view across all three systems, with cross-system entity links; no new model | Investigators use the unified queue; cross-system cases now visible | Head of fraud |
| 61-80 | Shadow model. A first model on one fraud type, scoring in shadow beside legacy rules | Beats legacy rules on the relabelled holdout at the agreed false-positive rate | Model risk |
| 81-90 | Validate and decide. Model documentation, validation pack, go or no-go for a limited pilot | Model risk approval, or a documented reason to wait | Model risk; compliance |
The honest 90-day deliverable is the single queue plus a validated shadow model, not a new production model deciding on transactions. Say so early. That is the regulatory realism the round asks for. Ten days is short for an independent validation that starts cold, so bring model risk in during Discover to agree the label definition, the holdout and the validation criteria; days 81 to 90 then review evidence the validators already expect.
Choose the model last
The first value comes with no model at all. Entity resolution plus a single queue shows fraud that crosses the three systems, which none of them could see alone.
The model then follows from the labels. With a few thousand relabelled cases, a gradient-boosted classifier over transaction features is the sensible first choice, partly because model risk reviewers can follow its explanations. Graph features over the resolved entities come next, since fraud rings show up as shared devices and accounts. A language model gets one bounded role: summarising case notes for investigators, and extracting structured reasons from them to help relabelling. A human still confirms every label.
Draw the architecture
The first figure traces the data. Systems A, B and C are mapped to a common schema and resolved into entities, which feed the unified investigator queue and a feature store. Case notes produce an assistive note summary that travels with the resolved entities into the queue. On the label side, chargebacks and senior investigator review both feed label reconciliation, which produces the relabelled training set. The feature store and that training set together feed the shadow model. The shadow model for one fraud type is compared with legacy rules, and the result goes into the model-risk validation pack.
The second figure shows the same components as a system, and the table after it states each component's job.
Fraud architecture components.
| Component | Job | Why it exists |
|---|---|---|
| Ingest to one schema | Map three schemas to one | Nothing else can compare across systems |
| Entity resolution | Decide which customers, cards and devices are the same | Cross-system fraud is invisible without it |
| Label reconciliation | Apply one definition of confirmed fraud | The prompt's core problem |
| Unified investigator queue | One place to work every case | The first delivered value, with no model risk |
| Note summariser | Condense free-text case history | Speeds investigators; decides nothing |
| Shadow model | Score transactions without acting | Earns evidence before any decision changes |
| Validation pack | Document data, method, performance and limits | What model risk needs to approve a pilot |
Evaluate against a label you trust
Hold out a relabelled sample that no training run ever sees. Compare the shadow model with the legacy rules on that holdout, at a fixed false-positive rate. The claim to prove is a higher catch rate at the same customer friction. Two cautions apply. Past cases exist mostly because a legacy rule alerted on them, so a holdout drawn only from them cannot show fraud the rules missed and favours the rules; relabel a random sample of unalerted transactions as well. And because the relabelled set is stratified, reweight it to the real fraud rate before reporting a false-positive rate.
Score chargebacks separately, as a late but independent check. They arrive weeks or months after the transaction, so they validate the model rather than train it. Measure the note summariser against investigator judgement on a sample, and never use it as a label source.
Name the failure modes
Fraud failure modes, consequences and controls.
| Failure | Consequence | Control |
|---|---|---|
| Training on the raw union of three label definitions | A model that learns the labelling team, not the fraud | Train only on the reconciled label |
| Reading "unlabelled" as "legitimate" | Uninvestigated fraud becomes negative training data | Treat unlabelled as unknown; sample and relabel |
| Entity resolution merges two real customers | One customer's fraud blocks another's card | Match threshold set on a hand-checked sample; merges reviewable |
| A model changes decisions before validation | Regulatory breach | Shadow only until model risk signs |
| The summariser invents a reason | Wrong label enters training | Summaries assist; a human writes the label |
Adapt when a legacy system cannot be accessed
Assume the interviewer says system C's vendor will not release data for 60 days. Re-derive: deliver the single queue across A and B, and design entity resolution to accept C when it arrives.
Then say what that costs. Cross-system fraud touching C stays invisible, so report the queue's coverage as two of three systems and do not claim unification.
Medication errors: start at the human check
Numbers in this section are assumptions. Clinical practice named here is general knowledge, not sourced material, and real thresholds belong to the hospital's clinical governance.
Clarify the mission
This case tests safety-first decomposition, so start with what the system may do. The only answer that survives a hospital's review is narrow: flag risk for a nurse or pharmacist, never change an order.
Medication discovery questions, assumed answers and what each changes.
| Ask | Assumed answer | Implication |
|---|---|---|
| Which errors matter: wrong dose, wrong drug, wrong time, missed dose? | Missed and late doses of time-critical drugs, and wrong-dose opioids | Start with two error types, not all of them |
| How are errors recorded today? | Voluntary incident reports, known to undercount | Build a measured error rate before claiming a reduction |
| What must a clinician confirm? | Every alert is advisory; clinicians act | The system flags, a human decides |
| What alerts already exist? | Pharmacy checks at order time | Avoid duplicating them, and avoid adding noise |
| Who governs clinical decision support? | A pharmacy and therapeutics committee | It approves thresholds and rules |
Alert fatigue hides behind "safety-first." A system that fires constantly gets ignored, and the source argues that an ignored alert is worse than none, because it trains staff to dismiss the real one. So precision, the share of flags that turn out to be real, is a safety property here.
Name stakeholders and metrics
Nurses administer the drugs. Pharmacists verify orders. The chief nursing officer owns ward practice. Patient safety leads own the error measurement. Patients bear the harm.
The north-star metric is the measured rate of target errors per 1,000 doses administered after surgery. Guardrails sit beside it: alerts per nurse per shift, alert override rate, and time added to administration.
Map the inputs
Medication inputs, owners and quality risks.
| Source | Shape | Owner | Freshness | What it can answer | Quality risk |
|---|---|---|---|---|---|
| Patient records | Orders, allergies, weights, labs, notes | Clinical informatics | Minutes | What was ordered, and for whom | Weight missing or stale; free-text notes |
| Pharmacy dispensing logs | Rows per dispense | Pharmacy | Real time | What left the pharmacy, when | Dispensed is not administered |
| Nurse assignment schedules | Nurse to patient to shift | Nursing management | Per shift | Who was responsible, and their load | Swaps and float staff not updated |
The finding is the gap between the first two rows. The data shows what was ordered and what was dispensed. It may not show what was administered. If bedside barcode scanning exists, administration records close the gap. If not, the first slice has to measure errors by reconciling orders against dispensing times.
Sequence by risk
Medication workstreams in risk order.
| Order | Workstream | Why here |
|---|---|---|
| 1 | Measure: reconcile orders, dispensing and administration into a baseline error rate | Without a baseline, no reduction can be claimed |
| 2 | Find where errors cluster: drug, ward, shift, nurse load | Chooses the intervention |
| 3 | Retrospective rules, validated by pharmacists | Proves precision before anything reaches a ward |
| 4 | Advisory alerts on one ward, in shadow first | Adoption and alert fatigue are tested on real shifts |
The nurse schedule enters at step two, as context, not as a target. It answers whether errors rise with patient load or at handover. That answer should drive staffing and handover decisions, never a score for individual nurses. A tool seen as surveillance tends to lose honest incident reports, and the error measurement depends on them; the AHRQ references in References support this.
Build the first slice
The first slice is retrospective. Take three months of post-surgical orders for the target drugs. Reconcile each scheduled dose against dispensing and administration records. Flag doses that were late, missed, or outside the weight-based range. Pharmacists review a sample of flags and mark each true or false. That gives a baseline error rate and a precision figure for the rules at once, without touching a patient.
The model comes last. Rules cover the first version: dose range per kilogram for drugs dosed by weight, maximum single and daily doses for the rest, time windows for time-critical drugs, and duplicate therapy. A learned risk score comes later, ranking which patients need a pharmacist review first. A language model has one narrow role: extracting weight or allergy from free-text notes when the structured field is empty. A human confirms every extraction.
Draw the architecture
The first figure traces one dose. Patient records, the dispensing log and the nurse schedule feed reconciliation of ordered, dispensed and administered doses. Rules (dose per kg, time window, duplicate) raise an advisory risk flag. A pharmacist confirms or dismisses it. Only after a shadow period does a confirmed flag become a nurse alert on one ward, where the nurse acts or overrides with a reason. The outcome log records error rate, precision and alert load. A side path extracts weight and allergy from free-text notes, and a human confirms each extraction.
The second figure shows the components. In this view the human-confirmed extraction feeds dose reconciliation, and the pharmacist review queue writes to the outcome log directly as well as through the nurse alert, so dismissed flags are logged too. The table after it gives each one's job.
Medication architecture components.
| Component | Job | Why it exists |
|---|---|---|
| Dose reconciliation | Line up ordered, dispensed and administered per dose | Produces the baseline and the signal |
| Rules engine | Apply committee-approved checks | Explainable, auditable, fast to change |
| Pharmacist review queue | Confirm a flag before it reaches a nurse | The human check that keeps precision high |
| Nurse alert | Show a confirmed risk at the right moment | The intervention itself |
| Extractor with human confirm | Fill missing structured fields from notes | Never writes to the record unconfirmed |
| Outcome log | Record every flag, action and override | The evaluation data and the audit trail |
Evaluate for precision and harm, not accuracy
Three numbers gate the pilot. First, precision of flags, measured by pharmacist review; low precision breeds alert fatigue. Second, recall on known incidents: how many reported errors the rules would have caught. Third, the measured error rate on the pilot ward against a matched ward.
Watch alert load per nurse per shift as a hard ceiling. Read override reasons weekly. A cluster of identical overrides means a rule is wrong.
Name the failure modes
Medication failure modes, consequences and controls.
| Failure | Consequence | Control |
|---|---|---|
| Too many alerts | Nurses ignore all of them, including the real ones | Pharmacist confirmation first; per-shift alert ceiling |
| A stale weight drives a dose check | A false alarm, or a missed overdose | Weight age shown with every flag; stale weight is itself a flag |
| Dispensed read as administered | Missed doses stay invisible | Use administration records, or say plainly they are missing |
| Schedules used to rank nurses | Reporting stops; safety culture erodes | Aggregate by ward and shift only; governance rule |
| System outage | Loss of a secondary check | Existing pharmacy checks remain the primary control |
Adapt when administration records do not exist
Assume the interviewer says there is no bedside scanning. Re-derive: measure what can be measured, which is ordered against dispensed timing. Say what that misses: wrong-patient and wrong-time administration stay invisible.
The strongest recommendation may then be bedside scanning itself, not software. Saying so is the "is AI the right solution?" judgement the round is looking for.
Compare the three side by side
The method repeats across the cases. What changes every time is the mission's hidden conflict, the riskiest input and the human boundary. The table lines the three answers up row by row.
The three cases compared.
| 911 response | Bank fraud | Medication errors | |
|---|---|---|---|
| Hidden conflict in the mission | Speed vs. cost vs. equity | Catch rate vs. customer friction vs. regulatory approval | Safety vs. alert fatigue vs. nurse time |
| Riskiest input | Hand-entered call timestamps, which decide where the minutes go; traffic sensors, thin where equity is judged | Labels, defined three ways | Administration records, which may not exist |
| First slice | Interval segmentation report | Single investigator queue | Retrospective dose reconciliation |
| Model, chosen last | Travel-time regression plus coverage optimisation | Explainable classifier on one fraud type | Rules first, risk ranking later |
| Language model's role | Summarise call notes, if triage is slow | Summarise case notes; help relabel | Extract missing fields, human-confirmed |
| Human boundary | Dispatcher keeps authority | Model risk signs before any decision changes | Pharmacist confirms before a nurse is alerted |
| Guardrail metric | Worst district's 90th percentile | False-positive rate on legitimate customers | Alerts per nurse per shift |
| Source curveball or likely one | GPS feed lost | A legacy system withheld | No bedside scanning |
In none of the three is a language model the core. Each gets a bounded assisting role on free text, behind a human. That is the pattern in practice: goal first, data second, model last.
Answer the cost pivot
The cost card in the source is grounded in two cost drivers: agent steps and tool calls, and batch jobs and evaluation pipelines. The pivot to expect is "this is getting expensive, where does the money go?" The table gives the answer. The case numbers in the metric row are the source catalogue's: #67 is 911 response, #68 is bank fraud and #69 is medication errors.
The cost pivot: driver, cheapest lever, proving metric, what not to do and the 60-second line.
| Question | Answer |
|---|---|
| Dominant driver | Data engineering and human review time, not model calls: joins, entity resolution, relabelling and pharmacist confirmation. Model spend is small because the core models are regressions, classifiers and rules, and language models run only on notes. |
| Cheapest lever first | Keep language models off the high-volume streams: GPS pings, transactions and dispensing events. Run them only on the narrow text tasks, in batch, with a small model. Spend human review on a stratified sample, not on every record. Reuse the relabelled set as the evaluation set. |
| Metric that proves it | Cost per investigated case (#68); pharmacist minutes per confirmed flag (#69); cost per recommendation accepted (#67); language-model calls per thousand events, which should stay near zero |
| Do not | Send every transaction, GPS ping or dispense event to a language model, or cut human review below the level that keeps precision safe |
| 60-second line | These systems are cheap in compute and expensive in people. The models that matter are small. The expensive part is building one trustworthy label, so spend review time on a stratified sample and reuse it for evaluation. Keep language models on notes, in batch, and off the event streams. |
The general cost method still generates this answer. It has four verbs. Measure human-review minutes and model calls per case. Route high-volume events to rules and small models, and text to a language model only in batch. Bound review to a stratified sample. Cache resolved entities and reconciled labels so no one pays for them twice. A lower token bill does not prove savings if investigator or pharmacist review time rises, which is why the proving metrics are per case and per confirmed flag.
References
The source's fact-check sources were checked on 27 September 2026. All three support the medication case's claims about incident reporting and nurse surveillance.
- AHRQ PSNet: Reporting Patient Safety Events: incident reports capture only a fraction of events compared with record review and observation.
- AHRQ PSNet: Culture of Safety: reporting depends on a blame-free environment; individual blame impairs safety culture.
- AHRQ PSNet: Factors influencing the reporting of medication errors and near misses among nurses: fear of blame and consequences is a barrier to nurses reporting medication errors.
Practice
Attempt the case before revealing the worked reasoning.
Attempt one case on a blank page
Pick one of the three prompts and set a 60-minute timer. Run the six steps aloud. Leave on the board: one mission sentence with its trade-offs, a named owner per metric and one north star, an input map with quality risks, three to five ordered workstreams, a first slice with its evaluation, and three failure modes. At minute 45, give yourself the curveball for that case (lost GPS feed, system C withheld for 60 days, or no bedside scanning) and re-derive the plan, saying what coverage you lost. Then compare your answer with the deep dive.
Work through your answer
This local worksheet is a prototype addition. Notes save in this browser. Nothing is submitted or scored.
Check your reasoning
Reveal the self-assessment rubric
This checklist is an authored addition. Assess what you can explain without reopening the walkthrough.
0 of 9 reasoning checks covered.
Check yourself
These are the source's twelve self-check questions. Answer each aloud before opening it.
What are the two failure modes that eliminate candidates?
Jumping to architecture before clarifying scope, and hand-waving evaluation.
What are the six steps, in order?
Clarify the mission; stakeholders and success metrics; map the inputs; decompose into workstreams sequenced by risk; walking-skeleton MVP (minimum viable product, the smallest version that proves the idea works for real users); adapt live.
Which two columns does this case add to the input map, and why?
"What it can answer," which ties the data to the decision it supports, and "quality risk," which is where the interviewer's curveballs land.
In the 911 case, why segment the interval before building anything?
The slow segment chooses the lever. If triage dominates, routing work is the wrong project.
In the 911 case, which metric protects equity?
The worst district's 90th-percentile time to scene, which must not rise.
In the 911 case, what changes when GPS disappears?
Travel estimates fall back to traffic sensors, which are thin in the outer districts. The pilot stays in a sensor-rich district, and the equity error bars widen.
In the bank fraud case, why is "unlabelled" not "legitimate"?
Unlabelled cases were never investigated, so treating them as negatives teaches the model that uninvestigated fraud is fine.
In the bank fraud case, what is the honest 90-day deliverable?
A single investigator queue plus a validated shadow model on one fraud type, not a production model deciding transactions.
In the medication errors case, why is precision a safety property?
Low precision causes alert fatigue, and the alerts nurses learn to ignore include the real ones.
In the medication errors case, why must nurse schedules never rank nurses?
Surveillance discourages honest incident reporting, and the error measurement depends on that reporting.
Across all three cases, what role does a language model play?
A bounded assisting role on free text, behind a human, never the core decision.
What is the 60-second cost answer?
These systems cost people, not tokens. Sample human review, reuse the reviewed set for evaluation, and keep language models on notes, in batch.
Answer the follow-up probes
Six standard follow-up probes come up in these three cases. Each answer draws on the human boundaries, guardrail metrics, staged evaluation and baseline fallbacks from the walkthrough.
When do you route to human-in-the-loop?
Whenever the action is irreversible, regulated or clinical. For version one of all three cases, that means always: the system recommends and the human decides. The real design question is where the human sits. In the 911 case it is the dispatcher at the console, in the fraud case model risk at the gate, and in the medication case the pharmacist before the nurse.
How does auditing and logging drive HITL decisions?
Log every recommendation with its reason, and every accept or override with the human's reason. Override clusters show where the system is wrong. Falling override rates on cases later confirmed correct are what justify widening automation.
What metrics matter beyond task success?
Guardrail metrics that catch harm the headline hides: the worst district's percentile, false positives on legitimate customers, and alerts per nurse per shift. Each one can worsen while the headline improves.
Design an evaluation harness.
Backtest on history first, then shadow, then a pilot against a matched comparison. Hold out a labelled set the model never trains on. For the bank fraud case the holdout is relabelled to the one agreed definition. For the medication errors case it is pharmacist-reviewed.
How do you degrade gracefully when the model is unavailable?
Each design keeps the existing process as the primary path. The dispatcher's standard view, the legacy fraud rules and the pharmacy's order-time checks all stay live. The system adds a check, so an outage removes the addition, never the baseline.
How do you detect goal drift?
Watch the guardrail metrics, not only the target. A fraud model can raise its catch rate by declining more customers. A coverage optimiser can cut the average by abandoning the far districts. Drift shows up in the guardrails first.
Open each case in two minutes
Say each opener before drawing anything. Each one names the hidden conflict and the first slice within two minutes. These are the source's spoken-answer examples; practise them aloud until they sound like your own words, and treat them as a proposed design, not a claim about a system you built.
Open the 911 dispatch case in two minutes.
"Before designing anything, I want to pin down what faster means. Response time can be improved on average while the outer districts get slower, so I'd ask whether the target is a citywide average or a percentile every district must meet. I'd also ask which interval counts. Time to scene has four parts: answering, triage, dispatch and travel. I'd assume the goal is the 90th percentile for priority-one calls, by district, with no new budget. The first thing I'd build isn't a model. It's a join of call records and GPS tracks that shows where the minutes go. If travel dominates, the lever is where idle ambulances wait. If triage dominates, it's a completely different project. Dispatchers keep authority throughout."
Open the bank fraud case in two minutes.
"The hard part here isn't the model, it's that three systems each mean something different by fraud. So in the first 90 days I'd deliver two things. The first is one investigator queue across all three systems, with customers matched between them. That creates value on its own, because fraud that crosses systems becomes visible. The second is a relabelled sample with one agreed definition, and a shadow model on one fraud type validated against it. Nothing changes a decision until model risk signs off. I'd also be clear that unlabelled cases mean uninvestigated, not legitimate."
Open the medication errors case in two minutes.
"I'd start by asking what the system is allowed to do, and I'd propose it only flags risk for a clinician. It never changes an order. Next I'd want to measure the error rate, because incident reports undercount. The first slice reconciles ordered, dispensed and administered doses for a few time-critical drugs after surgery. Pharmacists review the flags. That gives a baseline and a precision figure before any alert reaches a ward. Precision matters because alert fatigue is itself a safety risk. Nurse schedules help find where errors cluster, by load and handover, never to rank nurses."
Answer the cost pivot in ten minutes
"This is getting expensive. Where does the money go?"
The money goes to people, not model calls: data engineering for the joins and entity resolution, and human review for relabelling and pharmacist confirmation. Model spend is small because the core models are regressions, classifiers and rules, and language models run only on notes. The cheapest lever is to keep language models off the high-volume streams (GPS pings, transactions, dispensing events) and run them only on narrow text tasks, in batch, with a small model. Spend review on a stratified sample and reuse the relabelled set as the evaluation set. Prove it with cost per recommendation accepted (911), cost per investigated case (fraud), pharmacist minutes per confirmed flag (medication), and language-model calls per thousand events, which should stay near zero. Do not cut human review below the level that keeps precision safe.
Calibrate your answer to the level
In all three cases the levels split on reach. A Senior answer gets the data and the lever right. A Staff answer adds owners and gates. A Principal answer reaches the organisation's long-term choices. Each table shows what an answer at each level sounds like and what it is still missing.
Faster 911 response, by level.
| Level | Sounds like | Missing |
|---|---|---|
| Senior | Splits time to scene into answer, triage, dispatch and travel, joins call records to GPS tracks, and lets the slow segment choose the lever. | Who owns each feed, who signs off on moving units, and what happens when the GPS feed drops. |
| Staff | Names the EMS operations chief and the council as owners, guards the worst district's 90th percentile, caps utilisation, and keeps the standard dispatch view live in an outage. | Whether placement alone can close the gap, or the city needs more than software. |
| Principal | Treats the outcome log as the city's evidence base: override rates and district tails decide when to widen automation, and when to argue for new stations once the no-new-budget year ends. | Whether placement or capacity is the binding limit needs the city's own segment data. |
Unified bank fraud, by level.
| Level | Sounds like | Missing |
|---|---|---|
| Senior | Ships a single investigator queue on entity resolution, then a shadow model on one fraud type, and treats unlabelled cases as unknown, not legitimate. | The label is three teams' definitions, so reconciliation needs owners and a sign-off as well as a script. |
| Staff | Makes label reconciliation a workstream signed by senior investigators, gates each phase of the 90 days, and lets nothing change a decision until model risk signs. | What happens to the three legacy systems and their teams after day 90. |
| Principal | Frames the reconciled label as a bank-wide asset: one fraud definition, a reusable holdout, and a path to retire legacy rules as validated models earn trust. | Which system retires first depends on each system's fraud losses and vendor terms the design cannot see. |
Fewer medication errors, by level.
| Level | Sounds like | Missing |
|---|---|---|
| Senior | Reconciles ordered, dispensed and administered doses retrospectively, with weight-based and time-window rules that pharmacists review for precision. | Alert fatigue and governance: who approves thresholds, and how many alerts a nurse can take per shift. |
| Staff | Brings in the pharmacy and therapeutics committee, caps alerts per nurse per shift, pilots one ward against a matched ward, and keeps schedules aggregated by ward and shift. | Whether software is the right fix at all when administration records are missing. |
| Principal | Says plainly that bedside scanning may beat any model, protects honest incident reporting, and plans how flags spread across the network's wards. | The rollout order needs each ward's baseline error rate, which only the first slice produces. |
Return to the decisions you could not explain.
Review the essentialsQuick review
Recall the decisions, failure responses, and closing answer.
The method and what the round scores
- The round scores clarifying questions and narrated reasoning. It fails architecture-first answers and hand-waved evaluation.
- Six steps on a sixty-minute clock turn a vague prompt into a mission, owners, an input map, ordered workstreams, a walking skeleton and a live re-plan.
- The input map, with its owner and quality-risk columns, stops anyone choosing a model before they understand its data.
- Workstreams go in order of which unknown could kill the project, and in all three cases that is the data.
- The follow-up probes are answered with human boundaries, guardrail metrics, staged evaluation (backtest, shadow, matched pilot) and the existing process as fallback.
Three cases in one line each
- 911 response decomposes time to scene first, protects the worst district's 90th percentile, treats the model as travel-time regression plus coverage optimisation, and keeps the dispatcher in charge. Lost GPS means sensor estimates, wider equity error bars and a sensor-rich pilot district.
- Bank fraud delivers a single investigator queue and one reconciled label in 90 days, with a shadow model on one fraud type that changes nothing until model risk signs. Unlabelled means uninvestigated. A withheld system C means reporting two of three systems, not unification.
- Medication errors lets the system only flag, measures the error rate before trying to reduce it, and treats alert fatigue as a safety risk. Pharmacists confirm before nurses are alerted; schedules are aggregated by ward and shift, never used to rank nurses. With no bedside scanning, the best recommendation may be scanning itself.
- Side by side, the mission, the riskiest input and the human boundary change, and the language model is never the core.
Openers and the cost line
Each two-minute opener names the hidden conflict and the first slice before anything is drawn. The cost pivot lands on people, not tokens: these systems are cheap in compute and expensive in people, so sample human review, reuse the reviewed set for evaluation, and keep language models on notes, in batch, off the event streams.