FAILURE MAP
← Case archive

FA-83892 / Sports scoring and tiebreakers / Member archive

Best-of-five match decided after the wrong number of sets · case 02

A best-of-five match is declared over while a player has only two sets.

Member previewVariant 2 · 3 implementations · 10 checks per implementation

Case contract

games is a string of game winners (A/B); best_of is 3 or 5. A set is won by the first player to 6 games with a lead of two, or at 7 games (7-5, or 7-6 after the tiebreak game played at 6-6). The match ends when a player has won best_of // 2 + 1 sets; later games are ignored. Return [set scores as "a-b" strings in A-B order, match winner or None]; an unfinished set with at least one game is appended as its current score.

Why this case matters

Tournament live-results feeds reconstruct set scores from game-level events.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control bagel set[["6-0"], "A"][["6-0"], null]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 ↗