Closed Sopel97 closed 3 years ago
This patch adds some more statistics gatherers. For what was added see the changes in the docs.
Sample output.
w:\nnue\temp_sample>stockfish.exe Stockfish 050421 by the Stockfish developers (see AUTHORS file) info string Loaded eval file nn-c3ca321c51c9.nnue gather_statistics input_file in.binpack max_count 1000000 all Processed 1000000 positions. Finished gathering statistics. Results: Number of positions: 1000000 White king squares: 56 91 108 161 76 58 92 66 219 444 458 330 370 427 381 253 381 913 985 1148 975 1206 1112 742 652 1385 1838 2315 2821 2379 2347 1533 999 2135 3306 4876 6341 6626 6148 2967 1783 3710 6094 9370 12712 18852 17023 9911 3743 7175 10719 13207 23937 33370 59304 45464 3168 17536 26086 9224 185885 29670 346806 45531 Black king squares: 3121 16996 24401 9067 189706 32299 349479 45705 4272 6639 10187 13289 24163 33207 58849 42925 1526 3568 5437 9352 12563 18061 16233 9944 806 2030 3235 4626 6658 6790 5597 3129 632 1476 1895 2438 2644 2846 2651 1431 207 881 1015 850 1044 1108 1077 777 129 510 398 336 352 285 391 240 13 45 95 75 79 66 87 67 White move from squares: 1403 1184 1293 1332 1142 780 654 708 2618 2982 2931 2298 1892 1699 1245 1307 3089 3363 3832 3912 2994 2295 2011 2130 4528 6847 5108 6447 7277 4372 5682 3834 7633 6195 11675 11994 11339 10609 6512 6352 8141 8647 15138 12885 13778 20288 9436 7471 8009 12898 13067 18476 18737 14170 15789 11081 12750 13334 17688 19853 20448 22731 16829 5709 Black move from squares: 12626 13040 18004 20103 20111 22517 16565 5829 8007 12848 12523 18162 18957 14084 15920 10711 7584 8650 14940 12304 13412 19963 9287 7624 7496 6118 11092 11858 11058 10514 6474 6433 4380 6712 5149 6458 7016 4330 5966 4017 2952 3337 3789 3679 2956 2240 2108 2158 2414 2951 2778 2306 1869 1668 1313 1212 1376 1203 1316 1301 1102 833 648 798 White move to squares: 2191 1799 2412 2711 2010 1775 949 1033 3471 4191 4096 3994 3313 2896 2472 1868 4649 5364 6873 6659 5716 5470 3946 3449 6946 10239 9500 13362 13959 8431 9019 6154 9363 9515 14254 16178 15865 13669 10540 9566 7713 9345 14665 12152 13330 19828 9894 8319 2829 7020 8803 16047 15790 9130 11242 4962 5223 7708 10045 11243 10939 9015 5602 12140 Black move to squares: 5062 7755 10225 11085 10698 9305 5697 12163 2781 6706 8519 16072 15938 8688 11127 4856 7437 9477 14199 11979 13414 19147 9501 8170 9543 9806 13646 15614 15686 13991 10343 9558 6715 10020 9552 13263 13450 8301 9343 6384 4562 5201 6674 6309 5651 5415 4026 3487 3246 4253 3848 3996 3261 2891 2530 1797 2182 1826 2334 2614 1945 1764 976 1145 Total moves: 1000000 Normal moves: 979217 Capture moves: 243422 Promotion moves: 1570 Castling moves: 18524 En-passant moves: 689 Pawn moves: 225437 Knight moves: 160522 Bishop moves: 151871 Rook moves: 204428 Queen moves: 116487 King moves: 141255 Number of positions with 32 pieces: 79878 Number of positions with 31 pieces: 16983 Number of positions with 30 pieces: 75179 Number of positions with 29 pieces: 24274 Number of positions with 28 pieces: 61522 Number of positions with 27 pieces: 28426 Number of positions with 26 pieces: 51301 Number of positions with 25 pieces: 32300 Number of positions with 24 pieces: 44402 Number of positions with 23 pieces: 33423 Number of positions with 22 pieces: 41378 Number of positions with 21 pieces: 34822 Number of positions with 20 pieces: 39037 Number of positions with 19 pieces: 35958 Number of positions with 18 pieces: 37300 Number of positions with 17 pieces: 36655 Number of positions with 16 pieces: 37145 Number of positions with 15 pieces: 36672 Number of positions with 14 pieces: 35713 Number of positions with 13 pieces: 35742 Number of positions with 12 pieces: 35123 Number of positions with 11 pieces: 34639 Number of positions with 10 pieces: 32817 Number of positions with 9 pieces: 30631 Number of positions with 8 pieces: 23160 Number of positions with 7 pieces: 14313 Number of positions with 6 pieces: 4861 Number of positions with 5 pieces: 3655 Number of positions with 4 pieces: 2408 Number of positions with 3 pieces: 283 Number of positions with 2 pieces: 0 Number of positions with 1 pieces: 0 Number of positions with 0 pieces: 0
I think this closes #304 , more feature requests for this can of course be made.
that looks good to me. Interesting stats!
Looks good to me too. Collecting such stats can only help.
This patch adds some more statistics gatherers. For what was added see the changes in the docs.
Sample output.
I think this closes #304 , more feature requests for this can of course be made.