FAILURE MAP
← Case archive

FA-85050 / Fantasy sports scoring / Member archive

Zero-cent entries listed as winners · case 05

Every non-cashing entry appears in the payout report with 0 cents.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Daily contest entries are [entry id, score in hundredths]; payouts[r] is the prize in cents for finishing position r (0-based), positions past the list pay 0. Entries with equal scores share the positions they jointly occupy: their prizes are summed and split equally, whole cents only, with leftover cents given one each to the tied entries in ascending id order. Return id -> cents for entries receiving more than 0.

Why this case matters

Tie splitting in paid contests moves real money; cent remainders and the pooled positions must be exact.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: remainder-only recipients{"e02": 39, "e07": 500, "e10": 751, "e13": 0, "e15": 750, "e18": 0, "e26": 38, "e28": 0}{"e02": 39, "e07": 500, "e10": 751, "e15": 750, "e26": 38}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 ↗