FA-84044 / Sports scoring and tiebreakers / Member archive
Try bonus requires five tries · case 04
Teams scoring exactly four tries are denied the bonus point.
Case contract
Rugby union league points. results rows are [team, tries, score, opponent, opp_tries, opp_score]. Win 4 points, draw 2, loss 0. A try bonus point is earned by any team scoring 4 or more tries, and a losing bonus point by a team that loses by 7 points or fewer (both can apply to a loser). Rank by points, then wins, then points difference, then name. Return [team, points, wins, points difference] rows for teams that appear.
Why this case matters
Bonus-point tables are tight; each threshold changes qualification.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| boundary four tries in defeat | [["Bath", 4, 1, 6], ["Leeds", 1, 0, -6]] | [["Bath", 4, 1, 6], ["Leeds", 2, 0, -6]] | 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 ↗