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

Razor more if ss+1 cutoffCnt > 3 #4822

Closed
wants to merge 1 commit into from

Conversation

candirufish
Copy link
Contributor

Razor more if ss+1 cutoffCnt > 3

STC:
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 221760 W: 56726 L: 56144 D: 108890
Ptnml(0-2): 655, 25453, 58123, 25953, 696
https://tests.stockfishchess.org/tests/view/651d34dbcff46e538ee05d91

LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 130326 W: 33188 L: 32681 D: 64457
Ptnml(0-2): 69, 13949, 36620, 14456, 69
https://tests.stockfishchess.org/tests/view/651f844eac577114367273d5

bench: 1265975

@Disservin Disservin added bench-change Changes the bench 🚀 gainer Gains elo labels Oct 7, 2023
@vondele
Copy link
Member

vondele commented Oct 8, 2023

As discussed in discorded, we have one test where this patch triggers a mated-in reported in fewer than the optimal move sequence. This is probably a pre-existing condition, but this patch makes it somewhat more likely. It is something to look into in the future.

@vondele vondele added the to be merged Will be merged shortly label Oct 8, 2023
@vondele vondele closed this in 25d444e Oct 8, 2023
@vondele
Copy link
Member

vondele commented Oct 8, 2023

Found mate #-5 (better) for FEN "6k1/2B5/6p1/2K2p2/6n1/8/4n3/2q5 w - -".
go nodes 1000000:
info depth 30 seldepth 15 multipv 1 score mate -5 nodes 1000552 nps 1299418 hashfull 274 tbhits 0 time 770 pv c5d6 g4e5 d6e7 c1c7 e7f6 c7d6 f6g5 e5f7 g5h4 d6h2

@peregrineshahin
Copy link
Contributor

peregrineshahin commented Jan 15, 2024

Found mate #-5 (better) for FEN "6k1/2B5/6p1/2K2p2/6n1/8/4n3/2q5 w - -". go nodes 1000000: info depth 30 seldepth 15 multipv 1 score mate -5 nodes 1000552 nps 1299418 hashfull 274 tbhits 0 time 770 pv c5d6 g4e5 d6e7 c1c7 e7f6 c7d6 f6g5 e5f7 g5h4 d6h2

applying the prove-mated PR #4990 retroactively
Solves this https://github.com/peregrineshahin/Stockfish/tree/candriu-patch

$ ./stockfish.exe
Stockfish dev-20240115-nogit by the Stockfish developers (see AUTHORS file)
position fen 6k1/2B5/6p1/2K2p2/6n1/8/4n3/2q5 w - -
go nodes 1000000
info string NNUE evaluation using nn-0000000000a0.nnue
info depth 1 seldepth 1 multipv 1 score cp -854 nodes 7 nps 2333 hashfull 0 tbhits 0 time 3 pv c5d6
info depth 2 seldepth 2 multipv 1 score cp -854 nodes 17 nps 4250 hashfull 0 tbhits 0 time 4 pv c5d6
info depth 3 seldepth 2 multipv 1 score cp -854 nodes 22 nps 5500 hashfull 0 tbhits 0 time 4 pv c5d6
info depth 4 seldepth 2 multipv 1 score cp -893 nodes 64 nps 10666 hashfull 0 tbhits 0 time 6 pv c5b6
info depth 5 seldepth 3 multipv 1 score cp -865 nodes 131 nps 16375 hashfull 0 tbhits 0 time 8 pv c5b6 c1e3 b6c6
info depth 6 seldepth 4 multipv 1 score cp -892 nodes 205 nps 20500 hashfull 0 tbhits 0 time 10 pv c5b6 c1b2 b6a6 b2a2 c7a5
info depth 7 seldepth 6 multipv 1 score cp -866 nodes 290 nps 26363 hashfull 0 tbhits 0 time 11 pv c5b6 c1b1 b6c6
info depth 8 seldepth 6 multipv 1 score cp -857 nodes 595 nps 37187 hashfull 0 tbhits 0 time 16 pv c5b6 c1b2 b6a6 b2a1 a6b7 a1h1 b7b8
info depth 9 seldepth 9 multipv 1 score cp -860 nodes 1283 nps 49346 hashfull 0 tbhits 0 time 26 pv c5b6 c1g1 b6c6
info depth 10 seldepth 9 multipv 1 score cp -870 nodes 2042 nps 55189 hashfull 0 tbhits 0 time 37 pv c5b6 c1b2 b6a6 b2a1 a6b7 a1h1 b7a7 e2d4
info depth 11 seldepth 9 multipv 1 score cp -884 nodes 3867 nps 64450 hashfull 1 tbhits 0 time 60 pv c5d6 c1d2 d6c6 e2d4 c6b7 d2g2 b7b8
info depth 12 seldepth 12 multipv 1 score cp -907 nodes 8460 nps 74867 hashfull 3 tbhits 0 time 113 pv c5b6 g4f6 b6b7 e2d4 b7c8 c1c6
info depth 13 seldepth 11 multipv 1 score cp -951 nodes 17325 nps 70714 hashfull 6 tbhits 0 time 245 pv c5b6 e2d4 b6a6 c1c6 c7b6 c6a8 b6a7 a8c8 a6a5
info depth 14 seldepth 16 multipv 1 score cp -978 nodes 49758 nps 84192 hashfull 13 tbhits 0 time 591 pv c5b6 e2d4 c7d8 c1c6 b6a7 c6d7 a7a6 d7d8
info depth 15 seldepth 20 multipv 1 score cp -1005 nodes 77750 nps 88857 hashfull 20 tbhits 0 time 875 pv c5d6 e2d4 d6d5 c1c6 d5d4 c6c7 d4d3 g4f6 d3d4 f6e4 d4e3 c7b6 e3f4
info depth 16 seldepth 24 multipv 1 score mate -20 nodes 118559 nps 91059 hashfull 33 tbhits 0 time 1302 pv c5d6 e2d4 d6d5 c1c6 d5d4 c6c7 d4d5 c7b6 d5c4 g4f6 c4d3 f6e4 d3c2 g8f7 c2c1 b6c5 c1b2
 f5f4 b2b3
info depth 17 seldepth 19 multipv 1 score mate -20 nodes 120713 nps 91380 hashfull 33 tbhits 0 time 1321 pv c5d6 e2d4 d6d5 c1c6 d5d4 c6c7 d4d5 c7b6 d5c4 g4f6 c4d3 f6e4 d3c2 g8f7 c2c1 b6c5 c1b2
 f5f4 b2b3
info depth 18 seldepth 23 multipv 1 score mate -8 nodes 129183 nps 91619 hashfull 33 tbhits 0 time 1410 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c5 d4d3 c5c3 d3e2 c3d2 e2f1 d2f2
info depth 19 seldepth 15 multipv 1 score mate -7 nodes 134368 nps 91781 hashfull 35 tbhits 0 time 1464 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 20 seldepth 15 multipv 1 score mate -7 nodes 139444 nps 91679 hashfull 36 tbhits 0 time 1521 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 21 seldepth 15 multipv 1 score mate -7 nodes 149006 nps 91023 hashfull 38 tbhits 0 time 1637 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 22 seldepth 15 multipv 1 score mate -7 nodes 160816 nps 91062 hashfull 42 tbhits 0 time 1766 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 23 seldepth 15 multipv 1 score mate -7 nodes 183462 nps 91731 hashfull 47 tbhits 0 time 2000 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 24 seldepth 15 multipv 1 score mate -7 nodes 226094 nps 92966 hashfull 59 tbhits 0 time 2432 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 25 seldepth 15 multipv 1 score mate -7 nodes 281312 nps 93770 hashfull 73 tbhits 0 time 3000 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 26 currmove c5d5 currmovenumber 2
info depth 26 currmove c5b4 currmovenumber 3
info depth 26 currmove c5b5 currmovenumber 4
info depth 26 currmove c5b6 currmovenumber 5
info depth 26 seldepth 15 multipv 1 score mate -7 nodes 349550 nps 93738 hashfull 92 tbhits 0 time 3729 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 27 currmove c5d6 currmovenumber 1
info depth 27 currmove c5d5 currmovenumber 2
info depth 27 currmove c5b4 currmovenumber 3
info depth 27 currmove c5b6 currmovenumber 4
info depth 27 currmove c5b5 currmovenumber 5
info depth 27 seldepth 15 multipv 1 score mate -7 nodes 437921 nps 93793 hashfull 122 tbhits 0 time 4669 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 28 currmove c5d6 currmovenumber 1
info depth 28 currmove c5b4 currmovenumber 2
info depth 28 currmove c5d5 currmovenumber 3
info depth 28 currmove c5b6 currmovenumber 4
info depth 28 currmove c5b5 currmovenumber 5
info depth 28 seldepth 15 multipv 1 score mate -7 nodes 562973 nps 93781 hashfull 160 tbhits 0 time 6003 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 29 currmove c5d6 currmovenumber 1
info depth 29 currmove c5b4 currmovenumber 2
info depth 29 currmove c5d5 currmovenumber 3
info depth 29 currmove c5b6 currmovenumber 4
info depth 29 currmove c5b5 currmovenumber 5
info depth 29 seldepth 15 multipv 1 score mate -7 nodes 729986 nps 92861 hashfull 207 tbhits 0 time 7861 pv c5d6 e2d4 d6d5 c1c7 d5d4 g4f6 d4d3 f6e4 d3d4 c7c2 d4d5 c2c5 d5e6 c5d6
info depth 30 currmove c5d6 currmovenumber 1
info depth 30 currmove c5b4 currmovenumber 2
info depth 30 currmove c5d5 currmovenumber 3
info depth 30 currmove c5b6 currmovenumber 4
bestmove c5d6 ponder e2d4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bench-change Changes the bench 🚀 gainer Gains elo to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants