FA-84294 / Sports scoring and tiebreakers / Member archive
Total failures include heights above the best · case 04
Failures at the height where the athlete went out count in the countback.
Case contract
High jump placing. records rows are [name, [[height_cm, attempts], ...]] where attempts is a string of X (failure), O (clearance) or "-" (pass). Best height is the highest cleared. Rank by best height descending, then fewest failures at the best height, then fewest total failures at heights up to and including the best; athletes equal on all three share the place (the next place is skipped). Athletes without a clearance come last with place None in name order. Return [place, name, best].
Why this case matters
Vertical jump results depend on countback rules that are easy to misapply.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: total misses range | [[1, "Eli", 186], [2, "Dee", 183], [3, "Ade", 183], [null, "Fay", null]] | [[1, "Eli", 186], [2, "Ade", 183], [2, "Dee", 183], [null, "Fay", null]] | 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 ↗