Repository navigation
Add PGN4 team replay with forced recorded moves and move comparison - #6
Merged
Merged
Conversation
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.
Feature
Add
tunex replayto reproduce recorded IronPhoenix 4-player Teams games while preserving the same engine process and its accumulated search history.configs/*.txt(or any TXT path).--team RYor--team BG. Tunex searches only the selected team's turns and takes all other moves directly from the PGN.bestmove, the recorded move, MATCH or DIFFERENT, and available cp/mate score.ucinewgameonly once; use one engine process to retain search histories and transposition-table contents across selected-team searches.--reportJSON output with per-ply comparisons.Usage
The PGN and report paths resolve relative to the selected config's directory. Adjust the executable path, thread count and
searchsettings first.Verification
Added test coverage for PGN4 round parsing, selection of only the tested team's searches, forced move continuation, persistent process/new game semantics and report output. CI and actual engine integration not yet verified; please run pytest and a real IronPhoenix replay.
Caveat
History from the selected engine's searched turns is retained; forced opponent turns do not themselves execute opponent searches. A replay can therefore differ from original online play when multiple engines or nondeterministic threads were involved.