Skip to content

Arena: leave an unplayable game out instead of failing the match - #8

Merged
DevomB merged 1 commit into
mainfrom
arena-skip-unplayable-games
Nov 12, 2026
Merged

DevomB merged 1 commit into
mainfrom
arena-skip-unplayable-games

Conversation

@DevomB

@DevomB DevomB commented Nov 11, 2026

Copy link
Copy Markdown
Owner

What happened

A training run on a 32-vCPU server crashed ten minutes in. In one of the 40 games of gen-0004 against GNU Go level 1, GNU Go played a move the arena rejected:

arena: game 38 attempt 1 failed: arena: gnugo-l1: illegal move F6 for W
arena: game 38 attempt 2 failed: arena: gnugo-l1: illegal move F6 for W
arena: game 38 attempt 3 failed: arena: gnugo-l1: illegal move F6 for W
gofer: arena: gnugo-l1: illegal move F6 for W

The match returned an error, gofer arena exited non-zero and training.loop died with it. (That run survived because it was a systemd service with Restart=on-failure; a run in tmux, as the docs suggest, would have stopped.)

Changes

  • A game that fails three times is left out of the result, listed in skipped in the result JSON and logged. The match fails only when more than a tenth of its games cannot be played, which points at a broken engine rather than one bad game.
  • The SPRT passes over a pair with a skipped game, as it does over a split pair. Before, it would have waited for the missing game for the rest of the match and ended undecided.
  • GNU Go is started with --positional-superko. The arena plays positional superko and GNU Go's default is simple ko. Occupancy, simple ko and suicide are judged the same by both, so a repeated position is the one move GNU Go could make that the arena rejects.
  • training.loop logs how many games of a match were left out.

What is and is not established

  • The failure did not reproduce in two reruns of the same match (same network, same seed) on a laptop; GNU Go's play differs from run to run. The superko explanation is an inference from the rules the two programs share, not an observed position.
  • The skip path does not depend on that explanation: whatever makes a game unplayable, the match now survives it.

Tested

  • go test ./internal/arena: a match in which one game is unplayable finishes with that game skipped and the other nine counted; a match in which no game can be played still fails; the SPRT reaches the same decision when the first game of a match is skipped.
  • 27 Python tests pass (1 new).
  • A 40-game match against GNU Go 3.8 level 6 with the new flag ran to the end: 31–9, nothing skipped.

🤖 Generated with Claude Code

A training run crashed ten minutes in: in one of 40 games against GNU Go,
GNU Go played a move the arena rejected ("illegal move F6 for W"), the game
failed the same way on all three attempts, the match returned an error and
the loop died with it.

- A game that fails three times is left out of the result and listed in
  Result.Skipped; the match fails only when more than a tenth of its games
  do. The SPRT passes over a pair with a skipped game, as it does over a
  split pair, instead of waiting for it forever.
- GNU Go is started with --positional-superko. The arena plays positional
  superko and GNU Go's default is simple ko; that is the only legality rule
  on which the two differ, so a repeated position is the likely cause.
- The loop logs how many games of a match were left out.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
gofer Ready Ready Preview Nov 11, 2026 11:09pm UTC

@DevomB
DevomB merged commit ac90877 into main Nov 12, 2026
9 checks passed
@DevomB
DevomB deleted the arena-skip-unplayable-games branch November 12, 2026 05:41

This branch was successfully deployed

1 active deployment
Preview — dc2a6465 Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant