FAILURE MAP
← Case archive

FA-84977 / Fantasy sports scoring / Member archive

Same player started in two slots · case 02

A player swapped into a second slot counts twice in the total.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Apply lineup swaps [time, slot, incoming player] in time order (submission order on equal times). A swap is rejected if either the outgoing or incoming player's game has kicked off at or before the swap time, or if the incoming player already occupies another slot. Return the final lineup, the sorted indices of rejected swaps and the lineup's total points.

Why this case matters

Game-time lineup locks decide whether late swaps count; wrong lock semantics let users bench players after they score.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: duplicate starter check{"final": {"S1": "p2", "S2": "p1", "S3": "p2"}, "rejected": [], "total": 20}{"final": {"S1": "p0", "S2": "p1", "S3": "p2"}, "rejected": [0], "total": 41}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 ↗