Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔍 Implement razoring #429

Merged
merged 10 commits into from Oct 17, 2023
Merged

🔍 Implement razoring #429

merged 10 commits into from Oct 17, 2023

Conversation

eduherminio
Copy link
Member

@eduherminio eduherminio commented Oct 5, 2023

Initial impl, wrong

Score of Lynx 1606 - razoring vs Lynx 1605 - main: 13 - 170 - 17  [0.107] 200
...      Lynx 1606 - razoring playing White: 8 - 81 - 11  [0.135] 100
...      Lynx 1606 - razoring playing Black: 5 - 89 - 6  [0.080] 100
...      White vs Black: 97 - 86 - 17  [0.527] 200
Elo difference: -367.7 +/- 71.2, LOS: 0.0 %, DrawRatio: 8.5 %
SPRT: llr -2.95 (-100.2%), lbound -2.94, ubound 2.94 - H0 was accepted

1613 WIP, ruins long running tests:

Score of Lynx 1613 razoring maxdepth 3 vs Lynx 1605 - main: 11957 - 11632 - 7931  [0.505] 31520
...      Lynx 1613 razoring maxdepth 3 playing White: 7492 - 4346 - 3922  [0.600] 15760
...      Lynx 1613 razoring maxdepth 3 playing Black: 4465 - 7286 - 4009  [0.411] 15760
...      White vs Black: 14778 - 8811 - 7931  [0.595] 31520
Elo difference: 3.6 +/- 3.3, LOS: 98.3 %, DrawRatio: 25.2 %
SPRT: llr 1.89 (64.1%), lbound -2.94, ubound 2.94

1614: 👍🏽 although it ruins fast (draw detection) and long running tests

Score of Lynx 1614 - razoring vs Lynx 1605 - main: 2629 - 2429 - 1828  [0.515] 6886
...      Lynx 1614 - razoring playing White: 1670 - 896 - 877  [0.612] 3443
...      Lynx 1614 - razoring playing Black: 959 - 1533 - 951  [0.417] 3443
...      White vs Black: 3203 - 1855 - 1828  [0.598] 6886
Elo difference: 10.1 +/- 7.0, LOS: 99.8 %, DrawRatio: 26.5 %
SPRT: llr 2.95 (100.1%), lbound -2.94, ubound 2.94 - H1 was accepted

Example of one of the passing, but super long tests:

  • Passed Mate_in_4_Collection("bK1N2N1/5Qnr/2p4p/2pnk3/8/1p1BPP2/6rp/7q w - - 0 1 ",["d3c4"],"") [2 h 32 m]

1675, double checking after latest changes
8+0.08:

Score of Lynx 1675 - razoring vs Lynx 1674 - main: 1949 - 1759 - 1195  [0.519] 4903
...      Lynx 1675 - razoring playing White: 1227 - 629 - 596  [0.622] 2452
...      Lynx 1675 - razoring playing Black: 722 - 1130 - 599  [0.417] 2451
...      White vs Black: 2357 - 1351 - 1195  [0.603] 4903
Elo difference: 13.5 +/- 8.5, LOS: 99.9 %, DrawRatio: 24.4 %
SPRT: llr 2.95 (100.0%), lbound -2.94, ubound 2.94 - H1 was accepted

@eduherminio eduherminio marked this pull request as ready for review October 17, 2023 09:36
@eduherminio eduherminio merged commit e76c28f into main Oct 17, 2023
21 checks passed
@eduherminio eduherminio deleted the search/razoring branch October 17, 2023 12:47
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.

None yet

1 participant