Hello,
I have problem when i had aspiration search in my chess engine.
In this diagram for example :
[diag]8/k7/3p4/p2P1p2/P2P1P2/8/8/K7 w - - 0 1[/diag]
Search with only hash table;
[-32500,32500]
info score cp 105 depth 1 nodes 8 pv a1b2
[-32500,32500]
info score cp 100 depth 2 nodes 25 pv a1b2 a7b7
[-32500,32500]
info score cp 105 depth 3 nodes 79 pv a1b2 a7b7 b2c3
[-32500,32500]
info score cp 105 depth 4 nodes 171 pv a1b2 a7b7 b2c3 b7c7
[-32500,32500]
info score cp 105 depth 5 nodes 345 pv a1b2 a7b7 b2c3 b7c7 c3d3
[-32500,32500]
info score cp 105 depth 6 nodes 560 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7
[-32500,32500]
info score cp 105 depth 7 nodes 819 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 8 nodes 1204 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 9 nodes 1563 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 10 nodes 2066 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 11 nodes 2546 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 12 nodes 3161 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 13 nodes 3767 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 14 nodes 4516 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 15 nodes 5256 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 16 nodes 6728 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500]
info score cp 105 depth 17 nodes 8060 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[-32500,32500] => [alpha, beta] for search depth 18
info score cp 230 depth 18 nodes 41352 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6
[-32500,32500]
info score cp 230 depth 19 nodes 56060 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5c6 h5g4 c6d6 g4f4 d6c5
[-32500,32500]
info score cp 220 depth 20 nodes 1081477 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5c6 h5g4 c6d6 g4f4 d6c5 f4e4
[-32500,32500]
info score cp 220 depth 21 nodes 10606010 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5c6 h5g4 c6d6 g4f4 d6c5 f4e4 d5d6
[-32500,32500]
info score cp 220 depth 22 nodes 13273129 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5a5 h5g4 a5b5 g4f4 b5c6 f4e4 c6d6 e4d4
[-32500,32500]
info score cp 220 depth 23 nodes 23453939 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7d8 c2c3 d8c7 c3d3 c7b7 d3e3 b7c7 e3d3 c7b7 d3e2 b7c7 e2d1 c7d7
[-32500,32500]
info score cp 220 depth 24 nodes 27432907 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5a5 h5g4 a5b5 g4f4 b5c6 f4e4 c6d6 e4d4 a4a5 f5f4
[-32500,32500]
info score cp 220 depth 25 nodes 44384388 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7c8 c2d2 c8d8 d2c3 d8c7 c3d3 c7b7 d3e3 b7c7 e3d3 c7b7 d3e2 b7c7 e2d1 c7d7
bestmove a1b1 ponder a7b7
Search with hash table + aspiration search ( + - 50 ) ;
[-32500,32500]
info score cp 105 depth 1 nodes 8 pv a1b2
[55,155]
info score cp 100 depth 2 nodes 25 pv a1b2 a7b7
[50,150]
info score cp 105 depth 3 nodes 79 pv a1b2 a7b7 b2c3
[55,155]
info score cp 105 depth 4 nodes 171 pv a1b2 a7b7 b2c3 b7c7
[55,155]
info score cp 105 depth 5 nodes 345 pv a1b2 a7b7 b2c3 b7c7 c3d3
[55,155]
info score cp 105 depth 6 nodes 560 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7
[55,155]
info score cp 105 depth 7 nodes 819 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 8 nodes 1200 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 9 nodes 1559 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 10 nodes 2061 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 11 nodes 2541 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 12 nodes 3156 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 13 nodes 3762 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 14 nodes 4511 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 15 nodes 5251 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 16 nodes 6475 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155]
info score cp 105 depth 17 nodes 7632 pv a1b2 a7b7 b2c3 b7c7 c3d3 c7b7 d3c3 b7c7
[55,155] => [alpha, beta] for search depth 18
info score cp 105 depth 18 nodes 13242 pv a1b2 a7a8 b2c3 a8b7 c3d3 b7c7 d3c3
Score in [ 55 , 155 ] => no research with a full window
[55,155] => [alpha, beta] for search depth 19 score is not in [55,155] => research with [ -infinty , +infinity ]
[-32500,32500]
info score cp 105 depth 19 nodes 959732 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7c7 c2b3 c7b7 b3c3 b7c7 c3d3 c7b7 d3e3 b7c7 e3f3 c7d7 f3e3
[55,155]
[-32500,32500]
info score cp 220 depth 20 nodes 6191683 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5c6 h5g4 c6d6 g4f4 d6c5 f4e4
[170,270]
info score cp 220 depth 21 nodes 8961380 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5c6 h5g4 c6d6 g4f4 d6c5 f4e4 c5c4
[170,270]
info score cp 220 depth 22 nodes 23881159 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5a5 h5g4 a5b5 g4f4 b5c6 f4e4 c6d6 e4d4
[170,270]
info score cp 220 depth 23 nodes 28965711 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7d8 c2c1 d8e7 c1b2 e7f6 b2b3 f6g6 b3c4 g6h5 c4b5 h5g4 b5c6 g4f4 c6d6 f4e4 d6c5
[170,270]
info score cp 220 depth 24 nodes 30734087 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7e7 c2d3 e7f6 d3c4 f6g6 c4b5 g6h5 b5a5 h5g4 a5b5 g4f4 b5c6 f4e4 c6d6 e4d4 a4a5 f5f4
[170,270]
info score cp 220 depth 25 nodes 44956833 pv a1b1 a7b7 b1c1 b7c7 c1d1 c7d7 d1c2 d7c8 c2d2 c8d7 d2c2 d7e7
bestmove a1b1 ponder a7b7
At the depth 18 the search with only hash table return the score 230 with the good move Rb1 , the search with hashtable + aspiration search return the score 105 with the bad move Rb2?
At the depth 19 the search with hashTable + aspiration search do a research with [ -infinity , +infinity] but the score is different as well ?