-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix bug with "excludedMove" for probcut #1754
Conversation
@MJZ1977 Congratulations for the patch. The continuous integration check failed because you missed to terminate your commit message with the bench-number. |
Congratulations, this is a good catch! |
I added bench number. Is it OK like this? |
@MJZ1977 Can't see it. |
Must I make a new branch from the beginning ? |
… not skipped, the probcut can exit quickly with wrong return value corresponding to the excluded move. See (https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU) STC : http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a ELO +2.19 LTC : http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 ELO +3.4 To go further : it can be perhaps useful to tune the singular extension search parameters. Bench: 4694445
@MJZ1977 No, not necessary, but app-veyor is still failing. |
Can you please make it, I am not familiar with all these tools. EDIT: OK I understand now, what you call "message" is called "description" in Github desktop... I changed only the title in 1 line before. :D |
… not skipped, the probcut can exit quickly with wrong return value corresponding to the excluded move. See (https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU) STC : http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a ELO +2.19 LTC : http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 ELO +3.4 To go further : it can be perhaps useful to tune the singular extension search parameters. Bench: 4694445
"excludedMove" must be skipped in probcut loop too. If it is not skipped, the probcut can exit quickly with wrong return value corresponding to the excluded move. See (https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU) STC : http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a ELO +2.19 LTC : http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 ELO +3.4 To go further : it can be perhaps useful to tune the singular extension search parameters. Bench: 4694445
Congrats too! Nice that you found the bug. The bug was introduced with this simplification 4d64742. Before this the node pruning methods were skipped if we had an excluded move. Please add to your PR message not the elo value but the complete result like showed on the test page (simply copy paste). See as example the above commit For your STC this could look like following:
Also i would recommend @Rocky640's code rewrite. |
Considering @Rocky640 proposition, it is not a simple rewrite because the loop will stop after we met the excluded move. |
Bench 4694445
Seems weird to write it this way instead of just |
@DU-jdto I agree with you. |
Merged via 10bb2e6, thanks! |
Bugfix: "excludedMove" has to be skipped in the probcut loop too. If it is not skipped, the probcut can exit quickly with a wrong return value corresponding to the excluded move. See the following forum thread for a discussion: https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU STC : LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 17130 W: 3747 L: 3617 D: 9766 http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a LTC : LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 12387 W: 2064 L: 1930 D: 8393 http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 To go further : it can be perhaps useful to tune the singular extension search parameters. Closes #1754 Bench: 4308541
I suppose you mean "How much time does it need in general to merge with master?" It depends if the maintainer is in vacation or not, but as a data point I can say that for |
Bugfix: "excludedMove" has to be skipped in the probcut loop too. If it is not skipped, the probcut can exit quickly with a wrong return value corresponding to the excluded move. See the following forum thread for a discussion: https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU STC : LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 17130 W: 3747 L: 3617 D: 9766 http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a LTC : LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 12387 W: 2064 L: 1930 D: 8393 http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 To go further : it can be perhaps useful to tune the singular extension search parameters. Closes official-stockfish#1754 Bench: 4308541
Bugfix: "excludedMove" has to be skipped in the probcut loop too. If it is not skipped, the probcut can exit quickly with a wrong return value corresponding to the excluded move. See the following forum thread for a discussion: https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU STC : LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 17130 W: 3747 L: 3617 D: 9766 http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a LTC : LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 12387 W: 2064 L: 1930 D: 8393 http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 To go further : it can be perhaps useful to tune the singular extension search parameters. Closes official-stockfish#1754 Bench: 4308541
Bugfix: "excludedMove" has to be skipped in the probcut loop too. If it is not skipped, the probcut can exit quickly with a wrong return value corresponding to the excluded move. See the following forum thread for a discussion: https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU STC : LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 17130 W: 3747 L: 3617 D: 9766 http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a LTC : LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 12387 W: 2064 L: 1930 D: 8393 http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 To go further : it can be perhaps useful to tune the singular extension search parameters. Closes official-stockfish#1754 Bench: 4308541
Bugfix: "excludedMove" has to be skipped in the probcut loop too. If it is not skipped, the probcut can exit quickly with a wrong return value corresponding to the excluded move. See the following forum thread for a discussion: https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU STC : LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 17130 W: 3747 L: 3617 D: 9766 http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a LTC : LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 12387 W: 2064 L: 1930 D: 8393 http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21 To go further : it can be perhaps useful to tune the singular extension search parameters. Closes official-stockfish#1754 Bench: 4308541
Bugfix :
"excludedMove" must be skipped in probcut loop too. If it is not skipped, the probcut can exit quickly with wrong return value corresponding to the excluded move.
See (https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/GGithf_VwSU)
STC :
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 17130 W: 3747 L: 3617 D: 9766
http://tests.stockfishchess.org/tests/view/5b8460c40ebc5902bdbb999a
LTC :
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 12387 W: 2064 L: 1930 D: 8393
http://tests.stockfishchess.org/tests/view/5b8466f90ebc5902bdbb9a21
To go further : it can be perhaps useful to tune the singular extension search parameters.
Bench: 4694445