FA-74544 / Experiment statistics / Member archive
Post-exposure metric window: Activity before exposure is counted · case 04
Treatment effects are diluted by behaviour that happened before users saw the change.
Case contract
events are [user, day, value]; exposures maps user -> first exposure day. A user's metric sums values of their events with exposure_day <= day < exposure_day + window_days. Every exposed user appears, even with no qualifying events; unexposed users are dropped. Return sorted [user, total].
Why this case matters
Counting pre-exposure activity dilutes effects; dropping silent users biases means upward.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| pre-exposure activity is excluded | [["a", 7]] | [["a", 2]] | 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 ↗