Design an A/B test for a recommendation algorithm
Last updated: December 28, 2025
Quick Overview
Design an experiment to test the impact of a redesigned homepage. Include sample size calculation, metrics, and analysis plan.
Jane Street
December 28, 202549
4
985 solved
Design an experiment to test the impact of a redesigned homepage. Include sample size calculation, metrics, and analysis plan.
Jane Street asks this during the Onsite to assess your experimentation skills. They want to see how you define success metrics, design controlled experiments, and interpret results with appropriate statistical rigor.
What the Interviewer Expects
- Design complex experimentation strategies for tricky scenarios
- Handle multi-armed bandits, switchback experiments, and quasi-experiments
- Address long-term effects vs short-term metrics
- Propose causal inference methods when randomization is not possible
- Build a measurement framework that connects metrics to business value
- Discuss organizational experimentation culture and maturity
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- How would you handle seasonality in your experiment?
- How would you handle interference between treatment and control?
- How would you handle an experiment where the control and treatment groups are different sizes?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Problem Setup
The primary analytical question is to evaluate the impact of a redesigned homepage on user engagement and conversion rates. To effectively measure this, we need to define the following data points:
- ...
Methodology
We will utilize a classic A/B test framework where users are randomly assigned to either the control group (current homepage) or the treatment group (redesigned homepage). The statistical method for a...