FAILURE MAP
← Case archive

FA-85098 / Fantasy sports scoring / Member archive

WHIP ranked high-to-low · case 03

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

Member previewVariant 3 · 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": 26, "R1": 24, "R2": 31, "R3": 29, "R4": 30, "R5": 28}{"R0": 28, "R1": 18, "R2": 29, "R3": 39, "R4": 36, "R5": 18}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 ↗