FA-74765 / Experiment statistics / Member archive
Pre-period balance check: Constant equal arms are reported as imbalanced · case 05
A binary pre-period flag that is identical in both arms blocks the readout.
Case contract
Standardised mean difference = (mean_t - mean_c) / sqrt((var_c + var_t) / 2) with sample (n - 1) variances; imbalance iff |SMD| > threshold. Zero pooled variance -> [0.0, False] when means are equal else [None, True]. Fewer than two values in an arm -> None. Return [round(smd, 6), imbalance].
Why this case matters
Pre-period imbalance warns that randomisation or logging went wrong before any effect is read.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| constant equal arms | [null, true] | [0.0, false] | 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 ↗