FAILURE MAP
← Case archive

FA-84862 / Fantasy sports scoring / Member archive

Score display rounds half-hundredths with binary float formatting · case 02

A 12.25 score shows as 12.2 on the scoreboard while 12.35 shows 12.3 or 12.4 depending on float noise.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Score a skill-player stat line in integer hundredths. Passing yards earn 1 point per full 25 yards, rushing and receiving yards 1 point per full 10 yards, each category truncated toward zero separately. Pass TD 4, interception -2, rush/receiving TD 6, fumble lost -2 (fumbles recovered by the own team are free), two-point conversion 2, each first down 0.25. Receptions are worth 0/0.5/1 for std/half/ppr, and a TE earns an extra 0.5 per reception on top. 300+ passing, 100+ rushing and 100+ receiving yards each add a 3 point bonus. The display string rounds to tenths half away from zero and never shows -0.0.

Why this case matters

Fantasy football points drive weekly matchups and payouts; small unit or boundary mistakes flip results that users dispute.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: display rounding{"display": "-4.2", "hundredths": -425}{"display": "-4.3", "hundredths": -425}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 ↗