FA-84304 / Sports scoring and tiebreakers / Member archive
Passed or failed heights counted as clearances · case 04
A height the athlete passed, or failed three times, is treated as cleared.
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 |
|---|---|---|---|
| boundary fewer misses at best | [[1, "Bo", 180], [null, "Ade", null]] | [[1, "Bo", 180], [2, "Ade", 180]] | 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 ↗