Declare an insertion rule before accepting challenges
This fictional ladder permits an upward challenge of one to three positions. When the challenger wins, remove that team from its old position and insert it at the defender’s old position. Every intervening team, including the defender, moves down one place. A defender win leaves all positions unchanged.
Keep one accepted unfinished challenge per team and process the confirmed results serially in this example. The full starting ladder is A/B/C/D/E/F. Scores are decisive; a tied result would need the club’s announced resolution procedure.
| ID / input | Challenge | Confirmed score | Action / output |
|---|---|---|---|
| L1 / v1 | E at 5 → B at 2 | E 21–18 B | Insert E at 2 / v2 |
| L2 / v2 | F at 6 → C at 4 | F 21–19 C | Insert F at 4 / v3 |
| L3 / v3 | D at 6 → B at 3 | D 17–21 B | Defender B wins / v4 |
| Position | v1 | v2 | v3 | v4 |
|---|---|---|---|---|
| 1 | A | A | A | A |
| 2 | B | E | E | E |
| 3 | C | B | B | B |
| 4 | D | C | F | F |
| 5 | E | D | C | C |
| 6 | F | F | D | D |
Notify the whole moved segment
| Result | Moved teams | Unchanged teams |
|---|---|---|
| L1 | E 5→2; B 2→3; C 3→4; D 4→5 | A 1; F 6 |
| L2 | F 6→4; C 4→5; D 5→6 | A 1; E 2; B 3 |
| L3 | None | A 1; E 2; B 3; F 4; C 5; D 6 |
- At L1 acceptance, the distance is 5 − 2 = 3. Removing E gives A/B/C/D/F; inserting E at position 2 gives A/E/B/C/D/F. B moves to 3, not to E’s former position 5.
- Accept L2 against v2: F at 6 challenges C at 4, a distance of 2. Insert F at 4 to produce A/E/B/F/C/D. C and D move down together.
- L3 uses v3, where D is at 6 and B at 3. The distance is 3; B’s defender win leaves v4 identical to v3.
- Check that each version contains A–F exactly once with six occupied positions. Retain the score, input version and moved segment before issuing each new ladder.
Completed notice: “v4 A/E/B/F/C/D; L1 and L2 insertions applied; L3 defender win, no movement.” Notify intervening teams whose positions changed even though they did not play. Pending requests must be rechecked against the latest issued version; old position numbers do not establish current eligibility.
The swap ladder moves only the two opponents. Applying its rule to L1 would leave C/D in place and send B to 5, a different order. Neither policy is universally required. These are manual examples; the fixture generator has no ladder mode or concurrent-challenge conflict resolver.