Skip to content
Back to challenges
Company Tracks: Netflix-style and Stripe-styleQuick Decisionintermediate5 minPro

Netflix A/B exposure grain

Choose an exposure fact over stamping the experiment variant onto the viewing fact.

How this preview works
Preview this problem before signing in. Sign in to save progress and submit work.

Concept

fact-table-grain

The primary modeling idea this problem reinforces.

Requirements

0

Business needs the model must satisfy.

Read the concept guide: Fact table grain
Scenario

An experimentation team needs engagement sliced by A/B variant. One proposal adds a variant column to the viewing fact; another models a separate exposure fact (one row per viewer-experiment-variant exposure).

Why this matters

Stamping the variant onto the viewing fact assumes one experiment per view and pollutes its grain. A dedicated exposure fact keeps experiment assignment at its own grain and supports many concurrent experiments.

Requirements
    What success looks like
      Common pitfalls
        Reference approaches
        These are valid approaches, not one absolute answer.

        Try the question first.

        The discussion has other people's approaches and solutions. Give it a real attempt before you read them.