FA-85014 / Fantasy sports scoring / Member archive
Median ending in .005 truncated before comparison · case 04
A team exactly 0.005 below a half-hundredth median is recorded as a median tie.
Case contract
Weekly fantasy scores are integer hundredths. Each head-to-head pair records a win/loss or a tie on equal scores (an odd team out has no head-to-head game). Every team also plays the league median: the middle score for an odd team count or the mean of the two middle scores for an even count; above the median is a win, below a loss, equal a tie. Return team -> [wins, losses, ties].
Why this case matters
Median-scoring leagues award a second result each week; the median definition and half-point comparisons decide playoff races.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: half-point median comparison | {"T0": [0, 2, 0], "T1": [2, 0, 0], "T2": [2, 0, 0], "T3": [0, 1, 1]} | {"T0": [0, 2, 0], "T1": [2, 0, 0], "T2": [2, 0, 0], "T3": [0, 2, 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 ↗