FA-74818 / Experiment statistics / Member archive
Switchback carryover washout: Events are assigned to the nearest block · case 03
Events late in a block are credited to the next block's arm.
Case contract
Time is split into blocks of block_len minutes; block b runs schedule[b % len(schedule)]. Events [minute, value] in the first washout minutes of a block are excluded only when that block's arm differs from the previous block's arm (block 0 has no previous block). Return [mean A, mean B, excluded count] with None for an arm without events.
Why this case matters
Switchback experiments on marketplaces must discard carryover right after each switch.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| block boundary minute starts the new block | [null, 4.0, 1] | [3.0, 4.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 ↗