FA-84082 / Sports scoring and tiebreakers / Member archive
Perfect record rendered as ".000" · case 02
An unbeaten team shows ".000" instead of "1.000".
Case contract
Division standings. teams rows are [name, wins, losses]. Win percentage is wins / games (0 for no games) shown with three decimals and the leading zero dropped (".500", but "1.000"). Sort by win percentage, then more wins, then name. The leader is the first sorted row; games behind = ((leader_wins - wins) + (losses - leader_losses)) / 2, shown as "-" when zero and otherwise with one decimal (negative values allowed). Return [name, pct, gb] rows.
Why this case matters
Standings pages and playoff-race widgets print win percentage and games behind.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| boundary perfect record | [["Suns", ".000", "-"], ["Jets", ".500", "1.5"]] | [["Suns", "1.000", "-"], ["Jets", ".500", "1.5"]] | 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 ↗