FAILURE MAP
← Case archive

FA-85105 / Fantasy sports scoring / Member archive

Team without innings gets the best ERA and WHIP · case 05

A roster that never pitched ranks first in both ratio categories.

Member previewVariant 5 · 3 implementations · 7 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: zero innings ratio{"R0": 19, "R1": 27, "R2": 17, "R3": 17}{"R0": 23, "R1": 15, "R2": 21, "R3": 21}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 ↗