FAILURE MAP
← Case archive

FA-84179 / Sports scoring and tiebreakers / Member archive

No-return hole crashes or vanishes from the card · case 04

A hole marked with no score raises an error or disappears from the per-hole list.

Member previewVariant 4 · 3 implementations · 9 checks per implementation

Case contract

Stableford points with stroke allocation. holes rows are [par, stroke_index, strokes] with stroke index 1-18 and strokes None for a hole with no score. A handicap H >= 0 receives H // 18 strokes on every hole plus one more on holes with stroke index <= H % 18. A plus handicap (H < 0) gives back one stroke on holes with stroke index > 18 + H. Points = max(0, 2 + par - (strokes - received)); a hole with no score earns 0. Return [total, per-hole points].

Why this case matters

Club competition software computes Stableford totals from gross cards and course handicaps.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control blob hole"raised TypeError"[0, [0, 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 ↗