I have found another bug: saved games into the tournament .json get truncated by some weird reason. 90% of the games in my .json are like this:
Code: Select all
{
"gameIdx" : 80,
"gameMoves" : "b2b4 {+0.42/28 52776 42949352} e7e5 {+0.25/21 90731 58201166} c2c4 {+0.59/29 31169 25132663} ",
"pairId" : 26500,
"players" :
[
"Fire 8.NN.1",
"Stockfish 14"
],
"reason" : "mate",
"result" : "1-0",
"round" : 1,
"startFen" : "bnqbrkrn/pppppppp/8/8/8/8/PPPPPPPP/BNQBRKRN w GEge - 0 1"
},
The number of moves vary between 2 and around 7-10. There are a couple of exceptions where the game was saved complete, but I don't know the condition for this to happen, though I think it has to do with castling. Whenever a castling move happens, the game is truncated (which also might be related to the stockfish illegal move issue). This also has the side-effect of corrupting the statistics in the "tech" tab on the results.
Here's the full PGN of that match that I show above:[pgn][Event "FRC Top 20"]
[Site "CCLS"]
[Date "2021.07.27"]
[Round "1"]
[White "Stockfish 14"]
[Black "Fire 8.NN.1"]
[Result "1-0"]
[TimeControl "1800+5"]
[Time "14:33:38"]
[Board "81"]
[Termination "mate"]
[Variant "chess960"]
[FEN "bnqbrkrn/pppppppp/8/8/8/8/PPPPPPPP/BNQBRKRN w GEge - 0 1"]
[SetUp "1"]
1. b4 {+0.42/28 52776 42949352} e5 {+0.25/21 90731 58201166} 2. c4 {+0.59/29 31169 25132663} O-O {+0.25/21 78439 50493772}
3. Nc3 {+0.54/31 4041 65817626} f5 {+0.28/20 48235 30824978} 4. e3 {+0.62/29 20112 16868904} Ng6 {+0.18/20 43408 28120596}
5. O-O {+0.45/30 2374 37318580} d6 {+0.15/21 36249 25858722} 6. f3 {+0.71/30 106883 87757589} c5 {+0.28/20 64703 41622865}
7. Ba4 {+0.56/31 89235 74494485} Nc6 {+0.08/20 26803 17478308} 8. b5 {+0.83/31 10 23013834} Nce7 {+0.51/20 63027 42094119}
9. b6 {+0.59/32 3694 58067214} Bxb6 {+0.46/20 5434 6315621} 10. Bxe8 {+0.46/32 41770 41204554} Qxe8 {+0.38/21 32696 22410649}
11. f4 {+0.63/33 124295 136596195} Bd8 {+0.45/22 235690 161742042} 12. Ng3 {+0.67/36 41803 244885889} Qd7 {+0.36/21 30878 21881259}
13. d3 {+0.75/27 26917 24275435} a6 {+0.47/20 58988 41693300} 14. Qa3 {+0.88/26 30588 27679817} h6 {+0.57/18 26958 18513954}
15. Nh5 {+1.31/26 31611 28630195} Kh7 {+0.36/20 68518 71603662} 16. e4 {+1.28/28 26854 25117265} Qc8 {+0.89/21 97590 70625853}
17. Nd5 {+1.95/28 30732 29031784} b5 {+1.12/21 80836 61644585} 18. Qb2 {+1.34/32 18371 92947698} Bc6 {+0.97/20 12952 24445534}
19. Qe2 {+2.10/30 33547 30856128} bxc4 {+1.18/22 82569 65000549} 20. dxc4 {+2.29/29 19781 18596586} Nxd5 {+1.63/22 38870 46489121}
21. exd5 {+2.51/31 10 36803217} Be8 {+1.63/22 10 4370} 22. Qd1 {+2.60/30 28825 27754558} Bc7 {+1.36/21 32118 25388389}
23. Re2 {+2.65/30 19231 48800880} Qd8 {+1.09/21 32639 24877782} 24. Rb2 {+2.74/31 10 31949491} Qc8 {+1.45/23 150234 115221062}
25. Qb1 {+2.75/34 10 142770979} Nh4 {+1.72/26 150209 118465120} 26. Ng3 {+3.10/31 37508 36695558} Bd7 {+1.80/24 95146 75624820}
27. Rb7 {+3.53/29 30423 30534177} Ng6 {+1.82/23 15719 37238033} 28. fxe5 {+3.80/34 29165 29741785} dxe5 {+2.19/24 39691 33059739}
29. Ra7 {+4.03/35 10 42389624} f4 {+2.15/23 25174 21405974} 30. Ne4 {+4.06/33 7637 35940039} Bb8 {+2.51/25 30288 32334081}
31. Ra8 {+4.06/35 1106 35619484} Bf5 {+2.49/24 21523 19482115} 32. Nd6 {+4.15/33 9471 35493267} Bxd6 {+2.58/24 14275 20942931}
33. Rxc8 {+4.60/30 35876 43062196} Bxc8 {+2.53/22 13702 12284448} 34. Qb6 {+4.49/29 23862 45436426} Rf6 {+2.84/24 7013 27517706}
35. Rf2 {+4.72/29 33072 48552456} Bg4 {+3.16/24 67605 58991656} 36. a4 {+4.94/31 10 83581979} Bf5 {+2.36/18 6010 5282135}
37. Qxa6 {+5.84/30 45334 59465478} Be4 {+2.74/19 6776 5677252} 38. g3 {+5.92/27 24509 43349172} Bc7 {+3.55/20 34723 29254715}
39. Qb5 {+6.61/27 34760 51737757} Bf5 {+4.11/18 18750 16023530} 40. a5 {+7.20/28 30786 47365691} Bh3 {+4.56/18 9783 8738656}
41. a6 {+8.23/29 33987 57269505} h5 {+5.35/16 5001 4330453} 42. a7 {+11.61/29 29958 62582718} Rf5 {+5.72/18 5004 4487826}
43. a8=Q {+16.27/29 29011 56525485} h4 {+7.56/17 5000 4659723} 44. Qxc5 {+18.80/27 27757 55917445} Rf7 {+8.05/16 4994 4498473}
45. gxh4 {+20.94/25 27973 56942908} f3 {+7.81/16 5006 4443832} 46. h5 {+26.10/22 27880 59306325} Nf4 {+8.45/17 4998 4710272}
47. d6 {+30.68/23 28844 64594604} Rf5 {+9.09/15 4994 4708337} 48. Qe4 {M+14/32 25033 57976229} Ne2+ {+10.22/20 5005 4897795}
49. Kh1 {M+10/69 25911 55125039} Bg2+ {M-11/19 5002 5277089} 50. Rxg2 {M+8/49 504 1223715} fxg2+ {M-7/22 378 503624}
51. Kxg2 {M+7/100 23891 77703201} Nf4+ {M-6/20 10 6795} 52. Kh1 {M+6/144 23253 97901317} Kh8 {M-5/19 10 3539}
53. dxc7 {M+5/245 18055 84173913} Nxh5 {M-4/17 10 2495} 54. c8=Q+ {M+4/245 487 2171802} Kh7 {M-3/15 10 1327}
55. Qcxf5+ {M+3/245 23 52873} g6 {M-2/13 10 767} 56. Qxh5+ {M+2/245 23 15483} Kg7 {M-1/12 10 221}
57. Qexg6# {M+1/245 26 14264} 1-0[/pgn]