FAILURE MAP
← Case archive

FA-74444 / Experiment statistics / Member archive

CUPED covariate adjustment: Theta is fitted on the control arm only · case 04

The adjustment ignores treatment data and centres on the control covariate mean.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

theta = cov(y, x) / var(x) over the pooled data of both arms (theta = 0 when x is constant). Each arm's adjusted mean is mean(y_arm) - theta * (mean(x_arm) - pooled mean(x)). Return [theta, adjusted control, adjusted treatment, difference] rounded to 6 places.

Why this case matters

CUPED uses pre-period data to cut variance; mistakes either waste it or bias the estimate.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
pre-period imbalance is corrected[2.0, 12.0, 12.0, 0.0][2.0, 14.0, 14.0, 0.0]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗