KatInterview

Measuring the Impact of Sorting Inboxes by Unread Count

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsexperiment-designmetric-designcausal-inference

Last updated

Design a data-driven evaluation and A/B experiment to decide whether reordering a multi-account switcher by unread message count improves user engagement.

Context

A product team is considering a change to the account switcher on a multi-account platform. Today, accounts appear in a fixed or recency-based order. The proposed change would sort them so the account with the most unread messages appears first.

What You Are Asked to Do

Part 1 — Pre-experiment analysis

Before committing engineering resources to a test, how would you use existing data to determine whether the problem is real and the opportunity is large enough to pursue?

Part 2 — Experiment design

Design an A/B test to validate the feature. Specify:

  • Randomization unit and eligible population
  • What treatment and control look like
  • Your primary success metric, secondary metrics, and guardrails
  • How you would determine test duration

Part 3 — Interpreting a mixed result

Suppose the test concludes and you observe:

  • The rate of account switching decreases in the treatment group
  • The number of accounts with meaningful activity per user increases in the treatment group

How would you interpret this? What diagnostics would you run, and what would each finding lead you to recommend?

A strong answer states assumptions explicitly, handles edge cases, weighs trade-offs, and explains how you would validate or invalidate each competing interpretation.

Hints

Hint 1

Before designing the experiment, ask whether there is evidence of friction in the current experience — for example, how often do users switch to an account that does not have the most unreads, and how often do they immediately switch away again?

Hint 2

When choosing a randomization unit, think carefully about where interference can occur. All of a person's accounts share a single switcher, so the unit should reflect that.

Hint 3

Fewer switches and more active accounts can both be true if the feature reduces wasted navigation. To distinguish efficiency from shallow or misleading engagement, decompose the switch metric and check the depth of activity on newly active accounts.