The interview problem

Practice prompt

A customer wants an AI assistant to classify support tickets, draft replies and propose account changes. Before agents see its recommendations, run it alongside the existing workflow for two weeks. Design a shadow launch that produces credible evidence without sending messages, changing accounts or slowing the live service.

Original FDE practice, not a reported company interview. Workload and acceptance numbers are hypothetical. Technical source retrieved September 27, 2026.

1. Agree on what shadow mode can prove

Define the unit as a ticket at its first eligible decision point. Record an eligibility rule before collecting outcomes: supported language, approved data access and one of the agreed ticket categories. Keep excluded categories in a coverage report. The customer operations lead owns the workflow definition, and the engineering owner owns isolation and service health.

Shadow results can establish execution reliability, recommendation quality against a review rubric and compatibility with current inputs. They cannot directly establish adoption, real handling-time savings or customer satisfaction under the new workflow. Humans continue using the old process, so the observed outcome belongs to that process.

Write down the next decision: whether to begin a limited human-reviewed pilot, not whether to automate all account changes. An attractive agreement percentage is insufficient unless the operational and quality gates also pass.

2. Separate capture, execution and comparison

The live intake path emits a bounded, asynchronous capture record after its normal durable write. A sampler selects eligible ticket decision points. A separate queue feeds shadow workers, which read an approved snapshot, generate a proposal and write only to a trial evidence store. A joiner pairs the proposal with the later baseline action; reviewers adjudicate a blinded sample.

Use a stable trial key such as ticket ID, decision revision and experiment version. Preserve capture time, input revision, model/prompt version, retrieval snapshot, tool-fixture version and eligibility reason. Retries of one trial do not become additional evaluation cases. Retain attempt-level records separately for reliability diagnostics.

Do not make live success wait for shadow completion. Bound capture overhead and queue size, and define what happens when full: drop the shadow copy with a count and reason, leaving the live operation intact. Track eligible intake and capture attempts upstream of the queue as well: records lost before the sampler are absent from its selected-case denominator. Reconcile those counters with the trial records. Shared databases, inference quotas and network links can still create interference even when the queue is asynchronous.

3. Make side effects unavailable

A prompt saying “do not send” is not an isolation boundary. Give the shadow identity no production write credentials. Replace account-change and messaging tools with adapters that record typed proposals in the evidence store. Block unapproved outbound destinations, and test that attempted writes and external sends are rejected.

Some nominal reads have side effects: marking a message read, generating an expensive report or incrementing a usage counter. Inventory each dependency with the customer. Prefer a captured response or a dedicated read replica where appropriate, and clearly identify which behavior is simulated.

Multi-step agents require special care. A simulated successful account change can alter what the agent does next, but the real account remains unchanged. Keep simulated state in a per-trial sandbox and never mix it with subsequent live reads as though the change occurred. Report failures that the simulator cannot faithfully model as untested, not passed.

Set an independent stop switch for sampling and worker execution. Test it before the trial, including queued work. Do not accidentally drain a stopped queue into production tools when a configuration changes.

4. Compare decisions using information available then

A baseline agent may act thirty minutes after the shadow model and receive a customer clarification in between. Comparing the outputs without that context attributes an information difference to model quality. Capture the decision-time input and record whether the baseline saw additional evidence.

Separate comparable pairs from cases with changed information, but retain both in the accounting. If excluding difficult cases removes much of the workload, the trial supports only a narrow claim. Never let the shadow prompt read the final human reply or resolution label when evaluating the original decision.

Match semantic outcomes rather than exact wording. For a reply, review correctness, completeness, supported claims and tone. For an account proposal, compare the target account, operation, arguments, preconditions and required approval. Agreement with a mistaken human action is not correctness.

5. Size the trial and its review effort

Assume 50,000 tickets/day, 40% eligible and a 20% random sample of eligible tickets. The trial generates 4,000 cases/day, or 56,000 over fourteen days. At an assumed 4,000 total input/output tokens per case, that is 16 million tokens/day and 224 million across the trial, before retries. These are workload estimates, not vendor prices.

If each captured input plus proposal averages 20 KB, evidence payload is about 80 MB/day and 1.12 GB across the trial in decimal units. Indexes, versions, tool traces and replication add storage. Store only approved fields and assign deletion ownership rather than collecting entire customer histories by default.

Reviewing 600 cases at five minutes each costs 50 reviewer-hours. A second independent review of 120 cases adds ten hours; adjudicating 30 disagreements at six minutes adds three hours. Total is 63 hours. There are still only 600 distinct reviewed cases, not 750.

If zero critical errors occur among 600 independent, representative cases, the one-sided 95% binomial upper bound is 1 − 0.051/600 ≈ 0.498%. That does not demonstrate an error rate below 0.1%. Correlated cases, reviewer misses or oversampling particular categories make that simple calculation inadequate for the full population.

6. Keep missing results in the denominator

Suppose 56,000 cases are selected, 54,880 finish and 53,200 have comparable baseline decisions. Completion is 98%; paired coverage is 95% of selected cases. If 47,880 pairs agree, agreement is 90% among comparable pairs. Do not present it as 90% accuracy across all eligible traffic.

Break out capture loss, queue expiry, model failure, absent baseline actions and changed-information exclusions. Slow or complex tickets may be more likely to be missing, so complete-case results can look artificially strong. Compare missingness by category and workload size.

Review disagreements and a random sample of agreements. If reviewers only inspect disagreements, both systems can make the same error unnoticed. Keep sampling probabilities and strata so aggregate estimates can reflect the intended population; targeted incident review is useful diagnosis but not an unbiased quality estimate.

7. Deliver a bounded recommendation

Predefine trial gates with the customer: isolation tests pass, live latency impact stays within the agreed budget, paired coverage meets its target, and reviewed quality is acceptable for the proposed next step. Treat a severe side-effect escape as an immediate stop, not an average that can be diluted by many successful drafts.

Recommend a limited human-reviewed pilot for the supported categories only if the evidence passes. Preserve the old workflow as fallback and require a separate authorization boundary for real writes. Measure adoption, review time, rework and user outcomes in that pilot; shadow execution latency is not human time saved.

Deliver the trial manifest, coverage funnel, reviewed examples, failure list, cost estimate and a named owner for each unresolved issue. A negative result can still be useful: it may show that missing customer context, unreliable tools or review capacity must be repaired before another model comparison.

Follow-ups: How do you stop queued work? What if the baseline changed during the trial? How do you test an agent that depends on successful writes? Why can 90% agreement coexist with poor accuracy?

Score 0–2 each for side-effect isolation, temporal comparability, complete denominators, review uncertainty and a justified next-step decision.

Sources and next steps

The customer workflow, sandbox design, review budget and statistical examples here are original. Endpoint shadow testing alone does not supply the workflow-level side-effect isolation described above. Continue with measuring workflow value after the shadow trial.

Continue your preparation

Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.