KatInterview

Choose the Right Metric for a Search Ranking Change

Statistics & ExperimentsModel answer
EasyModel answerStatistics & Experimentsstatisticsmetric designsearch

Last updated

Pick and justify a primary success metric for a search ranking A/B test, then identify one guardrail and one counter-metric.

Context

You work on the search team at a consumer marketplace. Engineers have shipped a new ranking model that they believe surfaces more relevant listings. Before a full launch, you want to run an A/B test.

Your team is debating which metric should be the primary success metric for this experiment.

Available signals

You have the following logged events per search session:

  • query_issued — a user submits a search
  • listing_impression — a result is shown on screen
  • listing_click — a user clicks a result
  • add_to_cart — a user adds a clicked item to their cart
  • purchase_completed — a user completes a purchase

What is expected

  1. Identify a primary success metric. State exactly how you would compute it and why it best measures relevance improvement.
  2. Identify one guardrail metric. Explain what failure mode it protects against.
  3. Identify one counter-metric (or secondary metric). Explain what important side-effect it monitors.
  4. Discuss one common mistake teams make when choosing a search ranking metric.

Hints

Hint 1

Think about which event in the funnel is closest to the user's intent being satisfied — not just any engagement signal.

Hint 2

A guardrail metric protects a business concern unrelated to relevance; think about what you could accidentally break.

Hint 3

Click-through rate sounds obvious, but consider whether it can be gamed by the model and what that means.