A/B Experiment Assignment Schema
A medium Data Modeling interview practice problem on DataDriven. Write and execute real data modeling code with instant grading.
- Domain
- Data Modeling
- Difficulty
- medium
- Seniority
- L5
Problem
We run product experiments across our consumer app. When a user is assigned to an experiment, we need to track which variant they saw and when. Analysts need to compute metric lifts between variants. Design the data model to support experimentation analysis.
Summary
One user, one experiment, one variant. No exceptions.
Practice This Problem
Solve this Data Modeling problem with real code execution. DataDriven runs your solution and grades it automatically.