How can instrumentation and logging bugs impact an experiment?

Quick Overview

Asks how bugs in event logging and instrumentation can distort the results of an A/B test. Tests whether you can tell harmless data loss from bias that differs by arm, recognize sample ratio mismatch, and set up checks that catch broken data before a decision is made.

How can instrumentation and logging bugs impact an experiment?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

How can instrumentation and logging bugs impact an experiment? ```hint Ask which arm the bug touches Compare a bug that drops 5% of events in both arms with one that drops 5% only in treatment. What does randomization protect you from in each case? ``` ```hint Check counts before metrics Before you read any treatment effect, think of a simple count that would tell you the data collection itself is broken. ``` ### What a Strong Answer Covers - Why a correct randomized design still gives wrong answers when the logged data is wrong - The difference between logging errors that affect both arms equally and errors that differ by arm - How dropped or duplicated events bias metrics or change who gets measured - Sample ratio mismatch: what it is, how to test for it, and how to act when it fires - Defenses before launch and monitoring while the experiment runs ### Follow-up Questions - Your SRM check gives p = 0.0001, but the treatment effect looks great. What do you do? - How would you track down the cause of a sample ratio mismatch? - The treatment changes when the exposure event fires. How does that change the population you are analyzing?

Overview: Asks how bugs in event logging and instrumentation can distort the results of an A/B test. Tests whether you can tell harmless data loss from bias that differs by arm, recognize sample ratio mismatch, and set up checks that catch broken data before a decision is made.

Nov 25, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

How can instrumentation and logging bugs impact an experiment?

What a Strong Answer Covers Guidance

  • Why a correct randomized design still gives wrong answers when the logged data is wrong
  • The difference between logging errors that affect both arms equally and errors that differ by arm
  • How dropped or duplicated events bias metrics or change who gets measured
  • Sample ratio mismatch: what it is, how to test for it, and how to act when it fires
  • Defenses before launch and monitoring while the experiment runs

Follow-up Questions Guidance

  • Your SRM check gives p = 0.0001, but the treatment effect looks great. What do you do?
  • How would you track down the cause of a sample ratio mismatch?
  • The treatment changes when the exposure event fires. How does that change the population you are analyzing?