FAILURE MAP
← Case archive

FA-85100 / Fantasy sports scoring / Member archive

WHIP ranked high-to-low · case 05

The staff allowing the most baserunners collects the most WHIP points.

Member previewVariant 5 · 3 implementations · 6 checks per implementation

Case contract

Rotisserie categories HR and SB rank high-to-low; ERA (earned runs x 27 / outs) and WHIP ((walks + hits) x 3 / outs) rank low-to-high using exact ratios. A team with zero outs has no ERA/WHIP and ranks last. With n teams the best rank earns n points and the worst 1; tied teams share the average of the positions they occupy. Return team -> doubled roto points (integers).

Why this case matters

Roto standings aggregate ratios and ties across categories; ratio precision and tie averaging decide league titles.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: lower-is-better categories{"R0": 15, "R1": 33, "R2": 37, "R3": 19, "R4": 29, "R5": 35}{"R0": 15, "R1": 25, "R2": 37, "R3": 27, "R4": 33, "R5": 31}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 ↗