FA-84282 / Sports scoring and tiebreakers / Member archive
Disqualified athletes listed as non-finishers · case 02
A disqualified athlete appears in the results as DNF.
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 |
|---|---|---|---|
| control dnf and dq | [[1, "Dee", "11.00"], [null, "Eli", "DNF"], [null, "Fay", "DNF"]] | [[1, "Dee", "11.00"], [null, "Eli", "DNF"]] | 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 ↗