n is proportional to the variance, so any cut in variance is the same cut in users. Three tools do most of the work, and CUPED is the first.
CUPED, which the CUPED lesson covers, subtracts the part of the metric that a pre-experiment covariate predicts. A covariate here is a number you already had for each user before the test began. With correlation ρ, rho, between the covariate and the metric, the variance shrinks to 1−ρ2 of what it was, and n with it.
In a simulation with ρ=0.7, a test that needed 1,570 users per arm on the raw metric got by with 801. At 801 users per arm the CUPED-adjusted comparison had 80% power, and the raw one 52%.
In the editor, raw_n is the formula before rounding. Write cuped_per_arm(p_baseline, mde, rho): the users per arm after CUPED, the table's last column.