search statistics

Discussion of chess software programming and technical issues.

Moderator: Ras

tcusr
Posts: 325
Joined: Tue Aug 31, 2021 10:32 pm
Full name: tcusr

search statistics

Post by tcusr »

i'm messing with a staged move generator and i wanted to see which moves give the most benefit.
starting position

Code: Select all

info depth 1  AB nodes 1        QS nodes 21       (95.45%) cutoff by tt move 0       (0.00 %) cutoff by capture 0       (0.00%)
info depth 2  AB nodes 21       QS nodes 45       (68.18%) cutoff by tt move 0       (0.00 %) cutoff by capture 0       (0.00%)
info depth 3  AB nodes 60       QS nodes 465      (88.57%) cutoff by tt move 19      (31.67%) cutoff by capture 0       (0.00%)
info depth 4  AB nodes 483      QS nodes 1038     (68.24%) cutoff by tt move 36      (7.45 %) cutoff by capture 6       (1.24%)
info depth 5  AB nodes 1494     QS nodes 9542     (86.46%) cutoff by tt move 210     (14.06%) cutoff by capture 54      (3.61%)
info depth 6  AB nodes 3664     QS nodes 13644    (78.83%) cutoff by tt move 262     (7.15 %) cutoff by capture 370     (10.10%)
info depth 7  AB nodes 13541    QS nodes 107679   (88.83%) cutoff by tt move 1925    (14.22%) cutoff by capture 1177    (8.69%)
info depth 8  AB nodes 25053    QS nodes 113122   (81.87%) cutoff by tt move 1640    (6.55 %) cutoff by capture 1617    (6.45%)
info depth 9  AB nodes 699632   QS nodes 9090141  (92.85%) cutoff by tt move 82206   (11.75%) cutoff by capture 102319  (14.62%)
info depth 10 AB nodes 1722365  QS nodes 40050917 (95.88%) cutoff by tt move 85700   (4.98 %) cutoff by capture 320994  (18.64%)
kiwipete (search explosion at depth 7)

Code: Select all

info depth 1  AB nodes 1        QS nodes 1438     (99.93%) cutoff by tt move 0       (0.00 %) cutoff by capture 0       (0.00%)
info depth 2  AB nodes 51       QS nodes 2389     (97.91%) cutoff by tt move 0       (0.00 %) cutoff by capture 47      (92.16%)
info depth 3  AB nodes 149      QS nodes 19838    (99.25%) cutoff by tt move 47      (31.54%) cutoff by capture 67      (44.97%)
info depth 4  AB nodes 2001     QS nodes 32876    (94.26%) cutoff by tt move 89      (4.45 %) cutoff by capture 1475    (73.71%)
info depth 5  AB nodes 5876     QS nodes 277025   (97.92%) cutoff by tt move 1422    (24.20%) cutoff by capture 2884    (49.08%)
info depth 6  AB nodes 24685    QS nodes 1309303  (98.15%) cutoff by tt move 1361    (5.51 %) cutoff by capture 12481   (50.56%)
info depth 7  AB nodes 81364    QS nodes 2792314  (97.17%) cutoff by tt move 13711   (16.85%) cutoff by capture 30284   (37.22%)
simple endgame
8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -

Code: Select all

info depth 1  AB nodes 4        QS nodes 42       (91.30%) cutoff by tt move 0       (0.00 %) cutoff by capture 1       (25.00%)
info depth 2  AB nodes 21       QS nodes 162      (88.52%) cutoff by tt move 1       (4.76 %) cutoff by capture 3       (14.29%)
info depth 3  AB nodes 87       QS nodes 465      (84.24%) cutoff by tt move 18      (20.69%) cutoff by capture 28      (32.18%)
info depth 4  AB nodes 342      QS nodes 1163     (77.28%) cutoff by tt move 51      (14.91%) cutoff by capture 50      (14.62%)
info depth 5  AB nodes 2293     QS nodes 13260    (85.26%) cutoff by tt move 400     (17.44%) cutoff by capture 562     (24.51%)
info depth 6  AB nodes 2864     QS nodes 20486    (87.73%) cutoff by tt move 468     (16.34%) cutoff by capture 593     (20.71%)
info depth 7  AB nodes 10332    QS nodes 56344    (84.50%) cutoff by tt move 1574    (15.23%) cutoff by capture 2081    (20.14%)
info depth 8  AB nodes 33872    QS nodes 186752   (84.65%) cutoff by tt move 4897    (14.46%) cutoff by capture 6572    (19.40%)
info depth 9  AB nodes 78509    QS nodes 484916   (86.07%) cutoff by tt move 9614    (12.25%) cutoff by capture 16332   (20.80%)
info depth 10 AB nodes 158530   QS nodes 901745   (85.05%) cutoff by tt move 13247   (8.36 %) cutoff by capture 29330   (18.50%)
info depth 11 AB nodes 555120   QS nodes 3349566  (85.78%) cutoff by tt move 36230   (6.53 %) cutoff by capture 104669  (18.86%)
the tt percentage seems way too low. i also have to set a limit for QS maximum depth.
i also tested for cutoffs before move 5, close to 50%. this information will be useful for reductions.
what do you guys think?
User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: search statistics

Post by hgm »

I always take these statistics per remaining depth. At d<2 TT hits will be much less frequent than at higher depth. It would also be interesting to see how often the TT move does not give you a cutoff. And how often null move does it. And how many cut-nodes you had in the first place.
abulmo2
Posts: 466
Joined: Fri Dec 16, 2016 11:04 am
Location: France
Full name: Richard Delorme

Re: search statistics

Post by abulmo2 »

I tried to compute similar statistics for Dumb 1.12 (in development)
Initial position:

Code: Select all

info depth   1 PVS nodes         1 QS nodes         7 (87.50%) cutoff by tt move        0 ( 0.00%) cutoff by capture        0 ( 0.00%)
info depth   2 PVS nodes         7 QS nodes        25 (78.12%) cutoff by tt move        0 ( 0.00%) cutoff by capture        0 ( 0.00%)
info depth   3 PVS nodes        28 QS nodes        83 (74.77%) cutoff by tt move        0 ( 0.00%) cutoff by capture        0 ( 0.00%)
info depth   4 PVS nodes       109 QS nodes       347 (76.10%) cutoff by tt move        7 ( 6.42%) cutoff by capture        6 ( 5.50%)
info depth   5 PVS nodes       308 QS nodes       766 (71.32%) cutoff by tt move       27 ( 8.77%) cutoff by capture       18 ( 5.84%)
info depth   6 PVS nodes      1097 QS nodes      2289 (67.60%) cutoff by tt move       97 ( 8.84%) cutoff by capture       90 ( 8.20%)
info depth   7 PVS nodes      1499 QS nodes      2827 (65.35%) cutoff by tt move      136 ( 9.07%) cutoff by capture      113 ( 7.54%)
info depth   8 PVS nodes      3500 QS nodes      7254 (67.45%) cutoff by tt move      318 ( 9.09%) cutoff by capture      342 ( 9.77%)
info depth   9 PVS nodes      5704 QS nodes     11993 (67.77%) cutoff by tt move      523 ( 9.17%) cutoff by capture      496 ( 8.70%)
info depth  10 PVS nodes     12510 QS nodes     26332 (67.79%) cutoff by tt move     1119 ( 8.94%) cutoff by capture     1183 ( 9.46%)
info depth  11 PVS nodes     20585 QS nodes     45232 (68.72%) cutoff by tt move     1824 ( 8.86%) cutoff by capture     2236 (10.86%)
info depth  12 PVS nodes     33010 QS nodes     75921 (69.70%) cutoff by tt move     2877 ( 8.72%) cutoff by capture     3908 (11.84%)
info depth  13 PVS nodes     67047 QS nodes    166107 (71.24%) cutoff by tt move     5231 ( 7.80%) cutoff by capture     8928 (13.32%)
info depth  14 PVS nodes     89968 QS nodes    229526 (71.84%) cutoff by tt move     6938 ( 7.71%) cutoff by capture    12580 (13.98%)
info depth  15 PVS nodes    179574 QS nodes    463944 (72.09%) cutoff by tt move    13568 ( 7.56%) cutoff by capture    27414 (15.27%)
info depth  16 PVS nodes    222277 QS nodes    561630 (71.64%) cutoff by tt move    17330 ( 7.80%) cutoff by capture    32738 (14.73%)
info depth  17 PVS nodes    372046 QS nodes    958177 (72.03%) cutoff by tt move    27769 ( 7.46%) cutoff by capture    55265 (14.85%)
info depth  18 PVS nodes    796678 QS nodes   2337983 (74.58%) cutoff by tt move    55620 ( 6.98%) cutoff by capture   131771 (16.54%)
info depth  19 PVS nodes   1198454 QS nodes   3427976 (74.10%) cutoff by tt move    86317 ( 7.20%) cutoff by capture   189610 (15.82%)
info depth  20 PVS nodes   1651913 QS nodes   4663312 (73.84%) cutoff by tt move   119250 ( 7.22%) cutoff by capture   259793 (15.73%)
info depth  21 PVS nodes   3209857 QS nodes   9124811 (73.98%) cutoff by tt move   218257 ( 6.80%) cutoff by capture   516672 (16.10%)
info depth  22 PVS nodes   3719938 QS nodes  10564766 (73.96%) cutoff by tt move   253460 ( 6.81%) cutoff by capture   589219 (15.84%)
info depth  23 PVS nodes   8329457 QS nodes  23595242 (73.91%) cutoff by tt move   529687 ( 6.36%) cutoff by capture  1342875 (16.12%)
info depth  24 PVS nodes  15158268 QS nodes  41523237 (73.26%) cutoff by tt move   958109 ( 6.32%) cutoff by capture  2411829 (15.91%)
info depth  25 PVS nodes  23808324 QS nodes  67548326 (73.94%) cutoff by tt move  1401785 ( 5.89%) cutoff by capture  3961425 (16.64%)
Kiwipete

Code: Select all

info depth   1 PVS nodes         1 QS nodes       798 (99.87%) cutoff by tt move        0 ( 0.00%) cutoff by capture        0 ( 0.00%)
info depth   2 PVS nodes         8 QS nodes      1648 (99.52%) cutoff by tt move        0 ( 0.00%) cutoff by capture        2 (25.00%)
info depth   3 PVS nodes        35 QS nodes      3805 (99.09%) cutoff by tt move        2 ( 5.71%) cutoff by capture       12 (34.29%)
info depth   4 PVS nodes       164 QS nodes      8144 (98.03%) cutoff by tt move       12 ( 7.32%) cutoff by capture       55 (33.54%)
info depth   5 PVS nodes       889 QS nodes     23926 (96.42%) cutoff by tt move      103 (11.59%) cutoff by capture      198 (22.27%)
info depth   6 PVS nodes      1433 QS nodes     34358 (96.00%) cutoff by tt move      162 (11.30%) cutoff by capture      345 (24.08%)
info depth   7 PVS nodes      6059 QS nodes    115375 (95.01%) cutoff by tt move      714 (11.78%) cutoff by capture     1318 (21.75%)
info depth   8 PVS nodes      9801 QS nodes    163651 (94.35%) cutoff by tt move     1064 (10.86%) cutoff by capture     2144 (21.88%)
info depth   9 PVS nodes     28508 QS nodes    381650 (93.05%) cutoff by tt move     3281 (11.51%) cutoff by capture     4884 (17.13%)
info depth  10 PVS nodes     36171 QS nodes    480494 (93.00%) cutoff by tt move     4360 (12.05%) cutoff by capture     6091 (16.84%)
info depth  11 PVS nodes     80337 QS nodes    968093 (92.34%) cutoff by tt move     9494 (11.82%) cutoff by capture    10873 (13.53%)
info depth  12 PVS nodes    126052 QS nodes   1353378 (91.48%) cutoff by tt move    14303 (11.35%) cutoff by capture    14189 (11.26%)
info depth  13 PVS nodes    184016 QS nodes   1828739 (90.86%) cutoff by tt move    19396 (10.54%) cutoff by capture    21825 (11.86%)
info depth  14 PVS nodes    392307 QS nodes   3317435 (89.42%) cutoff by tt move    36298 ( 9.25%) cutoff by capture    46466 (11.84%)
info depth  15 PVS nodes    724024 QS nodes   5489771 (88.35%) cutoff by tt move    65298 ( 9.02%) cutoff by capture    87429 (12.08%)
info depth  16 PVS nodes   1046728 QS nodes   7418088 (87.63%) cutoff by tt move    91462 ( 8.74%) cutoff by capture   129886 (12.41%)
info depth  17 PVS nodes   2631137 QS nodes  17414538 (86.87%) cutoff by tt move   147596 ( 5.61%) cutoff by capture   493416 (18.75%)
info depth  18 PVS nodes   3250920 QS nodes  21070868 (86.63%) cutoff by tt move   196270 ( 6.04%) cutoff by capture   575311 (17.70%)
info depth  19 PVS nodes   4739101 QS nodes  28184766 (85.61%) cutoff by tt move   302542 ( 6.38%) cutoff by capture   785749 (16.58%)
info depth  20 PVS nodes   6417059 QS nodes  36085416 (84.90%) cutoff by tt move   427312 ( 6.66%) cutoff by capture  1003655 (15.64%)
info depth  21 PVS nodes  10289009 QS nodes  52902319 (83.72%) cutoff by tt move   636814 ( 6.19%) cutoff by capture  1658611 (16.12%)
info depth  22 PVS nodes  19408104 QS nodes  90846994 (82.40%) cutoff by tt move  1105283 ( 5.69%) cutoff by capture  3205528 (16.52%)
info depth  23 PVS nodes  27221786 QS nodes 123189275 (81.90%) cutoff by tt move  1459728 ( 5.36%) cutoff by capture  4575993 (16.81%)
info depth  24 PVS nodes  71103483 QS nodes 304086944 (81.05%) cutoff by tt move  3162316 ( 4.45%) cutoff by capture 12670587 (17.82%)
info depth  25 PVS nodes 105755410 QS nodes 435615761 (80.47%) cutoff by tt move  4307675 ( 4.07%) cutoff by capture 19377234 (18.32%)
The endgame position

Code: Select all

info depth   1 PVS nodes         3 QS nodes         8 (72.73%) cutoff by tt move        0 ( 0.00%) cutoff by capture        1 (33.33%)
info depth   2 PVS nodes        19 QS nodes        67 (77.91%) cutoff by tt move        1 ( 5.26%) cutoff by capture        4 (21.05%)
info depth   3 PVS nodes        65 QS nodes       212 (76.53%) cutoff by tt move        8 (12.31%) cutoff by capture       11 (16.92%)
info depth   4 PVS nodes       126 QS nodes       367 (74.44%) cutoff by tt move       14 (11.11%) cutoff by capture       28 (22.22%)
info depth   5 PVS nodes       238 QS nodes       561 (70.21%) cutoff by tt move       33 (13.87%) cutoff by capture       42 (17.65%)
info depth   6 PVS nodes       940 QS nodes      1590 (62.85%) cutoff by tt move      119 (12.66%) cutoff by capture      114 (12.13%)
info depth   7 PVS nodes      1522 QS nodes      2597 (63.05%) cutoff by tt move      198 (13.01%) cutoff by capture      178 (11.70%)
info depth   8 PVS nodes      3359 QS nodes      5087 (60.23%) cutoff by tt move      470 (13.99%) cutoff by capture      330 ( 9.82%)
info depth   9 PVS nodes      4863 QS nodes      8055 (62.35%) cutoff by tt move      678 (13.94%) cutoff by capture      505 (10.38%)
info depth  10 PVS nodes      8828 QS nodes     15191 (63.25%) cutoff by tt move     1166 (13.21%) cutoff by capture     1073 (12.15%)
info depth  11 PVS nodes     12635 QS nodes     20265 (61.60%) cutoff by tt move     1681 (13.30%) cutoff by capture     1381 (10.93%)
info depth  12 PVS nodes     20096 QS nodes     30207 (60.05%) cutoff by tt move     2644 (13.16%) cutoff by capture     1944 ( 9.67%)
info depth  13 PVS nodes     32734 QS nodes     43801 (57.23%) cutoff by tt move     4298 (13.13%) cutoff by capture     2750 ( 8.40%)
info depth  14 PVS nodes     53954 QS nodes     64689 (54.52%) cutoff by tt move     6963 (12.91%) cutoff by capture     4008 ( 7.43%)
info depth  15 PVS nodes    111637 QS nodes    140822 (55.78%) cutoff by tt move    12968 (11.62%) cutoff by capture    10352 ( 9.27%)
info depth  16 PVS nodes    179273 QS nodes    224953 (55.65%) cutoff by tt move    20599 (11.49%) cutoff by capture    16475 ( 9.19%)
info depth  17 PVS nodes    206243 QS nodes    255154 (55.30%) cutoff by tt move    23833 (11.56%) cutoff by capture    17970 ( 8.71%)
info depth  18 PVS nodes    247635 QS nodes    301211 (54.88%) cutoff by tt move    28727 (11.60%) cutoff by capture    20364 ( 8.22%)
info depth  19 PVS nodes    298339 QS nodes    356799 (54.46%) cutoff by tt move    34412 (11.53%) cutoff by capture    23373 ( 7.83%)
info depth  20 PVS nodes    394109 QS nodes    457823 (53.74%) cutoff by tt move    45342 (11.50%) cutoff by capture    29207 ( 7.41%)
info depth  21 PVS nodes    547497 QS nodes    623927 (53.26%) cutoff by tt move    62349 (11.39%) cutoff by capture    39141 ( 7.15%)
info depth  22 PVS nodes    738317 QS nodes    819139 (52.59%) cutoff by tt move    83696 (11.34%) cutoff by capture    50210 ( 6.80%)
info depth  23 PVS nodes    959297 QS nodes   1036643 (51.94%) cutoff by tt move   108934 (11.36%) cutoff by capture    62314 ( 6.50%)
info depth  24 PVS nodes   1373667 QS nodes   1444279 (51.25%) cutoff by tt move   155768 (11.34%) cutoff by capture    87543 ( 6.37%)
info depth  25 PVS nodes   1881372 QS nodes   1963236 (51.06%) cutoff by tt move   207054 (11.01%) cutoff by capture   123022 ( 6.54%)
Dumb is much more selective than your engine and goes deeper, but the % of cutoff are also rather low. However it seems to fluctuate less with depth than your numbers.
Richard Delorme
tcusr
Posts: 325
Joined: Tue Aug 31, 2021 10:32 pm
Full name: tcusr

Re: search statistics

Post by tcusr »

hgm wrote: Thu Sep 15, 2022 9:17 pm I always take these statistics per remaining depth. At d<2 TT hits will be much less frequent than at higher depth. It would also be interesting to see how often the TT move does not give you a cutoff. And how often null move does it. And how many cut-nodes you had in the first place.
starting position

Code: Select all

info depth 1  total nodes 22       cut nodes 0     (0.00%) cutoff by NMP 0     (-nan%) cutoff by tt move 0     (-nan%) cutoff by capture 0     (-nan%) cutoff before 5 moves 0     (-nan%)
info depth 2  total nodes 66       cut nodes 19    (28.79%) cutoff by NMP 0     (0.00%) cutoff by tt move 0     (0.00%) cutoff by capture 0     (0.00%) cutoff before 5 moves 19    (100.00%)
info depth 3  total nodes 525      cut nodes 38    (7.24%) cutoff by NMP 0     (0.00%) cutoff by tt move 19    (50.00%) cutoff by capture 0     (0.00%) cutoff before 5 moves 38    (100.00%)
info depth 4  total nodes 1521     cut nodes 416   (27.35%) cutoff by NMP 2     (0.48%) cutoff by tt move 36    (8.70%) cutoff by capture 6     (1.45%) cutoff before 5 moves 413   (99.76%)
info depth 5  total nodes 11036    cut nodes 959   (8.69%) cutoff by NMP 14    (1.46%) cutoff by tt move 210   (22.22%) cutoff by capture 54    (5.71%) cutoff before 5 moves 936   (99.05%)
info depth 6  total nodes 17308    cut nodes 2780  (16.06%) cutoff by NMP 309   (11.12%) cutoff by tt move 262   (10.60%) cutoff by capture 370   (14.97%) cutoff before 5 moves 2448  (99.07%)
info depth 7  total nodes 121220   cut nodes 8102  (6.68%) cutoff by NMP 367   (4.53%) cutoff by tt move 1925  (24.89%) cutoff by capture 1177  (15.22%) cutoff before 5 moves 7646  (98.85%)
info depth 8  total nodes 138175   cut nodes 18871 (13.66%) cutoff by NMP 1696  (8.99%) cutoff by tt move 1640  (9.55%) cutoff by capture 1617  (9.41%) cutoff before 5 moves 16816 (97.91%)
info depth 9  total nodes 9789773  cut nodes 485181 (4.96%) cutoff by NMP 17792 (3.67%) cutoff by tt move 82206 (17.59%) cutoff by capture 102319 (21.89%) cutoff before 5 moves 410724 (87.88%)
info depth 10 total nodes 41773282  cut nodes 1229762 (2.94%) cutoff by NMP 29794 (2.42%) cutoff by tt move 85700 (7.14%) cutoff by capture 320994 (26.75%) cutoff before 5 moves 872270 (72.69%)
kiwipete

Code: Select all

info depth 1  total nodes 1439     cut nodes 0     (0.00%) cutoff by NMP 0     (-nan%) cutoff by tt move 0     (-nan%) cutoff by capture 0     (-nan%) cutoff before 5 moves 0     (-nan%)
info depth 2  total nodes 2440     cut nodes 47    (1.93%) cutoff by NMP 0     (0.00%) cutoff by tt move 0     (0.00%) cutoff by capture 47    (100.00%) cutoff before 5 moves 47    (100.00%)
info depth 3  total nodes 19987    cut nodes 95    (0.48%) cutoff by NMP 0     (0.00%) cutoff by tt move 47    (49.47%) cutoff by capture 67    (70.53%) cutoff before 5 moves 92    (96.84%)
info depth 4  total nodes 34877    cut nodes 1548  (4.44%) cutoff by NMP 5     (0.32%) cutoff by tt move 89    (5.77%) cutoff by capture 1475  (95.59%) cutoff before 5 moves 1533  (99.35%)
info depth 5  total nodes 282901   cut nodes 3719  (1.31%) cutoff by NMP 35    (0.94%) cutoff by tt move 1422  (38.60%) cutoff by capture 2884  (78.28%) cutoff before 5 moves 3561  (96.66%)
info depth 6  total nodes 1333988  cut nodes 18790 (1.41%) cutoff by NMP 1236  (6.58%) cutoff by tt move 1361  (7.75%) cutoff by capture 12481 (71.10%) cutoff before 5 moves 15968 (90.97%)
info depth 7  total nodes 2873678  cut nodes 58400 (2.03%) cutoff by NMP 2260  (3.87%) cutoff by tt move 13711 (24.42%) cutoff by capture 30284 (53.94%) cutoff before 5 moves 54007 (96.20%)
i compare the move statistics to the cut nodes not cut by NMP.
i expected more cutoffs by NMP in kiwipete since there are many captures and it's easy to filter out the stupid ones (right?).
tcusr
Posts: 325
Joined: Tue Aug 31, 2021 10:32 pm
Full name: tcusr

Re: search statistics

Post by tcusr »

abulmo2 wrote: Thu Sep 15, 2022 11:58 pm ...
is the QS nodes percentage low because of see? do you use delta pruning?
thank you for taking the time to run the test.
abulmo2
Posts: 466
Joined: Fri Dec 16, 2016 11:04 am
Location: France
Full name: Richard Delorme

Re: search statistics

Post by abulmo2 »

tcusr wrote: Fri Sep 16, 2022 12:41 am is the QS nodes percentage low because of see?
Yes.
do you use delta pruning?

No, I don't. Dumb's eval is very fast to compute so delta pruning brings close to nothing here.
Richard Delorme
tcusr
Posts: 325
Joined: Tue Aug 31, 2021 10:32 pm
Full name: tcusr

Re: search statistics

Post by tcusr »

abulmo2 wrote: Thu Sep 15, 2022 11:58 pm However it seems to fluctuate less with depth than your numbers.
i suppose this happens because my engine (not selective at all) will visit many positions and 1) the TT slots will change frequently (TT move not always availabe) 2) all those wild positions will be very different (% of captures will vary greatly).
tcusr
Posts: 325
Joined: Tue Aug 31, 2021 10:32 pm
Full name: tcusr

Re: search statistics

Post by tcusr »

i started checking how often my tt move was illegal and it was close to 50% in middle game positions!!
i quickly found out why, my TT is basically empty. in all kinds of positions it never exceeds 30% usage.
i blame the hash keys for this but i'm not sure, the code is very short and it seems like i've done everything correctly.
JVMerlino
Posts: 1396
Joined: Wed Mar 08, 2006 10:15 pm
Location: San Francisco, California

Re: search statistics

Post by JVMerlino »

Are you updating the hash key incrementally as you make/unmake? If so, have you confirmed that code is bug-free? I have a "verify board" compiler switch that makes sure things like make/unmake, SEE, etc., don't have any errors.
tcusr
Posts: 325
Joined: Tue Aug 31, 2021 10:32 pm
Full name: tcusr

Re: search statistics

Post by tcusr »

JVMerlino wrote: Wed Sep 21, 2022 5:43 pm Are you updating the hash key incrementally as you make/unmake? If so, have you confirmed that code is bug-free? I have a "verify board" compiler switch that makes sure things like make/unmake, SEE, etc., don't have any errors.
no, i calculate it from scratch in every node.
i also tried other other keys like the ones from Crafty to see if it was my PRNG but it was not. i don't really have an idea on how to approach this.