FA-84993 / Fantasy sports scoring / Member archive
Later-day correction overwritten by earlier-day correction · case 03
A Tuesday correction with sequence 0 is overridden by Monday's sequence 2.
Case contract
Corrections are [timestamp seconds, per-day sequence, stat, corrected absolute value]. Apply corrections whose UTC day (timestamp // 86400) is on or before the deadline day, ordered by timestamp then sequence; each replaces the stat value (a later correction wins, a stat missing from the base line is added). Points are the weighted sum over the weight table using corrected stats. Return stats, points and the count of corrections applied.
Why this case matters
Official stat corrections change settled fantasy results days later; their ordering and cutoff rules must be exact.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: ordering by per-day sequence | {"applied": 4, "points": 97, "stats": {"rec": 5, "rush_yds": 72, "td": 0}} | {"applied": 4, "points": 50, "stats": {"rec": 5, "rush_yds": 25, "td": 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 ↗