This was basically five questions glued together and they expected a coherent answer, not five separate answers.
Start by defining a primary KPI that balances containment and customer utility, then specify its formula, eligible population, attribution window, and rules for abandoned chats and recontacts. Next, outline guardrail metrics with thresholds, design an experiment with proper randomization and seasonality controls, and detail instrumentation and logging. Finally, present a quasi-experimental fallback for when randomization isn't feasible.
Pro tip: Emphasize that the primary KPI should be a composite metric that penalizes false containment (e.g., recontacts within 72 hours) to avoid gaming containment. Also, mention that guardrails should include both customer experience and operational metrics to catch unintended consequences.
Propose a composite metric like 'Successful Containment Rate' that combines containment with customer utility, ensuring it penalizes recontacts and abandoned chats. Specify the formula, eligible population (e.g., all chat sessions excluding spam), attribution window (e.g., 72 hours), and how to handle abandoned chats (e.g., exclude from numerator but include in denominator) and recontacts (e.g., count as failure).
Identify at least three guardrails such as customer satisfaction (CSAT) score, average handle time for escalated chats, and agent escalation rate. Set thresholds based on historical baselines or business requirements, and explain how you would monitor them during the experiment.
Outline an A/B test with randomization at the user level to avoid contamination, and include seasonality controls by stratifying or using time-based randomization. Mention sample size calculation, duration, and how to handle network effects if any.
Detail the events to log: chat start/end, user messages, bot responses, containment events, escalations, recontacts within 72 hours, and abandoned chats. Ensure logging includes timestamps, user IDs, session IDs, and experiment group assignment for accurate analysis.
If randomization isn't feasible, propose a quasi-experimental design like difference-in-differences using a holdout group or pre-post analysis with matched control groups. Discuss how to account for confounders and validate assumptions.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.