FA-84289 / Sports scoring and tiebreakers / Member archive
Countback skips failures at the best height · case 04
An athlete with a first-attempt clearance at the best height is ranked below one who needed three.
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: best height misses | [[1, "Dee", 186], [2, "Ade", 183], [2, "Cy", 183]] | [[1, "Dee", 186], [2, "Cy", 183], [3, "Ade", 183]] | 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 ↗