dje-dev / Ceres

Ceres - an MCTS chess engine for research and recreation
GNU General Public License v3.0
153 stars 23 forks source link

Two problems with output for go nodes 1 #58

Closed rooklift closed 2 years ago

rooklift commented 3 years ago
uci
setoption name MultiPV value 500
setoption name LogLiveStats value true
setoption name VerboseMoveStats value true
go nodes 1

Loaded network weights: 10x128 WDL MLH  from ./Networks/weights_run2_703810.pb.gz

CUDA device 0: NVIDIA GeForce RTX 2060 SMs: 30 Mem: 6gb
CUDA device 0: NVIDIA GeForce RTX 2060 SMs: 30 Mem: 6gb

info depth 1 seldepth 1 time 4 nodes 1 score cp 4 tbhits 0 nps 269 multipv 1 pv  string M= 134
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 2 pv c2c4
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 3 pv d2d4
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 4 pv g1f3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 5 pv e2e3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 6 pv c2c3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 7 pv b2b3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 8 pv g2g3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 9 pv a2a3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 10 pv b1c3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 11 pv h2h3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 12 pv d2d3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 13 pv a2a4
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 14 pv h2h4
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 15 pv b2b4
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 16 pv f2f4
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 17 pv b1a3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 18 pv f2f3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 19 pv g1h3
info depth 0 seldepth 0 time 5 nodes 1 score cp 0 tbhits 0 multipv 20 pv g2g4
info string g2g4  (378 ) N:              0 (+    0) (P:      0.55%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0096) (V:    0.0000)
info string g1h3  (161 ) N:              0 (+    0) (P:      0.72%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0125) (V:    0.0000)
info string f2f3  (346 ) N:              0 (+    0) (P:      0.73%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0128) (V:    0.0000)
info string b1a3  ( 34 ) N:              0 (+    0) (P:      0.79%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0138) (V:    0.0000)
info string f2f4  (351 ) N:              0 (+    0) (P:      0.79%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0139) (V:    0.0000)
info string b2b4  (234 ) N:              0 (+    0) (P:      0.86%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0150) (V:    0.0000)
info string h2h4  (403 ) N:              0 (+    0) (P:      0.89%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0155) (V:    0.0000)
info string a2a4  (207 ) N:              0 (+    0) (P:      1.24%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0217) (V:    0.0000)
info string d2d3  (288 ) N:              0 (+    0) (P:      1.74%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0304) (V:    0.0000)
info string h2h3  (400 ) N:              0 (+    0) (P:      1.78%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0311) (V:    0.0000)
info string b1c3  ( 36 ) N:              0 (+    0) (P:      2.18%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0381) (V:    0.0000)
info string a2a3  (204 ) N:              0 (+    0) (P:      2.54%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0444) (V:    0.0000)
info string g2g3  (374 ) N:              0 (+    0) (P:      2.60%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0453) (V:    0.0000)
info string b2b3  (230 ) N:              0 (+    0) (P:      2.75%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0480) (V:    0.0000)
info string c2c3  (259 ) N:              0 (+    0) (P:      5.19%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.0905) (V:    0.0000)
info string e2e3  (317 ) N:              0 (+    0) (P:      7.12%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.1243) (V:    0.0000)
info string g1f3  (159 ) N:              0 (+    0) (P:      7.84%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.1368) (V:    0.0000)
info string d2d4  (293 ) N:              0 (+    0) (P:      9.64%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.1682) (V:    0.0000)
info string c2c4  (264 ) N:              0 (+    0) (P:     21.42%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.3739) (V:    0.0000)
info string e2e4  (322 ) N:              0 (+    0) (P:     28.59%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.4989) (V:    0.0000)
info string e2e4  (  0 ) N:              0 (+    0) (P:      0.00%) (WL:     0.0256) (D:    0.0000) (M:    0.0) (Q:     0.0256) (U:    0.0000) (V:    0.0256)
info string node  ( 20 ) N:              1 (+    0) (P:    100.00%) (WL:     0.0256) (D:    0.3096) (M:  134.0) (Q:     0.0256) (U:    0.0000) (V:    0.0256)
bestmove e2e4

First problem - standard UCI output

info depth 1 seldepth 1 time 4 nodes 1 score cp 4 tbhits 0 nps 269 multipv 1 pv string M= 134

The PV of the top move is blank and does not say which move is being reported.

Second problem - Verbose output

info string e2e4  (322 ) N:              0 (+    0) (P:     28.59%) (WL:     0.0000) (D:    0.0000) (M:    0.0) (Q:     0.0000) (U:    0.4989) (V:    0.0000)
info string e2e4  (  0 ) N:              0 (+    0) (P:      0.00%) (WL:     0.0256) (D:    0.0000) (M:    0.0) (Q:     0.0256) (U:    0.0000) (V:    0.0256)

There is a duplicate output in the VerboseMoveStats for the top move, for some reason.