Interview prep · Mira Mace · Part 3 of 3

Mira Mace Mock Interviews: Scoped Scenarios to Practise On

Ten scenarios (two of them voice-focused) in the format your former colleague described: the interviewer shows you the current system and asks you to extend it. Each has the prompt as they'd say it, the current system, constraints, curveballs to inject mid-way, a checklist of what a strong plan covers, and an answer outline. Answers are collapsed so you can attempt each one cold first. Reference material: Part 1 (overview) and Part 2 (deep dive).

How to run a self-mock

  1. Pick a scenario. Read only the prompt, the current system and the constraints.
  2. Set a 45-minute timer. Talk out loud (record yourself on your phone) and draw in Excalidraw as if sharing your screen.
  3. Follow the shape: restate (2 min) → clarify (5) → user journey (5) → design (15) → deep dive (10) → failures and rollout (8).
  4. Inject the curveballs at the times shown: read one, pause, adapt out loud ("OK, that changes X").
  5. Grade yourself against the checklist and the rubric below, then open the answer outline.
  6. Replay the recording and note any minute of silence, any box you couldn't justify, and any claim you couldn't back.

Rubric (score 1–4 on each)

Dimension4 looks like
User firstOpens with a named user and a concrete journey; every component maps to a step of it
Scoping5–6 sharp questions, stated assumptions with numbers, explicit cuts
ArchitectureFew boxes, clear responsibilities, source of truth named for each kind of data
DepthTables, a state machine, pseudocode for the hard part, without being asked
Autonomy and safetyAutonomy per step with risk reasoning; where humans stay in the loop and why; PHI handled by design
QualityNamed metrics; how a change is tested before and after release
AdaptationCurveballs absorbed by changing the design, not restarting or defending
HonestyGaps and assumptions stated plainly; no invented facts

Scenario 1: Make the DME agent run cases end to end

"You built the DME prototype. Today, in production, advocates use something like it as a tool: they press a button and it calls vendors. We want the agent to own the whole case: from the patient saying they need equipment to it arriving at their door, with advocates only handling exceptions. Design that."

Current system: an advocate-triggered vendor-calling feature; results written to the vendor DB; advocates do everything else by hand (clinic follow-ups, faxes, explaining cost, booking). The take-home exists as a prototype with simulated phones.

Constraints: ~2,000 DME cases a month across the patient base; advocates each handle ~150 active patients; Postgres + FastAPI stack; real phone and fax.

Curveballs: at 15 min: "Half the clinics never answer the phone; they only respond to faxes." At 25 min: "We just signed a Medicare Advantage plan as a customer; their members must use in-network suppliers." At 35 min: "Last week the agent told a patient they'd owe 20% and the supplier billed the full price."

What a strong plan covers
  • The patient's and advocate's journeys, and the metric: advocate touches per case and days to delivery.
  • Primitives + a DME workflow definition; the generic scheduler; the event log.
  • Autonomy per step: qualification calls L3, PHI fax L1 until the number is verified, cost explanation L1 until coverage terms are typed data, booking L3 after consent.
  • Durable follow-ups with the clinic; inbound fax correlation.
  • Exception handling: typed escalations into the advocate's inbox with packets.
  • Evals: simulations with truth, shadow mode on real cases, approval rates.
Answer outline, including the curveballs
  • Fax-only clinics: the obtain primitive's channel ladder becomes per-party: the party's behaviour stats say phone requests aren't kept and fax is, so the ladder starts at fax for them. Learned, not hardcoded; shows the knowledge plane earning its keep.
  • MA plan: tenant config adds an in-network gate to qualify (from the plan's network list, refreshed regularly) and plan-specific prior-auth rules; members are tagged with their plan; cases pin the tenant config version.
  • Wrong cost: the root cause is a wrong or stale "accepts assignment" fact or a non-participating supplier. Fixes: re-confirm the gate at booking; coverage terms as typed data so the cost statement is computed, not phrased; keep the cost step at L1 until accuracy is proven; a persona that lies about assignment in the simulation suite; and the advocate escalation path for the patient now.
  • Rollout: shadow first (the agent plans, advocates act, compare), then L1 approvals, then promote steps on evidence.

Scenario 2: Vendor and provider profiles that learn

"Every call our agents make teaches us something about a vendor or a doctor's office. Right now it goes into a vendor table and a notes field. Design the system that keeps party profiles accurate and makes what we've learned available to every agent."

Current system: a vendor table with columns per attribute (carries item, insurance, ZIPs), updated by the calling feature and edited by advocates; free-text notes; no history of who said what.

Constraints: ~20,000 parties; ~5,000 interactions a day; advocates must trust the data ("vetted by humans" is why they use it).

Curveballs: at 15 min: "Two calls on the same day gave opposite answers about whether a supplier takes a plan." At 25 min: "An enterprise customer wants its own private notes and preferred-supplier flags." At 35 min: "We want the agent to know the best time to call each office."

What a strong plan covers
  • Identity and entity resolution (identifiers, matching, human review for ambiguous merges).
  • Observations vs facts; source ranking; freshness per field; contested state; re-verification.
  • Behaviour statistics from events; procedures; validated lessons.
  • The party brief for agents; provenance; scoping.
  • Human vetting for high-impact changes; audit.
  • Metrics: fact accuracy on re-verification, staleness, coverage, calls saved by reuse.
Answer outline, including the curveballs
  • Conflicting answers: both are observations; the fact becomes contested; the next interaction asks again (piggy-back) or a human checks; meanwhile the gate is treated as unknown for high-risk decisions. Track which source tends to be right (front desk vs billing).
  • Tenant private data: a tenant overlay table with row-level security; global facts stay global; overlays never leak into other tenants' briefs or into global lessons.
  • Best time to call: answer rate by weekday and hour bucket from interaction events, shrunk toward the party-type average for small samples; used by the scheduler's slot choice; evaluate by comparing answer rates before and after.
  • Deep-dive material: Part 2, section 1.

Scenario 3: Follow-ups that never fall through the cracks

"Most of an advocate's day is chasing: the clinic said they'd fax the order Tuesday, the payer said a decision in 7 days, the supplier said they'd call back. Design a system where agents schedule and run these follow-ups themselves, reliably."

Current system: advocates set reminders in a task list; follow-ups depend on memory; some get missed when an advocate is off.

Constraints: ~10,000 open follow-ups at any time; parties in several US timezones; follow-ups range from hours to weeks.

Curveballs: at 15 min: "We deploy three times a day." At 25 min: "Five patients all need the same clinic followed up on the same morning." At 35 min: "The fax arrives an hour before the scheduled follow-up call."

What a strong plan covers
  • Commitments as first-class objects (who promised what by when, with evidence).
  • Durable timers in the database; leases; outbox; idempotency; crash matrix.
  • Slot choice from party calendars, timezones, holidays and learned answer rates.
  • Cancellation on events (updatable timers) and decide() as the final check.
  • Per-party rate limits and coalescing.
  • Metrics: broken-promise detection time, follow-ups missed (should be zero), promise-kept rate per party.
Answer outline, including the curveballs
  • Deploys: nothing lives in memory; timers and cases are rows; workers drain and restart; cases are pinned to their workflow version.
  • Five patients, one clinic: the dispatcher coalesces ready actions for the same party into one call, within disclosure rules; one call, five outcomes, five events.
  • Fax arrives first: OrderReceived cancels the timer with cancel_if; if the race is lost, the fired action passes through decide(), which sees the order and does nothing.
  • Deep-dive material: Part 2, sections 3 and 4.

Scenario 4: Make it configurable for enterprise customers

"We're starting to sell to enterprises. Each wants something slightly different: their own supplier networks, escalation contacts, SLAs, branding, reports. Today one engineer customises things by hand for each. Design the platform so this scales."

Current system: per-customer code paths and flags; one engineer owns all of B2B.

Constraints: 5 enterprise customers now, 30 within a year; each with up to tens of thousands of members; their compliance teams will ask for audit trails.

Curveballs: at 15 min: "One customer wants to approve every outbound call to a provider in their network." At 25 min: "A customer's config change broke escalations for their members over a weekend." At 35 min: "A customer asks to see exactly why the agent chose a particular supplier for a member."

What a strong plan covers
  • Who the customers are (plan, provider group, employer) and what differs.
  • Config layers and resolution order; which fields each layer may override; schema validation.
  • Versioned tenant config; preview via simulation; canary; rollback; pinning.
  • Isolation (row-level security, overlays, per-tenant keys if needed), per-tenant dashboards and eval sets.
  • Decision explanations from the event log.
Answer outline, including the curveballs
  • Approve every call: a tenant-level autonomy policy pins that step at L1 for that tenant; the gate enforces it; their approvers get a queue. Show that it's config, not code.
  • Broken config: schema validation would catch structural errors; behavioural ones need the simulation preview (escalation scenarios must pass) and a canary, plus alerts on escalation-routing failures per tenant. Rollback is a version switch.
  • Explain the choice: the case's event log holds the candidates, the gate values with evidence, the ranking rule from the tenant config version, and the decision's reason string: render it as a report.

Scenario 5: The companion asks your doctor for you

"Patients use the companion to send questions to any doctor on their care team. The AI calls the office, gets the answer and brings it back. It works for a few hundred patients. Design it for a hundred thousand, and make it safe."

Current system: a chat surface; one engineer built it; calls handled by the voice stack; answers relayed by the agent.

Constraints: 100k patients; a few thousand questions a day; offices often say "the nurse will call back"; answers are clinical.

Curveballs: at 15 min: "A patient writes 'my chest hurts' at 2am." At 25 min: "The office calls back the patient directly instead of us." At 35 min: "The nurse's answer is ambiguous."

What a strong plan covers
  • Intake: safety triage first; correlation to open cases; workflow match (provider question).
  • Identity and authorisation (patient consent to contact the office on their behalf; HIPAA verification on callbacks).
  • Converse + commitment ("nurse will call back") + notify; durable waits.
  • Relay verbatim with source; route clinical judgement to a human; never generate medical advice.
  • Coalescing questions per office; scaling the voice runtime; evals on answer fidelity.
Answer outline, including the curveballs
  • Chest pain: deterministic triage before anything else; fixed response to seek emergency care; alert per the tenant's clinical protocol; red-team set in evals.
  • Office calls the patient: the companion asks the patient "did they reach you?" after the commitment's due time; the patient's answer closes the case; record this as party behaviour.
  • Ambiguous answer: the extractor marks it unclear; the agent asks a clarifying question on the call if still connected, otherwise a follow-up; anything interpretive goes to an advocate or clinician; the patient sees the verbatim answer with "your advocate will follow up".

Scenario 6: Inbound document intake at scale

"We receive hundreds of faxes and emailed documents a day: orders, records, prior-auth decisions, bills. An ops person sorts them by hand. Design the system that ingests them and moves the right case forward."

Current system: a fax inbox; ops staff read, rename and attach documents to patients manually.

Constraints: ~1,000 documents a day, rising; poor scan quality; some documents cover several patients; a wrong attachment is a PHI incident.

Curveballs: at 15 min: "A fax arrives for a patient we don't know." At 25 min: "A 40-page record arrives where page 12 belongs to another patient." At 35 min: "How do you know the OCR + classifier is good enough to attach without a human?"

What a strong plan covers
  • Pipeline: receive → store → OCR → page-level classification → identifier extraction → correlation against expectations → validation → event, or human task.
  • Matching rules: two independent identifiers for automatic attachment; otherwise a ranked human task.
  • Page-level handling and splitting; per-page patient checks.
  • Evals: precision of automatic attachment (must be very high), coverage, time to attach; human labels as ground truth.
Answer outline, including the curveballs
  • Unknown patient: quarantine with restricted access; a human task; possibly a new-patient referral workflow.
  • Mixed pages: classify and extract identifiers per page; any page with a different patient splits the document and flags it; never attach a document with mismatched pages automatically.
  • Good enough: measure automatic-attachment precision on labelled history; set the threshold so precision meets the target (e.g. 99.9%), accept lower coverage; humans handle the rest; monitor with sampled audits.

Scenario 7: Voice at thousands of calls a day

"Voice is used everywhere now: vendor calls, the companion, activations, the workmate. One engineer leads it. Design the voice platform so every team can use it, it scales to thousands of calls a day, and quality is measurable."

Current system: separate voice agents per use case, built on a CPaaS and a real-time framework; prompts in code; quality judged by listening to calls.

Constraints: 5,000+ calls/day; many outbound to offices with IVRs and long holds; older patients on inbound and outbound.

Curveballs: at 15 min: "Hold times with some payers exceed 40 minutes." At 25 min: "A new STT model is cheaper; should we switch?" At 35 min: "An office complains the AI called them 12 times today."

What a strong plan covers
  • One runtime with a call-spec interface; workflows supply goal, questions, scope, persona.
  • IVR navigation with learned paths, a hold listener, voicemail policy, warm transfer.
  • Disclosures, identity checks and guards in the runtime, not prompts.
  • Capacity via Little's law; autoscaling on concurrent calls; provider limits.
  • Quality: per-turn traces with audio, replay, regression suites, per-call outcome scoring.
Answer outline, including the curveballs
  • Long holds: a cheap listener holds the line (no LLM, minimal compute); callback options where the IVR offers them; holds count toward concurrency, so capacity planning uses hold-inclusive call durations; schedule payer calls at their shortest-hold times (learned).
  • Cheaper STT: replay a labelled set of recorded calls through both; compare word error on the things that matter (numbers, names, item codes) and downstream extraction accuracy, not just overall WER; then shadow, then canary.
  • 12 calls: per-party rate limits and coalescing in the dispatcher; a per-party daily cap; and an alert when it's exceeded.
  • Be honest: you've run SIP ingress and a real-time voice agent in production, but not PSTN carrier work or IVR navigation; say what you'd build.

Scenario 8: The workmate: a voice copilot for advocates

"The workmate follows advocates across screens in voice mode and tells them what to do next. Design the system behind it so it actually reduces their workload rather than adding chatter."

Current system: an early workmate that observes the advocate's current screen and suggests actions; the Mira agent answers questions on demand.

Constraints: ~20 advocates now, many more later; each juggles ~150 patients; suggestions must be right or they'll be ignored.

Curveballs: at 15 min: "Advocates say it interrupts them too much." At 25 min: "Can it take actions, not just suggest?" At 35 min: "How do you know it's helping?"

What a strong plan covers
  • The workmate as the interface over the human plane: approvals, exceptions, human steps, prioritised.
  • Screen context → the case in focus → relevant packet; a real-time voice loop with low latency.
  • Interruption policy: only for urgent items; batch the rest; the advocate controls the mode.
  • Actions by voice with confirmation, going through the same autonomy gate and audit.
  • Metrics: minutes per case, approvals per hour, suggestion acceptance, overrides.
Answer outline, including the curveballs
  • Too many interruptions: rank items by urgency × relevance to the current screen; interrupt only above a threshold; everything else waits for a natural pause or "what's next?"; learn per advocate from dismissals.
  • Taking actions: yes, through the same autonomy gate: the advocate's spoken "approve" resolves the task; destructive or PHI-sending actions need explicit confirmation; every action is logged with the advocate as actor.
  • Is it helping: compare advocate time per case and backlog size with and without it (a staggered rollout gives a control group); acceptance and override rates per suggestion type.

Scenario 9: One inbound line for every patient

"The activation voice agent works. Now we want every patient to be able to call one number, any time, about anything: their wheelchair order, a bill, a question for their doctor, or just to talk to their advocate. Design it."

Current system: an inbound agent for activations only; other calls go to advocates' phones or voicemail during business hours.

Constraints: 50k patients, mostly over 65; peaks on Monday mornings; ~20 advocates; calls must never leave a patient stuck in silence.

Curveballs: at 15 min: "A caller says she's the patient's daughter." At 25 min: "The STT provider has an outage at 10am Monday." At 35 min: "How do you know the agent isn't making patients' experience worse than voicemail was?"

What a strong plan covers
  • The caller's journey for 3–4 intents; what the agent resolves itself and what it hands off.
  • Identity: caller ID as a hint, verification before PHI, caregiver permissions.
  • Safety triage first; intent routing into workflows; reading case status; warm transfer with a summary; after-hours callbacks.
  • Older-caller design: pace, patience, confirmations, repetition.
  • Capacity via Little's law, peak handling, provider fallbacks.
  • Metrics: resolution without transfer, transfer quality (did the advocate need to re-ask?), abandonment, satisfaction, compliance.
Answer outline, including the curveballs
  • The daughter: look up the patient's caregiver record and its permissions; verify the caller's identity against it; disclose only what that permission covers; if no record exists, take a message and offer to set up authorisation with the patient.
  • STT outage: a fallback STT provider behind the same interface; if both fail, a pre-recorded message offering a callback, and callbacks scheduled automatically; alert; per-provider health checks drive routing.
  • Worse than voicemail? Compare against the baseline: time to resolution, callbacks needed, advocate minutes per call, hang-ups in the first 30 seconds, repeat calls within 48 hours, sampled call reviews; roll out to a share of patients first so there's a control group.

Scenario 10: Real-time companion voice mode

"Patients love talking to the companion in voice mode, but they say it feels slow and it sometimes talks over them. Leadership also asks whether we should switch to a speech-to-speech model. Design the next version."

Current system: in-app voice built on a cascaded pipeline (STT → LLM → TTS) with fixed silence-based turn detection; answers sometimes take 2–3 seconds.

Constraints: patients over 65; health content must stay within boundaries; conversations create tasks for advocates.

Curveballs: at 15 min: "Patients pause for a long time mid-sentence." At 25 min: "The new speech-to-speech model is 400 ms faster in a demo." At 35 min: "A patient mentions a new symptom in passing during a chat about their appointment."

What a strong plan covers
  • Measure first: per-stage latency per turn, p50/p95, false barge-ins; find where the 2–3 s goes.
  • Latency levers: streaming everything, semantic turn detection, prompt caching, smaller model for routine turns, acknowledgements during tool calls, prefetching the patient's context.
  • Barge-in: backchannel handling, truncation to played audio.
  • Cascade vs speech-to-speech: guardability, transcripts, deterministic control vs latency and prosody; an evaluation plan rather than a gut call.
  • Safety: health content boundaries, symptom detection, task creation for advocates.
Answer outline, including the curveballs
  • Long pauses: semantic end-of-turn detection plus longer patience for this population; tune the threshold on recorded conversations by measuring cut-offs vs delay; allow "take your time" behaviour.
  • Speech-to-speech: run both on the same scripted and replayed conversations; compare latency, interruptions, task success, and whether guards can still run (e.g. text side-channel checks); possibly a hybrid: speech-to-speech for casual chat, cascade when PHI or decisions are involved. Decide on the eval, not the demo.
  • Symptom in passing: a per-turn classifier for health signals; urgent → safety path; non-urgent → acknowledge, record verbatim in patient memory, create an advocate task; never give medical advice.

Lightning round: one-minute prompts

Answer each in about a minute, out loud.