Skip to content

PV move overwritten by TT - #4

Open
En-En-Code wants to merge 1 commit into
tempate:masterfrom
En-En-Code:tt-patch
Open

PV move overwritten by TT#4
En-En-Code wants to merge 1 commit into
tempate:masterfrom
En-En-Code:tt-patch

Conversation

@En-En-Code

Copy link
Copy Markdown

Resolves #2, which is not related to draw detection at all, but due to the possibly of the current board's hash table key matching that of a board in a future variation and being overwritten by default. The fix is to check for conflicting hash keys, and preferring the board with the higher depth.
A test of 500 games of 10+0.1 seconds shows the change is unlikely to have a big impact on play strength. Throughout the entire test, there were few instances where the win-loss difference between the two was more than a small handful of games.

Score of Achillees-tt-patch vs Achillees-master: 166 - 168 - 166  [0.498] 500
...      Achillees-tt-patch playing White: 85 - 77 - 88  [0.516] 250
...      Achillees-tt-patch playing Black: 81 - 91 - 78  [0.480] 250
...      White vs Black: 176 - 158 - 166  [0.518] 500
Elo difference: -1.4 +/- 24.9, LOS: 45.6 %, DrawRatio: 33.2 %

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.

Illegal move

1 participant