diff --git a/cpp/search/search.cpp b/cpp/search/search.cpp index 17e17c7f2..ea7098073 100644 --- a/cpp/search/search.cpp +++ b/cpp/search/search.cpp @@ -41,6 +41,7 @@ SearchThread::SearchThread(int tIdx, const Search& search) history(search.rootHistory), graphHash(search.rootGraphHash), graphPath(), + shouldCountPlayout(false), rand(makeSeed(search,tIdx)), nnResultBuf(), statsBuf(), @@ -1102,7 +1103,11 @@ bool Search::runSinglePlayout(SearchThread& thread, double upperBoundVisitsLeft) //Store this value, used for futile-visit pruning this thread's root children selections. thread.upperBoundVisitsLeft = upperBoundVisitsLeft; + //Prep this value, playoutDescend will set it to true if we do have a playout + thread.shouldCountPlayout = false; + bool finishedPlayout = playoutDescend(thread,*rootNode,true); + (void)finishedPlayout; //Restore thread state back to the root state thread.pla = rootPla; @@ -1111,7 +1116,7 @@ bool Search::runSinglePlayout(SearchThread& thread, double upperBoundVisitsLeft) thread.graphHash = rootGraphHash; thread.graphPath.clear(); - return finishedPlayout; + return thread.shouldCountPlayout; } bool Search::playoutDescend( @@ -1136,6 +1141,7 @@ bool Search::playoutDescend( double lead = 0.0; double weight = (searchParams.useUncertainty && nnEvaluator->supportsShorttermError()) ? searchParams.uncertaintyMaxWeight : 1.0; addLeafValue(node, winLossValue, noResultValue, scoreMean, scoreMeanSq, lead, weight, true, false); + thread.shouldCountPlayout = true; return true; } else { @@ -1146,6 +1152,7 @@ bool Search::playoutDescend( double lead = scoreMean; double weight = (searchParams.useUncertainty && nnEvaluator->supportsShorttermError()) ? searchParams.uncertaintyMaxWeight : 1.0; addLeafValue(node, winLossValue, noResultValue, scoreMean, scoreMeanSq, lead, weight, true, false); + thread.shouldCountPlayout = true; return true; } } @@ -1171,6 +1178,7 @@ bool Search::playoutDescend( //Perform the nn evaluation and finish! node.initializeChildren(); node.state.store(SearchNode::STATE_EXPANDED0, std::memory_order_seq_cst); + thread.shouldCountPlayout = true; return true; } } @@ -1221,6 +1229,7 @@ bool Search::playoutDescend( //Return TRUE though, so that the parent path we traversed increments its edge visits. //We want the search to continue as best it can, so we increment visits so search will still make progress //even if this keeps happening in some really bad transposition or something. + thread.shouldCountPlayout = true; return true; } @@ -1228,6 +1237,7 @@ bool Search::playoutDescend( //This might happen if all moves have been forbidden. The node will just get stuck counting visits without expanding //and we won't do any search. addCurrentNNOutputAsLeafValue(node,false); + thread.shouldCountPlayout = true; return true; } @@ -1295,6 +1305,7 @@ bool Search::playoutDescend( if(countEdgeVisit && maybeCatchUpEdgeVisits(thread, node, child, nodeState, bestChildIdx)) { updateStatsAfterPlayout(node,thread,isRoot); child->virtualLosses.fetch_add(-1,std::memory_order_release); + thread.shouldCountPlayout = true; return true; } } @@ -1312,6 +1323,7 @@ bool Search::playoutDescend( if(countEdgeVisit && maybeCatchUpEdgeVisits(thread, node, child, nodeState, bestChildIdx)) { updateStatsAfterPlayout(node,thread,isRoot); child->virtualLosses.fetch_add(-1,std::memory_order_release); + thread.shouldCountPlayout = true; return true; } @@ -1339,6 +1351,7 @@ bool Search::playoutDescend( SearchNodeChildrenReference children = node.getChildren(nodeState); children[bestChildIdx].addEdgeVisits(1); updateStatsAfterPlayout(node,thread,isRoot); + thread.shouldCountPlayout = true; } child->virtualLosses.fetch_add(-1,std::memory_order_release); // If we didn't count an edge visit, none of the parents need to update either. diff --git a/cpp/search/search.h b/cpp/search/search.h index 5d35265be..f327112ee 100644 --- a/cpp/search/search.h +++ b/cpp/search/search.h @@ -50,6 +50,10 @@ struct SearchThread { //The path we trace down the graph as we do a playout std::unordered_set graphPath; + //Tracks whether this thread did something that "should" be counted as a playout + //for the purpose of playout limits + bool shouldCountPlayout; + Rand rand; NNResultBuf nnResultBuf; diff --git a/cpp/tests/results/analysis/humansl_sidetomove.stderr b/cpp/tests/results/analysis/humansl_sidetomove.stderr index 685228924..b52655574 100644 --- a/cpp/tests/results/analysis/humansl_sidetomove.stderr +++ b/cpp/tests/results/analysis/humansl_sidetomove.stderr @@ -197,35 +197,35 @@ D4 : T -60.01c W -56.25c S -5.07c ( -4.0 L -2.6) LCB -138.73c P 31.03% WF 2 1 X X X X O . . . . O . . . . . . . . . koPOSITIONALscoreAREAtaxNONEsui1komi7.5 -Root visits: 30 +Root visits: 7 New playouts: 30 -NN rows: 169 -NN batches: 169 +NN rows: 68 +NN batches: 68 NN avg batch size: 1 -PV: K16 L14 K15 R8 L15 +PV: K16 L14 K15 M13 Tree: -: T 30.96c W 30.54c S 1.39c ( +6.0 L +8.0) N 30 -- K16 L14 K15 R8 L15 +: T 36.96c W 34.05c S 1.94c ( +6.8 L +8.9) N 7 -- K16 L14 K15 M13 ---White(^)--- -K16 : T 30.32c W 30.34c S 1.47c ( +6.1 L +8.2) LCB 15.02c P 29.96% WF 9.0 PSV 9 N 9 -- K16 L14 K15 R8 L15 -R7 : T 32.76c W 31.54c S 1.44c ( +6.1 L +8.0) LCB 14.49c P 14.36% WF 7.0 PSV 7 N 11 -- R7 R8 Q7 O9 Q4 J15 G16 G15 -R8 : T 30.32c W 30.60c S 1.42c ( +6.1 L +8.2) LCB -2.84c P 9.62% WF 5.0 PSV 3 N 5 -- R8 R9 Q8 P8 P7 -J15 : T 30.55c W 29.55c S 1.26c ( +5.8 L +7.7) LCB -12.54c P 9.26% WF 5.0 PSV 3 N 5 -- J15 F9 E8 -Q7 : T 34.34c W 34.29c S 1.99c ( +6.9 L +8.9) LCB -114.59c P 4.56% WF 2.0 PSV 2 N 2 -- Q7 O9 -S3 : T 15.82c W 17.02c S -0.93c ( +2.7 L +4.9) LCB -337.41c P 0.70% WF 0.7 PSV 0 N 9 -- S3 F9 E8 F7 E7 K16 -Q4 : T 24.35c W 25.19c S 0.80c ( +5.2 L +6.9) LCB -1400.00c P 3.16% WF 0.0 PSV 0 N 30 -- Q4 R7 S3 S2 S5 T3 K16 L14 -G9 : T 22.35c W 24.75c S 0.44c ( +4.6 L +6.4) LCB -1400.00c P 1.83% WF 0.0 PSV 0 N 6 -- G9 J15 G16 G15 F16 R8 -A2 : T -13.40c W -9.80c S -4.12c ( -1.9 L +0.1) LCB -1400.00c P 0.62% WF 0.0 PSV 0 N 3 -- A2 R8 K16 -R6 : T 31.10c W 28.55c S 1.07c ( +5.5 L +7.5) LCB -1400.00c P 0.50% WF 0.0 PSV 0 N 5 -- R6 R8 Q4 K16 +K16 : T 36.73c W 33.53c S 1.86c ( +6.7 L +8.8) LCB -6.89c P 29.96% WF 4.0 PSV 4 N 4 -- K16 L14 K15 M13 +R7 : T 38.89c W 35.81c S 2.36c ( +7.4 L +9.4) LCB -111.13c P 14.36% WF 2.0 PSV 2 N 3 -- R7 R8 Q7 +Q4 : T 26.49c W 26.41c S 0.99c ( +5.4 L +7.4) LCB -1400.00c P 3.16% WF 0.0 PSV 0 N 7 -- Q4 R7 P3 P2 O2 +G9 : T 34.45c W 32.53c S 1.91c ( +6.7 L +8.3) LCB -1400.00c P 1.83% WF 0.0 PSV 0 N 1 -- G9 +S3 : T 34.59c W 32.96c S 1.63c ( +6.4 L +8.5) LCB -1400.00c P 0.70% WF 0.0 PSV 0 N 2 -- S3 S2 +A2 : T -10.19c W -6.59c S -3.60c ( -1.2 L +1.1) LCB -1400.00c P 0.62% WF 0.0 PSV 0 N 1 -- A2 +R6 : T 33.89c W 32.03c S 1.86c ( +6.6 L +8.5) LCB -1400.00c P 0.50% WF 0.0 PSV 0 N 1 -- R6 +G7 : T 15.19c W 16.19c S -1.00c ( +2.6 L +4.7) LCB -1400.00c P 0.02% WF 0.0 PSV 0 N 1 -- G7 +F9 : T 20.58c W 20.99c S -0.42c ( +3.4 L +5.0) LCB -1400.00c P 0.01% WF 0.0 PSV 0 N 1 -- F9 +S4 : T 21.53c W 21.78c S -0.25c ( +3.7 L +5.9) LCB -1400.00c P 0.01% WF 0.0 PSV 0 N 1 -- S4 -: Response: {"id":"foo","isDuringSearch":false,"moveInfos":[{"edgeVisits":9,"edgeWeight":9.0,"humanPrior":0.0369729027,"lcb":0.597066141,"move":"K16","order":0,"prior":0.299649209,"pv":["K16","L14","K15","R8","L15"],"scoreLead":8.19536798,"scoreMean":8.19536798,"scoreSelfplay":6.09993322,"scoreStdev":29.1298306,"utility":0.303197611,"utilityLcb":0.15023435500000001,"visits":9,"weight":9.0,"winrate":0.651695875},{"edgeVisits":7,"edgeWeight":7.0,"humanPrior":0.0704989582,"lcb":0.592486667,"move":"R7","order":1,"prior":0.143602043,"pv":["R7","R8","Q7","O9","Q4","J15","G16","G15"],"scoreLead":7.98111079,"scoreMean":7.98111079,"scoreSelfplay":6.06744369,"scoreStdev":29.2389154,"utility":0.327558524,"utilityLcb":0.144919195,"visits":11,"weight":11.0,"winrate":0.657714999},{"edgeVisits":5,"edgeWeight":5.0,"humanPrior":0.0121138059,"lcb":0.534600325,"move":"R8","order":2,"prior":0.0961696729,"pv":["R8","R9","Q8","P8","P7"],"scoreLead":8.15892029,"scoreMean":8.15892029,"scoreSelfplay":6.0511632,"scoreStdev":29.4885764,"utility":0.303214979,"utilityLcb":-0.0283670452,"visits":5,"weight":5.0,"winrate":0.653022477},{"edgeVisits":5,"edgeWeight":5.0,"humanPrior":0.0130079212,"lcb":0.493863211,"move":"J15","order":3,"prior":0.0925599933,"pv":["J15","F9","E8"],"scoreLead":7.7010269,"scoreMean":7.7010269,"scoreSelfplay":5.80348079,"scoreStdev":29.0310239,"utility":0.305480196,"utilityLcb":-0.125423799,"visits":5,"weight":5.0,"winrate":0.647757495},{"edgeVisits":2,"edgeWeight":2.0,"humanPrior":0.00642104633,"lcb":0.139564779,"move":"Q7","order":4,"prior":0.0455860682,"pv":["Q7","O9"],"scoreLead":8.92065048,"scoreMean":8.92065048,"scoreSelfplay":6.88488245,"scoreStdev":29.7131392,"utility":0.343389983,"utilityLcb":-1.14594209,"visits":2,"weight":2.0,"winrate":0.671469092},{"edgeVisits":1,"edgeWeight":1.0,"humanPrior":0.0667431131,"lcb":-0.676435436,"move":"S3","order":5,"prior":0.0070363814,"pv":["S3","F9","E8","F7","E7","K16"],"scoreLead":4.93150513,"scoreMean":4.93150513,"scoreSelfplay":2.66554838,"scoreStdev":29.6539276,"utility":0.158238107,"utilityLcb":-3.37406506,"visits":9,"weight":9.0,"winrate":0.585101408},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.196276128,"lcb":-4.3740501,"move":"Q4","order":6,"prior":0.0315878764,"pv":["Q4","R7","S3","S2","S5","T3","K16","L14","K15","M13","P7","O8"],"scoreLead":6.9238452,"scoreMean":6.9238452,"scoreSelfplay":5.16114199,"scoreStdev":30.267089,"utility":0.243549343,"utilityLcb":-14.0,"visits":30,"weight":30.0,"winrate":0.625949896},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0410674475,"lcb":-4.37623332,"move":"G9","order":7,"prior":0.0183196962,"pv":["G9","J15","G16","G15","F16","R8"],"scoreLead":6.36450438,"scoreMean":6.36450438,"scoreSelfplay":4.62818563,"scoreStdev":28.8008677,"utility":0.22354865,"utilityLcb":-14.0,"visits":6,"weight":6.0,"winrate":0.623766683},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0245730467,"lcb":-4.5489928,"move":"A2","order":8,"prior":0.00615402218,"pv":["A2","R8","K16"],"scoreLead":0.118045151,"scoreMean":0.118045151,"scoreSelfplay":-1.87152922,"scoreStdev":28.9113759,"utility":-0.1340305,"utilityLcb":-14.0,"visits":3,"weight":3.0,"winrate":0.451007202},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0320390388,"lcb":-4.35725196,"move":"R6","order":9,"prior":0.00500496011,"pv":["R6","R8","Q4","K16"],"scoreLead":7.52803798,"scoreMean":7.52803798,"scoreSelfplay":5.53660405,"scoreStdev":29.5487487,"utility":0.310982079,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.642748042},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00720959064,"lcb":-4.31476974,"move":"R9","order":10,"prior":0.00287598767,"pv":["R9"],"scoreLead":9.72720909,"scoreMean":9.72720909,"scoreSelfplay":7.87389994,"scoreStdev":28.7133862,"utility":0.397764316,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.685230255},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00646984437,"lcb":-4.35279335,"move":"N14","order":11,"prior":0.00248187641,"pv":["N14"],"scoreLead":7.90124035,"scoreMean":7.90124035,"scoreSelfplay":5.23924732,"scoreStdev":29.1702774,"utility":0.303052273,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.647206649},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00895533897,"lcb":-4.34474348,"move":"O13","order":12,"prior":0.00242591579,"pv":["O13"],"scoreLead":8.16949081,"scoreMean":8.16949081,"scoreSelfplay":5.78538656,"scoreStdev":29.0116449,"utility":0.323010291,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.655256525},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0245003551,"lcb":-4.54082953,"move":"B3","order":13,"prior":0.00173814746,"pv":["B3","J15","G16"],"scoreLead":-0.0101203285,"scoreMean":-0.0101203285,"scoreSelfplay":-1.75930297,"scoreStdev":29.5099968,"utility":-0.16220499,"utilityLcb":-14.0,"visits":3,"weight":3.0,"winrate":0.459170471},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00676564919,"lcb":-4.35911191,"move":"Q6","order":14,"prior":0.000461741001,"pv":["Q6"],"scoreLead":7.61182117,"scoreMean":7.61182117,"scoreSelfplay":5.6964612,"scoreStdev":28.6284269,"utility":0.293728419,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.640888095},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0122185238,"lcb":-4.38991773,"move":"Q5","order":15,"prior":0.00039760361,"pv":["Q5"],"scoreLead":6.04722881,"scoreMean":6.04722881,"scoreSelfplay":3.77413535,"scoreStdev":29.0296171,"utility":0.218527188,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.610082269},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00867162365,"lcb":-4.38553143,"move":"G16","order":16,"prior":0.000390538655,"pv":["G16"],"scoreLead":5.58231401,"scoreMean":5.58231401,"scoreSelfplay":3.93839693,"scoreStdev":28.1350094,"utility":0.228396849,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.614468575},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0372956283,"lcb":-4.4319852,"move":"G7","order":17,"prior":0.000152148568,"pv":["G7","H7","K16","F7"],"scoreLead":3.97652295,"scoreMean":3.97652295,"scoreSelfplay":1.9151329,"scoreStdev":29.4298508,"utility":0.0987521297,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.568014801},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0294175632,"lcb":-4.44754757,"move":"F9","order":18,"prior":0.000124999773,"pv":["F9","J15","G16","R8"],"scoreLead":2.88289618,"scoreMean":2.88289618,"scoreSelfplay":1.10465622,"scoreStdev":29.088222,"utility":0.06584652,"utilityLcb":-14.0,"visits":4,"weight":4.0,"winrate":0.55245243},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0254612062,"lcb":-4.41605187,"move":"S4","order":19,"prior":7.53730419e-05,"pv":["S4","R7","Q4"],"scoreLead":4.80734436,"scoreMean":4.80734436,"scoreSelfplay":2.73900042,"scoreStdev":29.9812817,"utility":0.196198855,"utilityLcb":-14.0,"visits":3,"weight":3.0,"winrate":0.58394813},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0204663873,"lcb":-4.46525636,"move":"F7","order":20,"prior":5.66477829e-05,"pv":["F7","J15"],"scoreLead":2.44325852,"scoreMean":2.44325852,"scoreSelfplay":0.480640411,"scoreStdev":29.6379259,"utility":0.0452226506,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.534743644},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.063257955,"lcb":-4.48346163,"move":"L3","order":21,"prior":4.15763898e-05,"pv":["L3","L4","K16","L14","K15"],"scoreLead":1.97417219,"scoreMean":1.97417219,"scoreSelfplay":-0.0444769881,"scoreStdev":29.1971631,"utility":-0.00659449389,"utilityLcb":-14.0,"visits":8,"weight":8.0,"winrate":0.516538373},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0476166792,"lcb":-4.63322436,"move":"M1","order":22,"prior":2.34301406e-05,"pv":["M1","F9","E8","F7"],"scoreLead":-4.94954234,"scoreMean":-4.94954234,"scoreSelfplay":-6.35447903,"scoreStdev":29.9509019,"utility":-0.329730958,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.366775638},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.043335259,"lcb":-4.62318677,"move":"L1","order":23,"prior":1.39781723e-05,"pv":["L1","F9","E8","F7"],"scoreLead":-4.16613192,"scoreMean":-4.16613192,"scoreSelfplay":-5.74126837,"scoreStdev":29.9760394,"utility":-0.339467432,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.376813234},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0246800892,"lcb":-4.60632667,"move":"J1","order":24,"prior":6.92894901e-06,"pv":["J1","F9"],"scoreLead":-2.62487372,"scoreMean":-2.62487372,"scoreSelfplay":-4.32147813,"scoreStdev":29.7814826,"utility":-0.269570924,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.393673331}],"rootInfo":{"currentPlayer":"W","humanScoreMean":28.7761803,"humanScoreStdev":53.3557905,"humanStScoreError":5.88358259,"humanStWrError":0.210925847,"humanWinrate":0.690225601,"rawLead":8.56680107,"rawNoResultProb":0.0,"rawScoreSelfplay":6.07295275,"rawScoreSelfplayStdev":30.5714672,"rawStScoreError":-1.0,"rawStWrError":-0.5,"rawVarTimeLeft":-1.0,"rawWinrate":0.662818477,"scoreLead":8.14456124,"scoreSelfplay":6.11112618,"scoreStdev":29.2986798,"symHash":"1A326E1983022DB5AB1F2B942BB7BC2D","thisHash":"AFFF600595A143143082974D1DEECB2A","utility":0.314972228,"visits":30,"weight":29.787546120636804,"winrate":0.655094578},"turnNumber":0} +: Response: {"id":"foo","isDuringSearch":false,"moveInfos":[{"edgeVisits":4,"edgeWeight":4.0,"humanPrior":0.0369729027,"lcb":0.511869034,"move":"K16","order":0,"prior":0.299649209,"pv":["K16","L14","K15","M13"],"scoreLead":8.79781711,"scoreMean":8.79781711,"scoreSelfplay":6.67217529,"scoreStdev":29.3861812,"utility":0.367279223,"utilityLcb":-0.0689305947,"visits":4,"weight":4.0,"winrate":0.667658255},{"edgeVisits":2,"edgeWeight":2.0,"humanPrior":0.0704989582,"lcb":0.143237581,"move":"R7","order":1,"prior":0.143602043,"pv":["R7","R8","Q7"],"scoreLead":9.39454873,"scoreMean":9.39454873,"scoreSelfplay":7.38701105,"scoreStdev":29.3245477,"utility":0.388938876,"utilityLcb":-1.11129523,"visits":3,"weight":3.0,"winrate":0.679035475},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.196276128,"lcb":-4.36794426,"move":"Q4","order":2,"prior":0.0315878764,"pv":["Q4","R7","P3","P2","O2"],"scoreLead":7.44649629,"scoreMean":7.44649629,"scoreSelfplay":5.44618555,"scoreStdev":30.4183454,"utility":0.264903889,"utilityLcb":-14.0,"visits":7,"weight":7.0,"winrate":0.632055743},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0410674475,"lcb":-4.33733165,"move":"G9","order":3,"prior":0.0183196962,"pv":["G9"],"scoreLead":8.32476521,"scoreMean":8.32476521,"scoreSelfplay":6.7308259,"scoreStdev":29.0534018,"utility":0.34445702,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.662668347},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0667431131,"lcb":-4.33522131,"move":"S3","order":4,"prior":0.0070363814,"pv":["S3","S2"],"scoreLead":8.50721931,"scoreMean":8.50721931,"scoreSelfplay":6.37446642,"scoreStdev":29.9663385,"utility":0.345864987,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.664778687},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0245730467,"lcb":-4.53292859,"move":"A2","order":5,"prior":0.00615402218,"pv":["A2"],"scoreLead":1.11346102,"scoreMean":1.11346102,"scoreSelfplay":-1.2291441,"scoreStdev":29.7748941,"utility":-0.101887058,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.467071414},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0320390388,"lcb":-4.33984709,"move":"R6","order":6,"prior":0.00500496011,"pv":["R6"],"scoreLead":8.54109859,"scoreMean":8.54109859,"scoreSelfplay":6.62220716,"scoreStdev":28.4215735,"utility":0.338885866,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.660152912},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0372956283,"lcb":-4.41905779,"move":"G7","order":7,"prior":0.000152148568,"pv":["G7"],"scoreLead":4.65331364,"scoreMean":4.65331364,"scoreSelfplay":2.5734756,"scoreStdev":29.3908113,"utility":0.151911941,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.580942214},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0294175632,"lcb":-4.39503533,"move":"F9","order":8,"prior":0.000124999773,"pv":["F9"],"scoreLead":4.98847437,"scoreMean":4.98847437,"scoreSelfplay":3.41711903,"scoreStdev":28.9211078,"utility":0.205768892,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.604964674},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0254612062,"lcb":-4.39111316,"move":"S4","order":9,"prior":7.53730419e-05,"pv":["S4"],"scoreLead":5.91107655,"scoreMean":5.91107655,"scoreSelfplay":3.65521336,"scoreStdev":29.0770547,"utility":0.215305931,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.608886838},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.063257955,"lcb":-4.47383875,"move":"L3","order":10,"prior":4.15763898e-05,"pv":["L3","L4"],"scoreLead":2.22662425,"scoreMean":2.22662425,"scoreSelfplay":0.172669813,"scoreStdev":29.9178522,"utility":0.0259898656,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.526161253},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0476166792,"lcb":-4.54466985,"move":"M1","order":11,"prior":2.34301406e-05,"pv":["M1"],"scoreLead":0.336423665,"scoreMean":0.336423665,"scoreSelfplay":-1.91004014,"scoreStdev":29.6124792,"utility":-0.130167469,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.455330148},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.043335259,"lcb":-4.54907505,"move":"L1","order":12,"prior":1.39781723e-05,"pv":["L1"],"scoreLead":0.406795084,"scoreMean":0.406795084,"scoreSelfplay":-1.81142259,"scoreStdev":29.6096429,"utility":-0.138305615,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.450924948},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0246800892,"lcb":-4.56237507,"move":"J1","order":13,"prior":6.92894901e-06,"pv":["J1"],"scoreLead":-0.0950786322,"scoreMean":-0.0950786322,"scoreSelfplay":-2.14377308,"scoreStdev":29.3508919,"utility":-0.167424909,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.437624931}],"rootInfo":{"currentPlayer":"W","humanScoreMean":28.7761803,"humanScoreStdev":53.3557905,"humanStScoreError":5.88358259,"humanStWrError":0.210925847,"humanWinrate":0.690225601,"rawLead":8.56680107,"rawNoResultProb":0.0,"rawScoreSelfplay":6.07295275,"rawScoreSelfplayStdev":30.5714672,"rawStScoreError":-1.0,"rawStWrError":-0.5,"rawVarTimeLeft":-1.0,"rawWinrate":0.662818477,"scoreLead":8.93530957,"scoreSelfplay":6.79081086,"scoreStdev":29.544025,"symHash":"1A326E1983022DB5AB1F2B942BB7BC2D","thisHash":"AFFF600595A143143082974D1DEECB2A","utility":0.369535239,"visits":7,"weight":7.0,"winrate":0.670217492},"turnNumber":0} : tests/models/g170-b6c96-s175395328-d26788732.bin.gz -: NN rows: 169 -: NN batches: 169 +: NN rows: 68 +: NN batches: 68 : NN avg batch size: 1 : models/b18c384nbt-humanv0.bin.gz : NN rows: 4 : NN batches: 4 : NN avg batch size: 1 -: GPU -1 finishing, processed 169 rows 169 batches +: GPU -1 finishing, processed 68 rows 68 batches : GPU -1 finishing, processed 4 rows 4 batches : All cleaned up, quitting diff --git a/cpp/tests/results/analysis/humansl_sidetomove.stdout b/cpp/tests/results/analysis/humansl_sidetomove.stdout index 018e79018..9ab610f15 100644 --- a/cpp/tests/results/analysis/humansl_sidetomove.stdout +++ b/cpp/tests/results/analysis/humansl_sidetomove.stdout @@ -3,4 +3,4 @@ {"humanPolicy":[6.86444691e-05,0.0002068459,0.00156371156,0.0004661727,5.96135324e-05,3.01921773e-05,5.50770637e-05,0.000149418498,0.0815507621,-1.0,0.346601665,0.0014975454,0.000224476113,2.2803164e-05,0.000150813969,0.00592216151,-1.0,0.159003839,0.087852858,0.000238945839,2.86170998e-05,6.11979922e-05,0.000627909321,0.01391582,0.102011785,0.0379488878,0.000209562349,2.04223088e-05,4.86094177e-05,0.000366787193,0.051155217,0.0423813164,0.0635823458,0.000125765713,1.65830115e-05,2.75583279e-05,0.000252151454,0.000483204756,0.000479027163,0.000192679814,0.000173619424,1.4721285e-05,4.68081998e-05,2.05782817e-05,4.03520025e-05,2.12135747e-05,1.74688266e-05,1.21586027e-05,3.7830705e-05,1.43891566e-05],"id":"foo","isDuringSearch":false,"moveInfos":[{"edgeVisits":6,"edgeWeight":6.0,"humanPrior":0.159003839,"lcb":0.909193325,"move":"D5","order":0,"prior":0.694336712,"pv":["D5","D3","E3"],"scoreLead":10.678413,"scoreMean":10.678413,"scoreSelfplay":17.8136434,"scoreStdev":10.1127617,"utility":0.876974662,"utilityLcb":0.65032835,"visits":6,"weight":6.0,"winrate":0.990138436},{"edgeVisits":3,"edgeWeight":3.0,"humanPrior":0.102011785,"lcb":0.725732897,"move":"D4","order":1,"prior":0.259906083,"pv":["D4","D5","C4"],"scoreLead":10.4551684,"scoreMean":10.4551684,"scoreSelfplay":19.9358568,"scoreStdev":11.2093222,"utility":0.890828523,"utilityLcb":0.137014841,"visits":3,"weight":3.0,"winrate":0.994952069}],"ownership":[0.377908,0.472728,0.400251,0.413132,0.359308,0.270298,0.201806,0.446249,0.451938,0.323734,0.481912,0.429427,0.307479,0.200343,0.359553,0.488578,0.890953,0.672855,0.373444,0.288723,0.1928,0.361115,0.477832,0.454383,0.433047,0.419086,0.204149,0.162083,0.245897,0.251135,0.382372,-0.169173,0.115148,0.089997,0.078641,0.145908,0.100867,-0.016149,-0.091416,-0.029972,-0.06124,-0.030782,0.04807,-0.013095,-0.058428,-0.087736,-0.095803,-0.123612,-0.098765],"policy":[2.45338142e-05,4.53767861e-05,3.75308118e-05,3.4369139e-05,3.60671183e-05,5.78527761e-05,4.14012284e-05,4.40490221e-05,0.000719440694,-1.0,0.00894457195,7.74770233e-05,8.57391278e-05,6.1455532e-05,4.40249205e-05,0.000144242338,-1.0,0.694336712,0.00568302488,9.57005541e-05,5.27259108e-05,4.51800115e-05,0.000205694145,0.00268000993,0.259906083,0.0210749451,9.02411412e-05,5.5012104e-05,5.03227893e-05,6.63370738e-05,0.000613481971,0.00346120214,0.000252987258,6.44720712e-05,4.31625704e-05,4.06826257e-05,7.47281738e-05,9.72333874e-05,7.27158331e-05,7.0824055e-05,6.57788551e-05,4.82647447e-05,4.50410516e-05,4.69558108e-05,4.99996495e-05,4.62141215e-05,4.29544998e-05,4.88409423e-05,3.75244417e-05,3.69180925e-05],"rootInfo":{"currentPlayer":"W","humanScoreMean":13.750555,"humanScoreStdev":16.5725849,"humanStScoreError":1.74244237,"humanStWrError":0.00400809385,"humanWinrate":0.820711076,"rawLead":18.2429409,"rawNoResultProb":0.0,"rawScoreSelfplay":32.5102272,"rawScoreSelfplayStdev":9.45907201,"rawStScoreError":-1.0,"rawStWrError":-0.5,"rawVarTimeLeft":-1.0,"rawWinrate":0.997110963,"scoreLead":11.4693062,"scoreSelfplay":19.9182001,"scoreStdev":11.2522307,"symHash":"142D62B902727ED7A147F45224109E72","thisHash":"290AC1DB39349793CE09682AF7CA6A6E","utility":0.910747299,"visits":10,"weight":10.0,"winrate":0.991982859},"turnNumber":2} {"humanPolicy":[0.00085105293,0.127384171,-1.0,0.290727615,0.0010352697,0.000131353547,0.000182530246,0.000744956022,0.0876227096,-1.0,0.293539226,0.00309163309,0.000275493279,4.34556532e-05,0.000228278179,0.0282620732,-1.0,0.0847807452,0.0041238782,0.000126463827,3.99292076e-05,0.000125189879,0.000822850387,0.0288031511,0.0199425146,0.0027553821,7.42711927e-05,2.86806371e-05,5.41531226e-05,0.000223356401,0.0101836845,0.00428659702,0.00829406083,7.52767883e-05,2.76686533e-05,3.60528793e-05,9.99691183e-05,0.000115758194,0.000113864735,0.000100738391,0.000136638657,2.78278021e-05,0.000160323601,3.3839231e-05,3.96750438e-05,3.15586003e-05,3.04924051e-05,2.8561657e-05,0.000145731145,1.1236245e-05],"id":"foo","isDuringSearch":false,"moveInfos":[{"edgeVisits":7,"edgeWeight":7.0,"humanPrior":0.0847807452,"lcb":0.288507016,"move":"D5","order":0,"prior":0.612090468,"pv":["D5","D6","D4"],"scoreLead":-1.68954319,"scoreMean":-1.68954319,"scoreSelfplay":-2.63235195,"scoreStdev":13.378037,"utility":-0.291877359,"utilityLcb":-0.481939179,"visits":7,"weight":7.0,"winrate":0.356386238},{"edgeVisits":2,"edgeWeight":2.0,"humanPrior":0.0199425146,"lcb":-0.34720539,"move":"D4","order":1,"prior":0.310260922,"pv":["D4","D5"],"scoreLead":-2.94438857,"scoreMean":-2.94438857,"scoreSelfplay":-4.28857267,"scoreStdev":12.2481958,"utility":-0.754973082,"utilityLcb":-2.304096,"visits":2,"weight":2.0,"winrate":0.206052795}],"ownership":[-0.142169,-0.243858,-0.272976,-0.140009,0.086308,0.043381,0.127612,-0.247047,-0.176303,-0.030179,-0.233411,0.123215,0.084242,0.086467,-0.184877,-0.325595,-0.622656,0.614386,0.090022,0.131709,0.094224,-0.069468,-0.0648,0.208591,-0.030044,0.099041,0.182085,0.084689,-0.004206,0.023637,0.079321,0.066585,0.11324,0.111402,0.086181,0.036472,0.070743,0.069758,0.09954,0.071539,0.108027,0.073706,0.052517,0.055714,0.056071,0.054355,0.059737,0.072066,0.094346],"policy":[5.90559539e-05,0.000464014942,-1.0,7.61950578e-05,0.000104330204,0.000135126291,0.000122205136,0.000133477151,0.000264561007,-1.0,0.0279946737,0.000225069962,0.000139003168,0.000141953496,7.11018438e-05,0.000759935414,-1.0,0.612090468,0.019295644,0.000146504142,0.000114206297,8.7636683e-05,0.000113454109,0.00353930308,0.310260922,0.0127884233,0.000119564989,0.00011881614,9.63182974e-05,0.000180803443,0.00080827187,0.00699941069,0.000631156319,0.000136605464,0.000105863968,0.000124025217,0.000109793313,0.000141023935,0.000114052724,0.000139429219,0.000116800387,0.000113895119,0.000126400148,0.000120532859,9.44036365e-05,0.000104627929,9.91108463e-05,0.000105424202,0.000105429128,6.08757e-05],"rootInfo":{"currentPlayer":"B","humanScoreMean":-3.7547440500000002,"humanScoreStdev":19.0105741,"humanStScoreError":2.56396604,"humanStWrError":0.0267658867,"humanWinrate":0.341536388,"rawLead":-1.49701595,"rawNoResultProb":0.0,"rawScoreSelfplay":-1.6162231,"rawScoreSelfplayStdev":13.9577497,"rawStScoreError":-1.0,"rawStWrError":-0.5,"rawVarTimeLeft":-1.0,"rawWinrate":0.409201384,"scoreLead":-1.80757854,"scoreSelfplay":-2.70347327,"scoreStdev":13.3390415,"symHash":"478E9637C4E9D7DD298C5EDA99EA7431","thisHash":"90E43B353BA64F45F3186642D389E6E7","utility":-0.332081912,"visits":10,"weight":10.0,"winrate":0.345550871},"turnNumber":3} {"humanPolicy":[0.00085105293,0.127384171,-1.0,0.290727615,0.0010352697,0.000131353547,0.000182530246,0.000744956022,0.0876227096,-1.0,0.293539226,0.00309163309,0.000275493279,4.34556532e-05,0.000228278179,0.0282620732,-1.0,0.0847807452,0.0041238782,0.000126463827,3.99292076e-05,0.000125189879,0.000822850387,0.0288031511,0.0199425146,0.0027553821,7.42711927e-05,2.86806371e-05,5.41531226e-05,0.000223356401,0.0101836845,0.00428659702,0.00829406083,7.52767883e-05,2.76686533e-05,3.60528793e-05,9.99691183e-05,0.000115758194,0.000113864735,0.000100738391,0.000136638657,2.78278021e-05,0.000160323601,3.3839231e-05,3.96750438e-05,3.15586003e-05,3.04924051e-05,2.8561657e-05,0.000145731145,1.1236245e-05],"id":"foo","isDuringSearch":false,"moveInfos":[{"edgeVisits":16,"edgeWeight":16.0,"humanPrior":0.0847807452,"lcb":0.194081829,"move":"D5","order":0,"prior":0.612090468,"pv":["D5","D4","C4","B5","E4"],"scoreLead":-1.82040641,"scoreMean":-1.82040641,"scoreSelfplay":-2.93029889,"scoreStdev":12.9008282,"utility":-0.457859134,"utilityLcb":-0.777482788,"visits":16,"weight":16.0,"winrate":0.308233134},{"edgeVisits":3,"edgeWeight":3.0,"humanPrior":0.0199425146,"lcb":-0.0623825843,"move":"D4","order":1,"prior":0.310260922,"pv":["D4","D5","E5"],"scoreLead":-2.59038905,"scoreMean":-2.59038905,"scoreSelfplay":-3.97173214,"scoreStdev":12.1992103,"utility":-0.600103202,"utilityLcb":-1.3872723,"visits":3,"weight":3.0,"winrate":0.218749235}],"ownership":[-0.076745,-0.180073,-0.230928,-0.093141,0.035493,0.001355,0.072197,-0.175824,0.003957,0.087741,-0.183882,0.104591,0.068346,0.056489,-0.133441,-0.267325,-0.490499,0.702796,0.246049,0.129841,0.073855,-0.07158,-0.037739,0.122035,-0.085859,0.131758,0.173403,0.083124,-0.024762,-0.026832,0.033871,-0.007419,0.09322,0.100576,0.094527,0.016759,0.033097,0.015161,0.081621,0.055704,0.10511,0.090365,0.028346,0.05237,0.040722,0.04532,0.059747,0.099248,0.114559],"ownershipStdev":[0.392209,0.349335,0.347727,0.330862,0.313722,0.285425,0.239634,0.3421,0.507272,0.47183,0.472422,0.303753,0.303779,0.240401,0.274839,0.300723,0.354113,0.266491,0.250813,0.202193,0.167035,0.201943,0.219803,0.387256,0.61016,0.243314,0.168961,0.173306,0.180825,0.228623,0.263668,0.316538,0.194802,0.209368,0.166544,0.148985,0.180974,0.188989,0.18179,0.186986,0.167815,0.14479,0.132506,0.17129,0.149549,0.134602,0.129067,0.164111,0.129268],"policy":[5.90559539e-05,0.000464014942,-1.0,7.61950578e-05,0.000104330204,0.000135126291,0.000122205136,0.000133477151,0.000264561007,-1.0,0.0279946737,0.000225069962,0.000139003168,0.000141953496,7.11018438e-05,0.000759935414,-1.0,0.612090468,0.019295644,0.000146504142,0.000114206297,8.7636683e-05,0.000113454109,0.00353930308,0.310260922,0.0127884233,0.000119564989,0.00011881614,9.63182974e-05,0.000180803443,0.00080827187,0.00699941069,0.000631156319,0.000136605464,0.000105863968,0.000124025217,0.000109793313,0.000141023935,0.000114052724,0.000139429219,0.000116800387,0.000113895119,0.000126400148,0.000120532859,9.44036365e-05,0.000104627929,9.91108463e-05,0.000105424202,0.000105429128,6.08757e-05],"rootInfo":{"currentPlayer":"B","humanScoreMean":-3.7547440500000002,"humanScoreStdev":19.0105741,"humanStScoreError":2.56396604,"humanStWrError":0.0267658867,"humanWinrate":0.341536388,"rawLead":-1.49701595,"rawNoResultProb":0.0,"rawScoreSelfplay":-1.6162231,"rawScoreSelfplayStdev":13.9577497,"rawStScoreError":-1.0,"rawStWrError":-0.5,"rawVarTimeLeft":-1.0,"rawWinrate":0.409201384,"scoreLead":-1.91973428,"scoreSelfplay":-3.02081009,"scoreStdev":12.862736,"symHash":"478E9637C4E9D7DD298C5EDA99EA7431","thisHash":"90E43B353BA64F45F3186642D389E6E7","utility":-0.465833918,"visits":20,"weight":20.0,"winrate":0.299858961},"turnNumber":3} -{"id":"foo","isDuringSearch":false,"moveInfos":[{"edgeVisits":9,"edgeWeight":9.0,"humanPrior":0.0369729027,"lcb":0.597066141,"move":"K16","order":0,"prior":0.299649209,"pv":["K16","L14","K15","R8","L15"],"scoreLead":8.19536798,"scoreMean":8.19536798,"scoreSelfplay":6.09993322,"scoreStdev":29.1298306,"utility":0.303197611,"utilityLcb":0.15023435500000001,"visits":9,"weight":9.0,"winrate":0.651695875},{"edgeVisits":7,"edgeWeight":7.0,"humanPrior":0.0704989582,"lcb":0.592486667,"move":"R7","order":1,"prior":0.143602043,"pv":["R7","R8","Q7","O9","Q4","J15","G16","G15"],"scoreLead":7.98111079,"scoreMean":7.98111079,"scoreSelfplay":6.06744369,"scoreStdev":29.2389154,"utility":0.327558524,"utilityLcb":0.144919195,"visits":11,"weight":11.0,"winrate":0.657714999},{"edgeVisits":5,"edgeWeight":5.0,"humanPrior":0.0121138059,"lcb":0.534600325,"move":"R8","order":2,"prior":0.0961696729,"pv":["R8","R9","Q8","P8","P7"],"scoreLead":8.15892029,"scoreMean":8.15892029,"scoreSelfplay":6.0511632,"scoreStdev":29.4885764,"utility":0.303214979,"utilityLcb":-0.0283670452,"visits":5,"weight":5.0,"winrate":0.653022477},{"edgeVisits":5,"edgeWeight":5.0,"humanPrior":0.0130079212,"lcb":0.493863211,"move":"J15","order":3,"prior":0.0925599933,"pv":["J15","F9","E8"],"scoreLead":7.7010269,"scoreMean":7.7010269,"scoreSelfplay":5.80348079,"scoreStdev":29.0310239,"utility":0.305480196,"utilityLcb":-0.125423799,"visits":5,"weight":5.0,"winrate":0.647757495},{"edgeVisits":2,"edgeWeight":2.0,"humanPrior":0.00642104633,"lcb":0.139564779,"move":"Q7","order":4,"prior":0.0455860682,"pv":["Q7","O9"],"scoreLead":8.92065048,"scoreMean":8.92065048,"scoreSelfplay":6.88488245,"scoreStdev":29.7131392,"utility":0.343389983,"utilityLcb":-1.14594209,"visits":2,"weight":2.0,"winrate":0.671469092},{"edgeVisits":1,"edgeWeight":1.0,"humanPrior":0.0667431131,"lcb":-0.676435436,"move":"S3","order":5,"prior":0.0070363814,"pv":["S3","F9","E8","F7","E7","K16"],"scoreLead":4.93150513,"scoreMean":4.93150513,"scoreSelfplay":2.66554838,"scoreStdev":29.6539276,"utility":0.158238107,"utilityLcb":-3.37406506,"visits":9,"weight":9.0,"winrate":0.585101408},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.196276128,"lcb":-4.3740501,"move":"Q4","order":6,"prior":0.0315878764,"pv":["Q4","R7","S3","S2","S5","T3","K16","L14","K15","M13","P7","O8"],"scoreLead":6.9238452,"scoreMean":6.9238452,"scoreSelfplay":5.16114199,"scoreStdev":30.267089,"utility":0.243549343,"utilityLcb":-14.0,"visits":30,"weight":30.0,"winrate":0.625949896},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0410674475,"lcb":-4.37623332,"move":"G9","order":7,"prior":0.0183196962,"pv":["G9","J15","G16","G15","F16","R8"],"scoreLead":6.36450438,"scoreMean":6.36450438,"scoreSelfplay":4.62818563,"scoreStdev":28.8008677,"utility":0.22354865,"utilityLcb":-14.0,"visits":6,"weight":6.0,"winrate":0.623766683},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0245730467,"lcb":-4.5489928,"move":"A2","order":8,"prior":0.00615402218,"pv":["A2","R8","K16"],"scoreLead":0.118045151,"scoreMean":0.118045151,"scoreSelfplay":-1.87152922,"scoreStdev":28.9113759,"utility":-0.1340305,"utilityLcb":-14.0,"visits":3,"weight":3.0,"winrate":0.451007202},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0320390388,"lcb":-4.35725196,"move":"R6","order":9,"prior":0.00500496011,"pv":["R6","R8","Q4","K16"],"scoreLead":7.52803798,"scoreMean":7.52803798,"scoreSelfplay":5.53660405,"scoreStdev":29.5487487,"utility":0.310982079,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.642748042},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00720959064,"lcb":-4.31476974,"move":"R9","order":10,"prior":0.00287598767,"pv":["R9"],"scoreLead":9.72720909,"scoreMean":9.72720909,"scoreSelfplay":7.87389994,"scoreStdev":28.7133862,"utility":0.397764316,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.685230255},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00646984437,"lcb":-4.35279335,"move":"N14","order":11,"prior":0.00248187641,"pv":["N14"],"scoreLead":7.90124035,"scoreMean":7.90124035,"scoreSelfplay":5.23924732,"scoreStdev":29.1702774,"utility":0.303052273,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.647206649},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00895533897,"lcb":-4.34474348,"move":"O13","order":12,"prior":0.00242591579,"pv":["O13"],"scoreLead":8.16949081,"scoreMean":8.16949081,"scoreSelfplay":5.78538656,"scoreStdev":29.0116449,"utility":0.323010291,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.655256525},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0245003551,"lcb":-4.54082953,"move":"B3","order":13,"prior":0.00173814746,"pv":["B3","J15","G16"],"scoreLead":-0.0101203285,"scoreMean":-0.0101203285,"scoreSelfplay":-1.75930297,"scoreStdev":29.5099968,"utility":-0.16220499,"utilityLcb":-14.0,"visits":3,"weight":3.0,"winrate":0.459170471},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00676564919,"lcb":-4.35911191,"move":"Q6","order":14,"prior":0.000461741001,"pv":["Q6"],"scoreLead":7.61182117,"scoreMean":7.61182117,"scoreSelfplay":5.6964612,"scoreStdev":28.6284269,"utility":0.293728419,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.640888095},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0122185238,"lcb":-4.38991773,"move":"Q5","order":15,"prior":0.00039760361,"pv":["Q5"],"scoreLead":6.04722881,"scoreMean":6.04722881,"scoreSelfplay":3.77413535,"scoreStdev":29.0296171,"utility":0.218527188,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.610082269},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.00867162365,"lcb":-4.38553143,"move":"G16","order":16,"prior":0.000390538655,"pv":["G16"],"scoreLead":5.58231401,"scoreMean":5.58231401,"scoreSelfplay":3.93839693,"scoreStdev":28.1350094,"utility":0.228396849,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.614468575},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0372956283,"lcb":-4.4319852,"move":"G7","order":17,"prior":0.000152148568,"pv":["G7","H7","K16","F7"],"scoreLead":3.97652295,"scoreMean":3.97652295,"scoreSelfplay":1.9151329,"scoreStdev":29.4298508,"utility":0.0987521297,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.568014801},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0294175632,"lcb":-4.44754757,"move":"F9","order":18,"prior":0.000124999773,"pv":["F9","J15","G16","R8"],"scoreLead":2.88289618,"scoreMean":2.88289618,"scoreSelfplay":1.10465622,"scoreStdev":29.088222,"utility":0.06584652,"utilityLcb":-14.0,"visits":4,"weight":4.0,"winrate":0.55245243},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0254612062,"lcb":-4.41605187,"move":"S4","order":19,"prior":7.53730419e-05,"pv":["S4","R7","Q4"],"scoreLead":4.80734436,"scoreMean":4.80734436,"scoreSelfplay":2.73900042,"scoreStdev":29.9812817,"utility":0.196198855,"utilityLcb":-14.0,"visits":3,"weight":3.0,"winrate":0.58394813},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0204663873,"lcb":-4.46525636,"move":"F7","order":20,"prior":5.66477829e-05,"pv":["F7","J15"],"scoreLead":2.44325852,"scoreMean":2.44325852,"scoreSelfplay":0.480640411,"scoreStdev":29.6379259,"utility":0.0452226506,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.534743644},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.063257955,"lcb":-4.48346163,"move":"L3","order":21,"prior":4.15763898e-05,"pv":["L3","L4","K16","L14","K15"],"scoreLead":1.97417219,"scoreMean":1.97417219,"scoreSelfplay":-0.0444769881,"scoreStdev":29.1971631,"utility":-0.00659449389,"utilityLcb":-14.0,"visits":8,"weight":8.0,"winrate":0.516538373},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0476166792,"lcb":-4.63322436,"move":"M1","order":22,"prior":2.34301406e-05,"pv":["M1","F9","E8","F7"],"scoreLead":-4.94954234,"scoreMean":-4.94954234,"scoreSelfplay":-6.35447903,"scoreStdev":29.9509019,"utility":-0.329730958,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.366775638},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.043335259,"lcb":-4.62318677,"move":"L1","order":23,"prior":1.39781723e-05,"pv":["L1","F9","E8","F7"],"scoreLead":-4.16613192,"scoreMean":-4.16613192,"scoreSelfplay":-5.74126837,"scoreStdev":29.9760394,"utility":-0.339467432,"utilityLcb":-14.0,"visits":5,"weight":5.0,"winrate":0.376813234},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0246800892,"lcb":-4.60632667,"move":"J1","order":24,"prior":6.92894901e-06,"pv":["J1","F9"],"scoreLead":-2.62487372,"scoreMean":-2.62487372,"scoreSelfplay":-4.32147813,"scoreStdev":29.7814826,"utility":-0.269570924,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.393673331}],"rootInfo":{"currentPlayer":"W","humanScoreMean":28.7761803,"humanScoreStdev":53.3557905,"humanStScoreError":5.88358259,"humanStWrError":0.210925847,"humanWinrate":0.690225601,"rawLead":8.56680107,"rawNoResultProb":0.0,"rawScoreSelfplay":6.07295275,"rawScoreSelfplayStdev":30.5714672,"rawStScoreError":-1.0,"rawStWrError":-0.5,"rawVarTimeLeft":-1.0,"rawWinrate":0.662818477,"scoreLead":8.14456124,"scoreSelfplay":6.11112618,"scoreStdev":29.2986798,"symHash":"1A326E1983022DB5AB1F2B942BB7BC2D","thisHash":"AFFF600595A143143082974D1DEECB2A","utility":0.314972228,"visits":30,"weight":29.787546120636804,"winrate":0.655094578},"turnNumber":0} +{"id":"foo","isDuringSearch":false,"moveInfos":[{"edgeVisits":4,"edgeWeight":4.0,"humanPrior":0.0369729027,"lcb":0.511869034,"move":"K16","order":0,"prior":0.299649209,"pv":["K16","L14","K15","M13"],"scoreLead":8.79781711,"scoreMean":8.79781711,"scoreSelfplay":6.67217529,"scoreStdev":29.3861812,"utility":0.367279223,"utilityLcb":-0.0689305947,"visits":4,"weight":4.0,"winrate":0.667658255},{"edgeVisits":2,"edgeWeight":2.0,"humanPrior":0.0704989582,"lcb":0.143237581,"move":"R7","order":1,"prior":0.143602043,"pv":["R7","R8","Q7"],"scoreLead":9.39454873,"scoreMean":9.39454873,"scoreSelfplay":7.38701105,"scoreStdev":29.3245477,"utility":0.388938876,"utilityLcb":-1.11129523,"visits":3,"weight":3.0,"winrate":0.679035475},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.196276128,"lcb":-4.36794426,"move":"Q4","order":2,"prior":0.0315878764,"pv":["Q4","R7","P3","P2","O2"],"scoreLead":7.44649629,"scoreMean":7.44649629,"scoreSelfplay":5.44618555,"scoreStdev":30.4183454,"utility":0.264903889,"utilityLcb":-14.0,"visits":7,"weight":7.0,"winrate":0.632055743},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0410674475,"lcb":-4.33733165,"move":"G9","order":3,"prior":0.0183196962,"pv":["G9"],"scoreLead":8.32476521,"scoreMean":8.32476521,"scoreSelfplay":6.7308259,"scoreStdev":29.0534018,"utility":0.34445702,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.662668347},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0667431131,"lcb":-4.33522131,"move":"S3","order":4,"prior":0.0070363814,"pv":["S3","S2"],"scoreLead":8.50721931,"scoreMean":8.50721931,"scoreSelfplay":6.37446642,"scoreStdev":29.9663385,"utility":0.345864987,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.664778687},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0245730467,"lcb":-4.53292859,"move":"A2","order":5,"prior":0.00615402218,"pv":["A2"],"scoreLead":1.11346102,"scoreMean":1.11346102,"scoreSelfplay":-1.2291441,"scoreStdev":29.7748941,"utility":-0.101887058,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.467071414},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0320390388,"lcb":-4.33984709,"move":"R6","order":6,"prior":0.00500496011,"pv":["R6"],"scoreLead":8.54109859,"scoreMean":8.54109859,"scoreSelfplay":6.62220716,"scoreStdev":28.4215735,"utility":0.338885866,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.660152912},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0372956283,"lcb":-4.41905779,"move":"G7","order":7,"prior":0.000152148568,"pv":["G7"],"scoreLead":4.65331364,"scoreMean":4.65331364,"scoreSelfplay":2.5734756,"scoreStdev":29.3908113,"utility":0.151911941,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.580942214},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0294175632,"lcb":-4.39503533,"move":"F9","order":8,"prior":0.000124999773,"pv":["F9"],"scoreLead":4.98847437,"scoreMean":4.98847437,"scoreSelfplay":3.41711903,"scoreStdev":28.9211078,"utility":0.205768892,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.604964674},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0254612062,"lcb":-4.39111316,"move":"S4","order":9,"prior":7.53730419e-05,"pv":["S4"],"scoreLead":5.91107655,"scoreMean":5.91107655,"scoreSelfplay":3.65521336,"scoreStdev":29.0770547,"utility":0.215305931,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.608886838},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.063257955,"lcb":-4.47383875,"move":"L3","order":10,"prior":4.15763898e-05,"pv":["L3","L4"],"scoreLead":2.22662425,"scoreMean":2.22662425,"scoreSelfplay":0.172669813,"scoreStdev":29.9178522,"utility":0.0259898656,"utilityLcb":-14.0,"visits":2,"weight":2.0,"winrate":0.526161253},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0476166792,"lcb":-4.54466985,"move":"M1","order":11,"prior":2.34301406e-05,"pv":["M1"],"scoreLead":0.336423665,"scoreMean":0.336423665,"scoreSelfplay":-1.91004014,"scoreStdev":29.6124792,"utility":-0.130167469,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.455330148},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.043335259,"lcb":-4.54907505,"move":"L1","order":12,"prior":1.39781723e-05,"pv":["L1"],"scoreLead":0.406795084,"scoreMean":0.406795084,"scoreSelfplay":-1.81142259,"scoreStdev":29.6096429,"utility":-0.138305615,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.450924948},{"edgeVisits":0,"edgeWeight":0.0,"humanPrior":0.0246800892,"lcb":-4.56237507,"move":"J1","order":13,"prior":6.92894901e-06,"pv":["J1"],"scoreLead":-0.0950786322,"scoreMean":-0.0950786322,"scoreSelfplay":-2.14377308,"scoreStdev":29.3508919,"utility":-0.167424909,"utilityLcb":-14.0,"visits":1,"weight":1.0,"winrate":0.437624931}],"rootInfo":{"currentPlayer":"W","humanScoreMean":28.7761803,"humanScoreStdev":53.3557905,"humanStScoreError":5.88358259,"humanStWrError":0.210925847,"humanWinrate":0.690225601,"rawLead":8.56680107,"rawNoResultProb":0.0,"rawScoreSelfplay":6.07295275,"rawScoreSelfplayStdev":30.5714672,"rawStScoreError":-1.0,"rawStWrError":-0.5,"rawVarTimeLeft":-1.0,"rawWinrate":0.662818477,"scoreLead":8.93530957,"scoreSelfplay":6.79081086,"scoreStdev":29.544025,"symHash":"1A326E1983022DB5AB1F2B942BB7BC2D","thisHash":"AFFF600595A143143082974D1DEECB2A","utility":0.369535239,"visits":7,"weight":7.0,"winrate":0.670217492},"turnNumber":0} diff --git a/cpp/tests/results/gtp/humansl2.stdout b/cpp/tests/results/gtp/humansl2.stdout index e8c4c73f0..a452a6a61 100644 --- a/cpp/tests/results/gtp/humansl2.stdout +++ b/cpp/tests/results/gtp/humansl2.stdout @@ -1,6 +1,6 @@ = = -info move R7 visits 21 edgeVisits 1 utility -0.0690471 winrate 0.467201 scoreMean -0.4623 scoreStdev 16.5304 scoreLead -0.4623 scoreSelfplay -0.799061 prior 0.0893424 lcb -0.818182 utilityLcb -3.41104 weight 21 order 0 pv R7 F9 F7 J16 H16 J15 H15 info move R8 visits 4 edgeVisits 1 utility -0.0428946 winrate 0.479855 scoreMean -0.353274 scoreStdev 16.2929 scoreLead -0.353274 scoreSelfplay -0.608636 prior 0.0620775 lcb -0.794273 utilityLcb -3.35563 weight 4 order 1 pv R8 R9 Q8 info move G9 visits 1 edgeVisits 1 utility 0.0341225 winrate 0.516029 scoreMean 0.560557 scoreStdev 17.0558 scoreLead 0.560557 scoreSelfplay 0.475066 prior 0.061887 lcb -0.733971 utilityLcb -3.21588 weight 1 order 2 pv G9 info move S9 visits 1 edgeVisits 1 utility -0.0931803 winrate 0.45529 scoreMean -0.255715 scoreStdev 17.1028 scoreLead -0.255715 scoreSelfplay -0.865847 prior 0.069646 lcb -0.79471 utilityLcb -3.34318 weight 1 order 3 pv S9 info move K16 visits 10 edgeVisits 10 utility 0.21584 winrate 0.604329 scoreMean 1.23866 scoreStdev 16.9426 scoreLead 1.23866 scoreSelfplay 1.64245 prior 0.253913 lcb 0.502794 utilityLcb -0.0481505 weight 10 order 4 pv K16 F9 F7 L14 K15 info move J15 visits 14 edgeVisits 14 utility 0.264274 winrate 0.627475 scoreMean 1.53617 scoreStdev 16.7493 scoreLead 1.53617 scoreSelfplay 2.13217 prior 0.194069 lcb 0.544692 utilityLcb 0.0490383 weight 14 order 5 pv J15 F9 F7 R8 Q4 L13 info move K15 visits 1 edgeVisits 1 utility 0.017789 winrate 0.508291 scoreMean 0.481628 scoreStdev 17.4023 scoreLead 0.481628 scoreSelfplay 0.279131 prior 0.0887242 lcb -0.741709 utilityLcb -3.23221 weight 1 order 6 pv K15 info move Q4 visits 48 edgeVisits 0 utility -0.144605 winrate 0.430894 scoreMean -0.895584 scoreStdev 17.3076 scoreLead -0.895584 scoreSelfplay -1.48486 prior 0.0207002 lcb -4.56911 utilityLcb -13 weight 48 order 7 pv Q4 F9 F7 J15 P3 R6 S3 info move S3 visits 12 edgeVisits 0 utility -0.215133 winrate 0.397107 scoreMean -1.52659 scoreStdev 17.3456 scoreLead -1.52659 scoreSelfplay -2.17366 prior 0.0087584 lcb -4.60289 utilityLcb -13 weight 12 order 8 pv S3 J16 H17 R6 info move S4 visits 6 edgeVisits 0 utility -0.705162 winrate 0.162401 scoreMean -6.04616 scoreStdev 17.868 scoreLead -6.04616 scoreSelfplay -7.02053 prior 1.67207e-05 lcb -4.8376 utilityLcb -13 weight 6 order 9 pv S4 F9 F7 R7 info move R6 visits 7 edgeVisits 0 utility -0.0898487 winrate 0.457386 scoreMean -0.783587 scoreStdev 16.748 scoreLead -0.783587 scoreSelfplay -1.07244 prior 0.00170988 lcb -4.54261 utilityLcb -13 weight 7 order 10 pv R6 F9 F7 R8 info move Q5 visits 1 edgeVisits 0 utility -0.657136 winrate 0.184901 scoreMean -5.54227 scoreStdev 18.8249 scoreLead -5.54227 scoreSelfplay -6.37706 prior 1.71779e-05 lcb -4.8151 utilityLcb -13 weight 1 order 11 pv Q5 info move R5 visits 1 edgeVisits 0 utility -0.776588 winrate 0.128409 scoreMean -7.51432 scoreStdev 18.7305 scoreLead -7.51432 scoreSelfplay -7.91948 prior 1.01082e-05 lcb -4.87159 utilityLcb -13 weight 1 order 12 pv R5 info move Q6 visits 1 edgeVisits 0 utility -0.409214 winrate 0.303003 scoreMean -2.77891 scoreStdev 17.7411 scoreLead -2.77891 scoreSelfplay -3.54027 prior 0.000121405 lcb -4.697 utilityLcb -13 weight 1 order 13 pv Q6 info move Q7 visits 1 edgeVisits 0 utility -0.128165 winrate 0.438295 scoreMean -0.458918 scoreStdev 17.2083 scoreLead -0.458918 scoreSelfplay -1.09676 prior 0.0591756 lcb -4.5617 utilityLcb -13 weight 1 order 14 pv Q7 info move R9 visits 1 edgeVisits 0 utility -0.244363 winrate 0.382183 scoreMean -1.51618 scoreStdev 17.4728 scoreLead -1.51618 scoreSelfplay -2.02113 prior 0.000284661 lcb -4.61782 utilityLcb -13 weight 1 order 15 pv R9 +info move K16 visits 4 edgeVisits 4 utility 0.248006 winrate 0.619908 scoreMean 1.40093 scoreStdev 16.5324 scoreLead 1.40093 scoreSelfplay 1.86372 prior 0.253913 lcb 0.424479 utilityLcb -0.260107 weight 4 order 0 pv K16 F9 F7 info move J15 visits 5 edgeVisits 5 utility 0.258182 winrate 0.624476 scoreMean 1.51134 scoreStdev 16.9377 scoreLead 1.51134 scoreSelfplay 2.11661 prior 0.194069 lcb 0.459144 utilityLcb -0.171682 weight 5 order 1 pv J15 F9 F7 info move Q4 visits 11 edgeVisits 0 utility -0.0977103 winrate 0.453559 scoreMean -0.671423 scoreStdev 17.2528 scoreLead -0.671423 scoreSelfplay -1.12524 prior 0.0207002 lcb -4.54644 utilityLcb -13 weight 11 order 2 pv Q4 J16 H17 R6 info move R7 visits 4 edgeVisits 0 utility 0.0141998 winrate 0.507476 scoreMean -0.0134826 scoreStdev 16.4172 scoreLead -0.0134826 scoreSelfplay -0.185125 prior 0.0893424 lcb -4.49252 utilityLcb -13 weight 4 order 3 pv R7 R8 Q7 info move S3 visits 2 edgeVisits 0 utility -0.146226 winrate 0.430526 scoreMean -1.18367 scoreStdev 16.9412 scoreLead -1.18367 scoreSelfplay -1.70304 prior 0.0087584 lcb -4.56947 utilityLcb -13 weight 2 order 4 pv S3 F9 info move S4 visits 1 edgeVisits 0 utility -0.772964 winrate 0.130399 scoreMean -7.63778 scoreStdev 18.7116 scoreLead -7.63778 scoreSelfplay -8.00319 prior 1.67207e-05 lcb -4.8696 utilityLcb -13 weight 1 order 5 pv S4 info move R6 visits 1 edgeVisits 0 utility -0.289968 winrate 0.360241 scoreMean -1.6823 scoreStdev 17.8696 scoreLead -1.6823 scoreSelfplay -2.43287 prior 0.00170988 lcb -4.63976 utilityLcb -13 weight 1 order 6 pv R6 info move R8 visits 1 edgeVisits 0 utility -0.209823 winrate 0.398639 scoreMean -1.06024 scoreStdev 17.584 scoreLead -1.06024 scoreSelfplay -1.64668 prior 0.0620775 lcb -4.60136 utilityLcb -13 weight 1 order 7 pv R8 play Q4