FA-84278 / Sports scoring and tiebreakers / Member archive
Tied athletes given consecutive places or dense ranks · case 03
Two athletes on the same hundredth are given places 1 and 2, or the next athlete is placed 2nd.
Case contract
Sprint results. results rows are [name, time] where time is seconds with up to three decimals, or "DNF"/"DQ". Times are rounded up to the next hundredth for publication. Rank by rounded time then name; equal rounded times share the place and the next place is skipped (1, 2, 2, 4). DNF athletes follow the finishers in name order with place None and time "DNF"; DQ athletes are omitted. Return [place, name, time "S.hh"] rows.
Why this case matters
Result feeds publish hundredths from fully automatic timing and must rank ties consistently.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| boundary shared place skips next | [[1, "Ade", "10.11"], [2, "Bo", "10.11"], [3, "Cy", "10.20"]] | [[1, "Ade", "10.11"], [1, "Bo", "10.11"], [3, "Cy", "10.20"]] | 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 ↗