FAILURE MAP
← Case archive

FA-83929 / Sports scoring and tiebreakers / Member archive

Volleyball set capped like badminton · case 04

A set is closed at 25-24 or at a 27-26 cap instead of continuing until a two-point lead.

Member previewVariant 4 · 3 implementations · 10 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
boundary deuce in set[[[25, 24], [1, 0]], null, {"A": 1, "B": 0}][[[26, 24]], null, {"A": 0, "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 ↗