PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Analytics & Experimentation/TikTok

Diagnose Traffic Allocation in A/B Test Results

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's proficiency in experiment diagnostics and causal inference, testing understanding of experimentation infrastructure, retention metrics, data quality, randomization integrity and identification of causal effects in observational settings, and is commonly asked to assess the ability to distinguish true treatment impacts from allocation or instrumentation issues. It falls under Analytics & Experimentation and causal inference within data science, requiring both conceptual understanding of bias and identification and practical application of experiment-quality diagnostics and identification strategies using user-level, time-stamped event logs.

  • medium
  • TikTok
  • Analytics & Experimentation
  • Data Scientist

Diagnose Traffic Allocation in A/B Test Results

Company: TikTok

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Technical Screen

##### Scenario Online experimentation and causal analysis for a consumer app. ##### Question An A/B test changed a call-to-action button from green (control) to red (treatment) and retention dropped. Describe the diagnostics you would run to decide whether uneven traffic allocation or other experiment-quality issues drove the result. You are asked to measure the causal impact of receiving negative reviews on a merchant’s coupon repurchase rate. Outline the data you need and the methodology you would use to obtain an unbiased estimate. ##### Hints Think about sample-ratio mismatch checks, covariate balance, time windows, difference-in-differences, matching/propensity scores, or holdout experiments.

Quick Answer: This question evaluates a data scientist's proficiency in experiment diagnostics and causal inference, testing understanding of experimentation infrastructure, retention metrics, data quality, randomization integrity and identification of causal effects in observational settings, and is commonly asked to assess the ability to distinguish true treatment impacts from allocation or instrumentation issues. It falls under Analytics & Experimentation and causal inference within data science, requiring both conceptual understanding of bias and identification and practical application of experiment-quality diagnostics and identification strategies using user-level, time-stamped event logs.

Related Interview Questions

  • Define Ultra success metrics and detect suspicious transactions - TikTok (easy)
  • Plan DS approach for biker delivery project - TikTok (easy)
  • Define and critique a user activity metric - TikTok (easy)
  • Design and decompose Trust & Safety risk metrics - TikTok (easy)
  • Analyze promo anomaly and design risk guardrails - TikTok (Medium)
TikTok logo
TikTok
Aug 4, 2025, 10:55 AM
Data Scientist
Technical Screen
Analytics & Experimentation
2
0

Scenario

A consumer app ran an A/B test that changed a call-to-action (CTA) button from green (control) to red (treatment). Retention decreased in treatment.

You need to:

  1. Diagnose whether uneven traffic allocation or experiment-quality issues could explain the observed drop in retention.
  2. Separately, estimate the causal impact of receiving negative reviews on a merchant's coupon repurchase rate.

Assume retention is a k-day retention metric (e.g., 7-day retention), and the platform has standard experimentation infrastructure with event logs, feature flags, and user-level randomization. For the reviews question, assume we have time-stamped purchases and reviews at user–merchant level.

Part A — A/B Test Diagnostics for Retention Drop

Describe the diagnostics you would run to determine if uneven traffic allocation or other experiment-quality issues drove the result, and how you would decide whether to trust the result as causal.

Part B — Causal Impact of Negative Reviews on Coupon Repurchase

Outline the data you need and a methodology to obtain an unbiased estimate of the impact of receiving negative reviews on a merchant’s coupon repurchase rate.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Analytics & Experimentation•More TikTok•More Data Scientist•TikTok Data Scientist•TikTok Analytics & Experimentation•Data Scientist Analytics & Experimentation
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.