All practice tasks

SQL Case

Treatment lift versus control

Compare treatment conversion rate with control for each experiment that has both variants.

Schema

sql
CREATE TABLE experiments (id INTEGER PRIMARY KEY, name TEXT NOT NULL, started_at TEXT NOT NULL, ended_at TEXT);
CREATE TABLE experiment_assignments (id INTEGER PRIMARY KEY, experiment_id INTEGER NOT NULL, user_id INTEGER NOT NULL, variant TEXT NOT NULL, assigned_at TEXT NOT NULL, segment TEXT NOT NULL);
CREATE TABLE experiment_events (id INTEGER PRIMARY KEY, user_id INTEGER NOT NULL, event_name TEXT NOT NULL, value REAL, occurred_at TEXT NOT NULL);

What this task practices

Treatment lift versus control is a sql case interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Data Reasoning, Validation, Technical Reasoning. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.