FA-85008 / Fantasy sports scoring / Member archive
Upper middle score used as the median in even leagues · case 03
In an eight-team league the fourth-best team is marked below the median every week.
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: even league median | {"T0": [0, 2, 0], "T1": [2, 0, 0], "T2": [1, 0, 1], "T3": [0, 2, 0]} | {"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 ↗