Repository navigation
Arena: leave an unplayable game out instead of failing the match - #8
Merged
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What happened
A training run on a 32-vCPU server crashed ten minutes in. In one of the 40 games of
gen-0004against GNU Go level 1, GNU Go played a move the arena rejected:The match returned an error,
gofer arenaexited non-zero andtraining.loopdied with it. (That run survived because it was a systemd service withRestart=on-failure; a run intmux, as the docs suggest, would have stopped.)Changes
skippedin 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.--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.looplogs how many games of a match were left out.What is and is not established
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.🤖 Generated with Claude Code