The interview problem

Practice prompt

A customer wants a four-week support-assistant pilot across 12 teams with 25 agents each. Each team handles about 2,500 tickets per week. Agents share queues, templates and managers. The sponsor nominates enthusiastic agents for treatment and asks you to prove improvement using ticket-level statistics. As the FDE, negotiate a credible experiment, implement assignment and deliver an honest rollout recommendation.

Original FDE practice, not a reported company interview. Scenario, protocol and calculations are original. Technical context retrieved September 27, 2026; interview date not applicable.

Quick answer

Randomize at the level where treatment can spill over: often a team or tenant, rather than individual tickets. Predefine the outcome, observation window and analysis unit. Keep assigned teams in the analysis even when adoption is low, and distinguish small numbers of independent teams from large ticket counts.

1. Map collaboration before choosing an assignment unit

Ask who shares work, who moves between queues and whether assistant-generated templates reach people without access. A control agent can learn a treatment technique from a colleague. Randomizing individual tickets does not stop that spillover. Agent-level assignment may still mix treatment and control inside the same workflow.

For this worked solution, assume an operational review confirms 12 sufficiently separated teams: no shared ticket queues, routine agent transfers or cross-team template publication during the measurement period. Randomize six teams to assistant availability plus training and six to ordinary tools. Both groups retain normal support and the same outcome instrumentation.

This assumption must be checked, not inferred from the organization chart. If managers or templates connect all teams strongly enough to change control outcomes, one customer may effectively provide only one collaboration cluster. Recruit independent sites or run a descriptive feasibility pilot. More tickets cannot manufacture independent clusters.

Agree eligibility before assignment. Randomizing among volunteer teams can support an effect estimate for those volunteers; it does not establish the effect for reluctant teams or other customers. Letting the sponsor select the treatment arm creates a different, confounded comparison.

2. Write a measurable outcome contract

Define the primary outcome for every eligible incoming ticket: closed within 48 hours of arrival and not reopened at any time through hour 72. Score success as one, otherwise zero. Freeze the rule for closure, reopening, business hours versus elapsed hours, duplicate tickets and eligible queues before launch. Here the thresholds use elapsed hours.

Assign a ticket to its original intake team using a routing rule that the assistant cannot modify. Preserve that attribution if it transfers, and include its downstream outcome. Tickets still open at hour 48 are failures, not missing records. Tickets entering on the last pilot day need another 72 hours of follow-up before analysis.

The primary team score is successful tickets divided by all eligible tickets entering that team during the four weeks. Compare the unweighted mean of these scores across arms. The target is the average team's change in this success fraction under the availability-and-training bundle, using intention to treat. It is not the effect among agents who chose to use the assistant.

Assume intake and eligibility are unaffected by assignment. If treatment changes routing, discourages ticket creation or moves difficult work outside the eligible queue, the denominator can change meaning. Track these pathways and revisit interpretation instead of claiming a pure resolution improvement.

Faster closure can hide bad answers. Separately audit a random sample from every team's eligible tickets with a fixed quality rubric, including failures and escalations. Blind reviewers to assignment where feasible. Prespecify an acceptable quality deterioration margin, serious-error stop rules, and handling-time and escalation guardrails. Lack of a statistically significant quality decline is not proof of noninferiority; the uncertainty must support the chosen margin.

3. Commit the assignment and analysis together

Use a reproducible uniform random selection of six of the 12 eligible teams. Record the roster, draw, algorithm, timestamp and experiment version. Do not repeatedly draw until the sponsor likes the allocation. This simple assignment supports the exact calculation below.

Baseline volume, success rate and region help assess feasibility and predict power before launch. A prespecified constrained or paired design may improve balance, but changes the allowed assignment set and therefore the analysis. Do not use the unrestricted test below after choosing an allocation from a restricted set.

With few teams, simulate likely outcomes and assignment draws using historical between-team variation. Choose a minimum business-relevant improvement and estimate how often the planned analysis detects it. Historical data may be unrepresentative; show sensitivity to stronger correlation and weaker effects. If power is inadequate, recruit more independent teams or frame the pilot as estimation and feasibility work.

Extending the duration provides more observations within each team and may reduce measurement noise. It does not necessarily solve persistent team-level heterogeneity. Pairing is an option only with an appropriate design and stable baseline information; it is not an automatic remedy.

4. Make assignment observable in the product

frozen eligibility + assignment manifest
                   ↓
           team feature gate
                   ↓
  exposure and assistant-action events
                   ↓
intake tickets → lifecycle events → mature 72-hour outcomes
                   ↓
        one score per assigned team
                   ↓
      assignment-aware analysis + decision report

The manifest stores customer, team, arm, start/end times and version. Gate access on the server using current authorized team membership and the experiment assignment. Record exposure separately from assignment: a treated team can have zero usage without becoming a control team.

Use stable ticket IDs and idempotent event ingestion. Store intake team, arrival time, closure and reopening events, transfer history and observation completeness. Restrict sensitive ticket content to the audit workflow rather than copying it into every analytics event.

A prelaunch dry run should verify that every eligible ticket joins exactly one intake team, every team receives one arm, and timestamps produce the agreed outcome. Exercise delayed lifecycle events, reopened tickets and duplicate delivery. An A/A exercise helps find instrumentation defects but cannot certify adequate power from a single successful run.

Check assignment counts at the team level. Unequal ticket counts across arms are not automatically an assignment-ratio failure because team volumes differ. Investigate unexpected intake shifts, missing identifiers and cross-team exposure directly.

5. Explain why the ticket count is misleading

agents = 12 × 25 = 300
tickets = 12 × 2,500 × 4 = 120,000
independently assigned units = 12 teams

For intuition only, suppose equally sized clusters of 25 agents have a common within-team outcome correlation of 0.10. For an equally weighted agent-level mean under that simplified correlation model:

variance inflation = 1 + (25 − 1) × 0.10 = 3.4
variance-equivalent independent-agent count = 300 / 3.4 ≈ 88.24

This does not create 88 randomized teams. It is not a power calculation for the ticket-success metric, which has additional repeated observations and dependencies. The real analysis must respect the 12 assignment units. Treating 120,000 tickets as independent would give unjustified precision.

Six teams per arm also makes automatic large-sample standard errors risky. Use an analysis planned for the assignment and outcome structure. Adding many baseline covariates to a 12-team regression can introduce instability rather than rescue the experiment.

6. Work through an assignment-based result

Suppose all teams have complete follow-up and their success rates are:

ArmSix team ratesEqual-team mean
Assistant offered68%, 72%, 70%, 74%, 66%, 70%70%
Ordinary tools63%, 67%, 65%, 69%, 61%, 65%65%
estimated difference = 70% − 65% = 5 percentage points
relative difference = 5 / 65 ≈ 7.69%

The primary estimate gives each team equal weight. Pooling ticket counts would instead emphasize large teams. Neither weighting is universally correct; they answer different questions. Select the estimand before seeing the outcomes.

Under the sharp null that assignment changes no team's outcome, and assuming no between-team interference, these 12 observed team scores remain fixed under all allowed assignments. There are 12 choose 6 = 924 equally likely allocations. Enumerating them, 18 have an absolute difference at least as large as the observed five percentage points:

two-sided randomization p-value = 18 / 924 ≈ 0.01948

This includes ties and the observed allocation. It tests a sharp no-effect hypothesis under the stated design. It is not the probability that the assistant is ineffective, does not prove a five-point improvement for every team, and is not a confidence interval for the average effect. Prespecify an appropriate interval procedure separately; do not manufacture an interval by treating tickets as independently assigned.

If baseline adjustment was prespecified, the test statistic and its recomputation must follow that plan. If teams were paired or allocation was constrained, enumerate that actual assignment mechanism instead. If the sponsor chose the six treatment teams, this randomization calculation is not justified at all.

7. Handle operational failures without rewriting the experiment

FailureResponseInterpretation
Treated agents barely use the toolInvestigate access and workflow friction; retain assigned teamsITT estimates the offer, not an adopter-only effect
Control agents receive generated templatesLog scope and timing; contain further sharingContamination threatens the intended comparison
Lifecycle telemetry is missingRecover from source records; report remaining missingness and sensitivityDo not silently label unknown outcomes as successful or drop them
Safety incident requires shutdownStop the harmful feature and preserve assignment/exposure historyThe delivered treatment differs from a full four-week offer
A difficult team or outage hurts resultsApply prespecified rules and show sensitivity transparentlyPost hoc removal can bias the conclusion

Monitor safety continuously, but do not peek at efficacy every week and stop as soon as a conventional p-value crosses a threshold. Use the agreed fixed horizon or a valid prespecified sequential procedure. Keep operational troubleshooting separate from changing the success criterion.

If the customer requires everyone to receive the tool, a randomized delayed start can sometimes preserve a contemporaneous comparison. A simple before/after rollout is vulnerable to seasonality and changing workloads. Switching teams on and off is particularly problematic when people retain learned techniques after the tool is removed.

8. Deliver a decision, not just a p-value

Present the primary estimate and uncertainty, outcome maturity, quality guardrails, adoption, contamination, operational incidents and the population represented. Distinguish evidence of benefit from evidence that a broad rollout is safe and supportable.

A result can be promising but too imprecise for the business threshold. An inconclusive pilot does not show zero effect. Conversely, a favorable primary metric cannot override unacceptable quality or broken assignment. Agree a next step such as a larger independent-site trial, workflow repair or staged expansion with explicit rollback ownership.

Follow-ups: What if two teams share a manager? How would you analyze six matched pairs? What if treatment changes ticket volume? Which baseline measurements improve precision without using post-treatment information? How would you explain a positive point estimate with a wide interval to the sponsor?

Self-review rubric: A strong answer chooses assignment units from actual collaboration, fixes eligibility and an outcome horizon, retains nonadopters, and analyzes teams rather than pretending tickets are independent. An excellent answer connects engineering logs to causal assumptions, matches inference to the assignment mechanism, makes quality a separate acceptance gate and explains what the pilot cannot establish.

Bound the effect of missing outcomes

Consider one team with 100 eligible tickets: 70 meet the success definition, 20 fail and 10 have unknown outcomes after the agreed measurement window. The observed-only rate is 70/90 = 77.8%, but the complete-team rate could be anywhere from 70% to 80%. Dropping unknown outcomes silently chooses a missingness assumption.

For an illustrative treated team with that interval and a control team with 72 known successes and 5 unknown outcomes out of 100, the control interval is 72–77%. Their possible difference is −7 to +8 percentage points. These are worst-case missing-outcome bounds, not confidence intervals or a treatment-effect estimate for the full trial.

Apply the same predefined procedure within every randomized team, then respect the trial’s team weighting. First investigate whether missingness is caused by the product: broken logging in treatment is itself an implementation failure. Do not replace the randomized analysis with only the users who completed onboarding.

Original worked follow-up, reviewed October 7, 2026. Reference: Microsoft Research: tenant-randomized experiments.

Sources and attribution

The reference provides context on clustered enterprise experiments, dependence, assignment balance and telemetry. Its pairing findings concern its studied products, not a universal prohibition. The support workflow, outcome contract, architecture, numerical example and enumerated test are original practice. This guide makes no claim that a company recently asked this question.

Continue your preparation

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