FAILURE MAP
← Case archive

FA-83920 / Sports scoring and tiebreakers / Member archive

Rotations carried over into the next set · case 05

The rotation counters at the start of set two still reflect set one.

Member previewVariant 5 · 3 implementations · 9 checks per implementation

Case contract

Best-of-five volleyball with rally scoring. rallies is a string of rally winners (A/B). Sets 1-4 are played to 25 and set 5 to 15, always win by two with no cap. The rally winner serves next; when the receiving team wins a rally (side-out) that team rotates once (rotation counter modulo 6). At the start of each set both rotation counters reset to 0 and the first server is first_serve in odd-numbered sets and the other team in even-numbered sets. Return [completed and current set scores as [a, b], match winner or None, rotation counters].

Why this case matters

Scoresheet apps track rotations to flag out-of-rotation faults and must reset them each set.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control straight-sets match[[[25, 0], [25, 0], [25, 0]], "A", {"A": 2, "B": 0}][[[25, 0], [25, 0], [25, 0]], "A", {"A": 1, "B": 0}]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 ↗