AI Wiki中文/EN

Monte Carlo tree search: spend simulations on useful branches

蒙特卡洛树搜索

Trace selection, expansion, rollout and backup in a subtraction game, separating exploration scores from the final move.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

Four stones: take one or two?

Four stones lie on a table. Two players alternate taking one or two, and whoever takes the last stone wins. This is our original teaching game. Taking two looks faster, but leaves the opponent an immediate win by taking two more. Taking one and leaving three instead guarantees that you can finish the game.

We can draw every branch for four stones. With hundreds of choices per move and dozens of moves ahead, exhaustive calculation becomes expensive. Monte Carlo tree search (MCTS) gradually builds a tree from a limited set of simulations. Tried branches retain their results; later simulations pursue promising choices while giving uncertain branches attention. UCT is one way to allocate simulations using upper-confidence-bound ideas, not the only form of MCTS. UCT paper

First separate where the next simulation goes from what to play when the budget runs out. An exploration score may favor checking a branch with a lower mean. The final move need not keep paying to acquire information. Our program allocates simulations with UCT, then recommends the most visited action, breaking visit ties by mean value.

A separate UCT calculation distinguishes the next simulation from the final move. Actual search results retain all seeds and a missed winning move. Tables show three significant digits.
A separate UCT calculation distinguishes the next simulation from the final move. Actual search results retain all seeds and a missed winning move. Tables show three significant digits.

Whose payoff does an average describe?

We consider finite, alternating-turn, perfect-information, two-player zero-sum games; the main implementation is deterministic subtraction. Wins, draws and losses can generally be encoded as 1, 0 and −1, though this particular game has no draws. Each edge stores total return W(s,a)W(s,a) and visit count N(s,a)N(s,a) from its decision-maker’s perspective:

Q(s,a)=W(s,a)N(s,a),N(s,a)←N(s,a)+1,W(s,a)←W(s,a)+G.Q(s,a)=\frac{W(s,a)}{N(s,a)},\qquad N(s,a)\leftarrow N(s,a)+1,\qquad W(s,a)\leftarrow W(s,a)+G.

Here GG is the simulation result through the edge, already converted to that player’s perspective. QQ is a sample average, not a proven minimax value. An unvisited edge cannot be divided by zero. The program first chooses randomly among unexpanded legal actions and scores tried edges only after all actions have been tried.

Let N(s)N(s) be the node’s visits and c≥0c\ge0 an exploration coefficient. This article uses a common UCT form:

asim∈arg max⁡a[Q(s,a)+clog⁡N(s)N(s,a)].a_{\mathrm{sim}}\in\operatorname*{arg\,max}_a \left[Q(s,a)+c\sqrt{\frac{\log N(s)}{N(s,a)}}\right].

The first term tracks observed results. The second decreases as that action is visited and increases as its parent is repeatedly visited. Its scale must match the value range; it is not a win probability. For means 0.6 and 0.3, counts 8 and 2, parent count 10 and c=1c=1, scores are approximately 1.13649 and 1.37298. The lower-mean second edge is checked next. A score above 1 does not mean a probability above 100%.

The original UCT paper first explains UCB1 with independent, identically distributed bandit rewards, then specifically addresses drifting returns as lower tree policies change. Its conditional results include reward ranges, horizon scaling and error assumptions. Our example uses terminal values from −1 to 1 and a chosen c=1.4c=1.4; the paper’s constants cannot simply certify this finite budget. Neural leaf estimates are not error-free values under the original assumptions either. Conditions on PDF pages 4–7

A simulation selects along the tree, adds a node at an unexpanded edge, and then follows random actions to termination from the new node. This final portion is a rollout. During backward updates, the players have opposite preferences. There are no intermediate rewards and discount is 1 in our game, so crossing an action that changes the player gives:

Gparent=−Gchild.G_{\mathrm{parent}}=-G_{\mathrm{child}}.

At zero stones, the player who would move next has already lost, giving value −1. The parent player just took the final stone, so its backed-up value is +1. A general draw value of zero stays zero under a sign change, but the subtraction program contains no draw states. Intermediate rewards, discounting, more players or general-sum payoffs require more than blindly negating each level.

OpenSpiel stores return from the parent decision-maker’s perspective and selects that player’s component from a payoff vector during backup. Under our two-player zero-sum assumptions, this can express the same perspective as sign alternation, but the storage conventions must not be mixed. It also distinguishes chance nodes sampled from their actual probabilities from player decision nodes; an algorithm cannot choose the weather by maximization. Perspectives and chance nodes in fixed code

When the budget is exhausted, our recommendation is:

aplay∈arg max⁡aN(sroot,a).a_{\mathrm{play}}\in\operatorname*{arg\,max}_a N(s_{\mathrm{root}},a).

Tied counts are resolved by mean value, then the smaller action number. The original UCT text recommends maximum average return at the root; later practice often uses most visits. We choose the latter explicitly, without making it the universal definition of MCTS or retaining an exploration bonus in the final move.

Random rollout and optimal opposition are different. Consider another teaching tree with root branches A and B, after which the opponent chooses a terminal outcome. All payoffs below are from the root player’s perspective:

V(A)=min⁡{1,−1}=−1,V(B)=min⁡{0,0}=0.V(A)=\min\{1,-1\}=-1,\qquad V(B)=\min\{0,0\}=0.

Pretending that the opponent helps gives scores 1 and 0 and incorrectly recommends A. A uniformly random opponent gives A mean zero, which still differs from its −1 value against optimal opposition. MCTS must improve internal choices as the tree grows. More rollouts under one fixed random policy do not automatically turn that policy’s expectation into a minimax value.

More simulations do not make every move correct

The program below needs only Python 3.12 or later and the standard library. Each simulation adds at most one node. Nodes are distinguished by path; different paths reaching the same stone count are not merged. Tree actions, rollout actions and node counts are recorded separately. They are computations under known rules, not real-environment training observations.

The subtraction rules provide an independent evaluation answer through the count modulo 3. At zero stones, the next player has lost. From a nonmultiple of 3, a player can leave a multiple of 3; from a positive multiple, every legal action leaves a nonmultiple to the opponent. Consequently:

V∗(n)={−1,n≡0(mod3),+1,otherwise.V^*(n)=\begin{cases}-1,&n\equiv0\pmod3,\\+1,&\text{otherwise}.\end{cases}

A separate exhaustive recursion checks this pattern, but search cannot call it. Tests replace that oracle with a function that raises an error and confirm that search still completes, preventing an answer from being smuggled into planning.

"""Original UCT teaching game: take 1 or 2 stones; last move wins."""
from functools import lru_cache
import json
import math
import random


def legal(stones):
    return list(range(1, min(2, stones) + 1))


def rollout(stones, rng):
    """Result from the player-to-move perspective; terminal player has lost."""
    sign = 1
    while stones:
        stones -= rng.choice(legal(stones))
        sign = -sign
    return -sign


class Node:
    def __init__(self, stones):
        self.stones = stones
        self.visits = 0
        self.children = {}  # action -> [child node, edge count, edge value sum]


def simulate(node, rng, c, counts):
    if node.stones == 0:
        return -1.0
    unseen = [a for a in legal(node.stones) if a not in node.children]
    if unseen:
        action = rng.choice(unseen)
        child = Node(node.stones - action)
        node.children[action] = [child, 0, 0.0]
        counts['expanded_nodes'] += 1
        # Count every model action in selection/expansion and rollout separately.
        counts['tree_actions'] += 1
        remaining, sign = child.stones, 1
        while remaining:
            remaining -= rng.choice(legal(remaining))
            counts['rollout_actions'] += 1
            sign = -sign
        continuation = -sign
    else:
        scores = {a: edge[2]/edge[1] + c*math.sqrt(math.log(node.visits)/edge[1])
                  for a, edge in node.children.items()}
        best = max(scores.values())
        action = rng.choice([a for a in scores if scores[a] == best])
        child = node.children[action][0]
        counts['tree_actions'] += 1
        continuation = simulate(child, rng, c, counts)
    # The next player has the opposite payoff in this zero-sum terminal game.
    value = -continuation
    edge = node.children[action]
    edge[1] += 1
    edge[2] += value
    node.visits += 1
    return value


def search(stones, simulations, seed=0, c=1.4):
    if (not isinstance(stones, int) or stones < 1
            or not isinstance(simulations, int) or simulations < 1
            or c < 0 or not math.isfinite(c)):
        raise ValueError('Positive integer stones/budget and finite nonnegative c required.')
    root = Node(stones)
    rng = random.Random(seed)
    counts = dict(expanded_nodes=1, tree_actions=0, rollout_actions=0)
    for _ in range(simulations):
        simulate(root, rng, c, counts)
    # Most visits, then mean value, then smaller action; not UCT's selection score.
    action = max(root.children, key=lambda a: (root.children[a][1],
                 root.children[a][2]/root.children[a][1], -a))
    return dict(action=action, simulations=simulations, root_visits=root.visits,
                edges=[dict(action=a, visits=e[1], mean=e[2]/e[1])
                       for a,e in sorted(root.children.items())], **counts)


@lru_cache(None)
def exact_value(stones):
    """Independent exhaustive oracle, never called inside search."""
    return -1 if stones == 0 else max(-exact_value(stones-a) for a in legal(stones))


def experiment():
    rows = []
    for budget in (8, 32, 128):
        for seed in range(8):
            cases = []
            for stones in range(1, 13):
                result = search(stones, budget, seed)
                chosen_value = -exact_value(stones-result['action'])
                cases.append(dict(stones=stones, optimal=exact_value(stones),
                                  chosen_value=chosen_value, **result))
            rows.append(dict(seed=seed, budget=budget,
                             wrong_states=[r['stones'] for r in cases
                                           if r['chosen_value'] < r['optimal']], cases=cases))
    return rows


if __name__ == '__main__':
    print(json.dumps(experiment(), indent=2))
Inspect the complete recorded output
[
  {
    "seed": 0,
    "budget": 8,
    "wrong_states": [
      5,
      7
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": 1.0
          },
          {
            "action": 2,
            "visits": 4,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 10
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 17
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.6
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 20
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": 0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": 0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 29
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 32
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 39
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 42
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 47
      }
    ]
  },
  {
    "seed": 1,
    "budget": 8,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.7142857142857143
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 8,
        "tree_actions": 18,
        "rollout_actions": 6
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 9
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 17
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 21
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.14285714285714285
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 24
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 33
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": 0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": 0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 41
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": 0.5
          },
          {
            "action": 2,
            "visits": 4,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 43
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": 0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 50
      }
    ]
  },
  {
    "seed": 2,
    "budget": 8,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 8,
        "tree_actions": 15,
        "rollout_actions": 9
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 9
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.14285714285714285
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 16
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": 0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 24
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 27
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 34
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.14285714285714285
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 38
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 41
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 41
      }
    ]
  },
  {
    "seed": 3,
    "budget": 8,
    "wrong_states": [
      8
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 1.0
          },
          {
            "action": 2,
            "visits": 2,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 8,
        "tree_actions": 17,
        "rollout_actions": 6
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 9
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 8,
        "tree_actions": 17,
        "rollout_actions": 14
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 21
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": 0.6
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 29
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 33
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 35
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 17,
        "rollout_actions": 41
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 45
      }
    ]
  },
  {
    "seed": 4,
    "budget": 8,
    "wrong_states": [
      8
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": 0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 12
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 13
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": 0.5
          },
          {
            "action": 2,
            "visits": 4,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 23
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 19,
        "rollout_actions": 26
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 27
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": 1.0
          },
          {
            "action": 2,
            "visits": 4,
            "mean": 0.5
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 39
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 35
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": 0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 48
      }
    ]
  },
  {
    "seed": 5,
    "budget": 8,
    "wrong_states": [
      7,
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": 0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 14
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.14285714285714285
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 16
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 21
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.7142857142857143
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 19,
        "rollout_actions": 25
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 17,
        "rollout_actions": 36
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 0.3333333333333333
          },
          {
            "action": 2,
            "visits": 2,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 17,
        "rollout_actions": 38
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 2,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 44
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 4,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 52
      }
    ]
  },
  {
    "seed": 6,
    "budget": 8,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 1.0
          },
          {
            "action": 2,
            "visits": 2,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 8,
        "tree_actions": 17,
        "rollout_actions": 6
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 13
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 0.3333333333333333
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 17,
        "rollout_actions": 19
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.7142857142857143
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 19,
        "rollout_actions": 19
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 28
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": 0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": 0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 37
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.14285714285714285
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 34
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": 0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 46
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 48
      }
    ]
  },
  {
    "seed": 7,
    "budget": 8,
    "wrong_states": [
      4,
      7,
      8,
      10
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 8,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 3,
        "tree_actions": 8,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 14,
        "rollout_actions": 8
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 18,
        "rollout_actions": 9
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": 0.2
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 20
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 1,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 7,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 20,
        "rollout_actions": 21
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 1,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 19,
        "rollout_actions": 32
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": 1.0
          },
          {
            "action": 2,
            "visits": 3,
            "mean": 0.3333333333333333
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 37
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 6,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 18,
        "rollout_actions": 40
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": 0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 46
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 8,
        "root_visits": 8,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 16,
        "rollout_actions": 51
      }
    ]
  },
  {
    "seed": 0,
    "budget": 32,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": -0.8947368421052632
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 29,
            "mean": 0.8620689655172413
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 88,
        "rollout_actions": 8
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": 0.3333333333333333
          },
          {
            "action": 2,
            "visits": 26,
            "mean": 0.9230769230769231
          }
        ],
        "expanded_nodes": 13,
        "tree_actions": 88,
        "rollout_actions": 13
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 12,
            "mean": -0.6666666666666666
          },
          {
            "action": 2,
            "visits": 20,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 19,
        "tree_actions": 106,
        "rollout_actions": 23
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 24,
            "mean": 0.16666666666666666
          },
          {
            "action": 2,
            "visits": 8,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 25,
        "tree_actions": 115,
        "rollout_actions": 41
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 11,
            "mean": -0.09090909090909091
          },
          {
            "action": 2,
            "visits": 21,
            "mean": 0.3333333333333333
          }
        ],
        "expanded_nodes": 28,
        "tree_actions": 115,
        "rollout_actions": 60
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 14,
            "mean": -0.2857142857142857
          },
          {
            "action": 2,
            "visits": 18,
            "mean": -0.1111111111111111
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 124,
        "rollout_actions": 75
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 25,
            "mean": 0.2
          },
          {
            "action": 2,
            "visits": 7,
            "mean": -0.42857142857142855
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 122,
        "rollout_actions": 115
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 21,
            "mean": -0.047619047619047616
          },
          {
            "action": 2,
            "visits": 11,
            "mean": -0.45454545454545453
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 125,
        "rollout_actions": 124
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.6666666666666666
          },
          {
            "action": 2,
            "visits": 26,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 126,
        "rollout_actions": 136
      }
    ]
  },
  {
    "seed": 1,
    "budget": 32,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": -0.8
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 29,
            "mean": 0.9310344827586207
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 88,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 0.8666666666666667
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 89,
        "rollout_actions": 11
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 15,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 17,
            "mean": -0.5294117647058824
          }
        ],
        "expanded_nodes": 19,
        "tree_actions": 107,
        "rollout_actions": 22
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 30,
            "mean": 0.6666666666666666
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 20,
        "tree_actions": 131,
        "rollout_actions": 30
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 26,
            "mean": 0.3076923076923077
          }
        ],
        "expanded_nodes": 26,
        "tree_actions": 119,
        "rollout_actions": 48
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": -0.25
          },
          {
            "action": 2,
            "visits": 24,
            "mean": -0.16666666666666666
          }
        ],
        "expanded_nodes": 30,
        "tree_actions": 123,
        "rollout_actions": 72
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 18,
            "mean": 0.1111111111111111
          },
          {
            "action": 2,
            "visits": 14,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 115,
        "rollout_actions": 104
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 18,
            "mean": 0.4444444444444444
          },
          {
            "action": 2,
            "visits": 14,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 115,
        "rollout_actions": 128
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 18,
            "mean": 0.1111111111111111
          },
          {
            "action": 2,
            "visits": 14,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 122,
        "rollout_actions": 143
      }
    ]
  },
  {
    "seed": 2,
    "budget": 32,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": -0.8
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 28,
            "mean": 0.7857142857142857
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 87,
        "rollout_actions": 9
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 29,
            "mean": 0.8620689655172413
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 88,
        "rollout_actions": 12
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": -0.5789473684210527
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -0.6923076923076923
          }
        ],
        "expanded_nodes": 18,
        "tree_actions": 109,
        "rollout_actions": 23
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 28,
            "mean": 0.35714285714285715
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 27,
        "tree_actions": 121,
        "rollout_actions": 43
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 16,
            "mean": -0.25
          },
          {
            "action": 2,
            "visits": 16,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 27,
        "tree_actions": 124,
        "rollout_actions": 52
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 9,
            "mean": -0.1111111111111111
          },
          {
            "action": 2,
            "visits": 23,
            "mean": -0.043478260869565216
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 121,
        "rollout_actions": 74
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": 0.2
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -0.16666666666666666
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 117,
        "rollout_actions": 118
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 23,
            "mean": -0.13043478260869565
          },
          {
            "action": 2,
            "visits": 9,
            "mean": -0.5555555555555556
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 123,
        "rollout_actions": 121
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 10,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 22,
            "mean": 0.36363636363636365
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 122,
        "rollout_actions": 136
      }
    ]
  },
  {
    "seed": 3,
    "budget": 32,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": -0.8
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 28,
            "mean": 0.9285714285714286
          },
          {
            "action": 2,
            "visits": 4,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 87,
        "rollout_actions": 8
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 29,
            "mean": 0.8620689655172413
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 88,
        "rollout_actions": 12
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 15,
            "mean": -0.4666666666666667
          },
          {
            "action": 2,
            "visits": 17,
            "mean": -0.4117647058823529
          }
        ],
        "expanded_nodes": 21,
        "tree_actions": 104,
        "rollout_actions": 27
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 23,
            "mean": 0.13043478260869565
          },
          {
            "action": 2,
            "visits": 9,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 25,
        "tree_actions": 116,
        "rollout_actions": 40
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 12,
            "mean": 0.16666666666666666
          },
          {
            "action": 2,
            "visits": 20,
            "mean": 0.5
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 114,
        "rollout_actions": 60
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 28,
            "mean": 0.07142857142857142
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 141,
        "rollout_actions": 74
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 24,
            "mean": 0.25
          },
          {
            "action": 2,
            "visits": 8,
            "mean": 0.25
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 129,
        "rollout_actions": 93
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 23,
            "mean": -0.13043478260869565
          },
          {
            "action": 2,
            "visits": 9,
            "mean": -0.5555555555555556
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 118,
        "rollout_actions": 126
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 29,
            "mean": 0.2413793103448276
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 141,
        "rollout_actions": 105
      }
    ]
  },
  {
    "seed": 4,
    "budget": 32,
    "wrong_states": [
      8
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": -0.8947368421052632
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 30,
            "mean": 0.8666666666666667
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 89,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 29,
            "mean": 0.8620689655172413
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 88,
        "rollout_actions": 12
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 13,
            "mean": -0.38461538461538464
          },
          {
            "action": 2,
            "visits": 19,
            "mean": -0.3684210526315789
          }
        ],
        "expanded_nodes": 21,
        "tree_actions": 104,
        "rollout_actions": 28
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 27,
            "mean": 0.6296296296296297
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 25,
        "tree_actions": 120,
        "rollout_actions": 42
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 22,
            "mean": -0.09090909090909091
          },
          {
            "action": 2,
            "visits": 10,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 127,
        "rollout_actions": 58
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 22,
            "mean": -0.09090909090909091
          },
          {
            "action": 2,
            "visits": 10,
            "mean": -0.4
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 127,
        "rollout_actions": 66
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 25,
            "mean": 0.44
          },
          {
            "action": 2,
            "visits": 7,
            "mean": -0.14285714285714285
          }
        ],
        "expanded_nodes": 32,
        "tree_actions": 134,
        "rollout_actions": 91
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 28,
            "mean": 0.6428571428571429
          }
        ],
        "expanded_nodes": 32,
        "tree_actions": 139,
        "rollout_actions": 87
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 17,
            "mean": -0.058823529411764705
          },
          {
            "action": 2,
            "visits": 15,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 123,
        "rollout_actions": 137
      }
    ]
  },
  {
    "seed": 5,
    "budget": 32,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": -0.8947368421052632
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 30,
            "mean": 0.8666666666666667
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 89,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 29,
            "mean": 0.8620689655172413
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 88,
        "rollout_actions": 14
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": -0.47368421052631576
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -0.6923076923076923
          }
        ],
        "expanded_nodes": 18,
        "tree_actions": 109,
        "rollout_actions": 24
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 24,
            "mean": 0.4166666666666667
          },
          {
            "action": 2,
            "visits": 8,
            "mean": -0.25
          }
        ],
        "expanded_nodes": 26,
        "tree_actions": 121,
        "rollout_actions": 39
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 0.6
          }
        ],
        "expanded_nodes": 25,
        "tree_actions": 129,
        "rollout_actions": 41
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 12,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 20,
            "mean": -0.3
          }
        ],
        "expanded_nodes": 32,
        "tree_actions": 118,
        "rollout_actions": 84
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 27,
            "mean": 0.25925925925925924
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.6
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 130,
        "rollout_actions": 98
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 7,
            "mean": -0.14285714285714285
          },
          {
            "action": 2,
            "visits": 25,
            "mean": 0.28
          }
        ],
        "expanded_nodes": 32,
        "tree_actions": 126,
        "rollout_actions": 105
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 8,
            "mean": -0.25
          },
          {
            "action": 2,
            "visits": 24,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 132,
        "rollout_actions": 133
      }
    ]
  },
  {
    "seed": 6,
    "budget": 32,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": -0.8947368421052632
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 28,
            "mean": 0.9285714285714286
          },
          {
            "action": 2,
            "visits": 4,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 87,
        "rollout_actions": 8
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 26,
            "mean": 0.7692307692307693
          }
        ],
        "expanded_nodes": 13,
        "tree_actions": 88,
        "rollout_actions": 15
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -0.6666666666666666
          }
        ],
        "expanded_nodes": 18,
        "tree_actions": 109,
        "rollout_actions": 24
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 30,
            "mean": 0.6666666666666666
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 24,
        "tree_actions": 129,
        "rollout_actions": 36
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 28,
            "mean": 0.5
          }
        ],
        "expanded_nodes": 24,
        "tree_actions": 124,
        "rollout_actions": 46
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 10,
            "mean": -0.4
          },
          {
            "action": 2,
            "visits": 22,
            "mean": -0.18181818181818182
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 125,
        "rollout_actions": 73
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": 0.1
          },
          {
            "action": 2,
            "visits": 12,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 32,
        "tree_actions": 127,
        "rollout_actions": 96
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 25,
            "mean": 0.04
          },
          {
            "action": 2,
            "visits": 7,
            "mean": -0.42857142857142855
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 135,
        "rollout_actions": 122
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": -0.3
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -0.6666666666666666
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 125,
        "rollout_actions": 148
      }
    ]
  },
  {
    "seed": 7,
    "budget": 32,
    "wrong_states": [
      8
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 32,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 32,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 33,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 20,
            "mean": -0.8
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 6,
        "tree_actions": 62,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 25,
            "mean": 0.76
          },
          {
            "action": 2,
            "visits": 7,
            "mean": -0.42857142857142855
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 84,
        "rollout_actions": 10
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 30,
            "mean": 0.8666666666666667
          }
        ],
        "expanded_nodes": 9,
        "tree_actions": 89,
        "rollout_actions": 11
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 16,
            "mean": -0.375
          },
          {
            "action": 2,
            "visits": 16,
            "mean": -0.375
          }
        ],
        "expanded_nodes": 22,
        "tree_actions": 104,
        "rollout_actions": 28
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": 0.3684210526315789
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -0.07692307692307693
          }
        ],
        "expanded_nodes": 30,
        "tree_actions": 114,
        "rollout_actions": 45
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 18,
            "mean": 0.6666666666666666
          },
          {
            "action": 2,
            "visits": 14,
            "mean": 0.42857142857142855
          }
        ],
        "expanded_nodes": 27,
        "tree_actions": 118,
        "rollout_actions": 59
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 16,
            "mean": 0.5
          },
          {
            "action": 2,
            "visits": 16,
            "mean": 0.5
          }
        ],
        "expanded_nodes": 30,
        "tree_actions": 117,
        "rollout_actions": 83
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": 0.3684210526315789
          },
          {
            "action": 2,
            "visits": 13,
            "mean": 0.38461538461538464
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 115,
        "rollout_actions": 117
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 12,
            "mean": 0.16666666666666666
          },
          {
            "action": 2,
            "visits": 20,
            "mean": 0.1
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 120,
        "rollout_actions": 122
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 32,
        "root_visits": 32,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 27,
            "mean": 0.1111111111111111
          }
        ],
        "expanded_nodes": 33,
        "tree_actions": 128,
        "rollout_actions": 130
      }
    ]
  },
  {
    "seed": 0,
    "budget": 128,
    "wrong_states": [
      11
    ],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 73,
            "mean": -0.9452054794520548
          },
          {
            "action": 2,
            "visits": 55,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 124,
            "mean": 0.9516129032258065
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 11,
        "tree_actions": 376,
        "rollout_actions": 8
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 9,
            "mean": 0.1111111111111111
          },
          {
            "action": 2,
            "visits": 119,
            "mean": 0.9663865546218487
          }
        ],
        "expanded_nodes": 17,
        "tree_actions": 380,
        "rollout_actions": 14
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 57,
            "mean": -0.8596491228070176
          },
          {
            "action": 2,
            "visits": 71,
            "mean": -0.8309859154929577
          }
        ],
        "expanded_nodes": 23,
        "tree_actions": 490,
        "rollout_actions": 26
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 120,
            "mean": 0.75
          },
          {
            "action": 2,
            "visits": 8,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 35,
        "tree_actions": 596,
        "rollout_actions": 47
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 11,
            "mean": -0.09090909090909091
          },
          {
            "action": 2,
            "visits": 117,
            "mean": 0.7948717948717948
          }
        ],
        "expanded_nodes": 34,
        "tree_actions": 594,
        "rollout_actions": 62
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 68,
            "mean": -0.6176470588235294
          },
          {
            "action": 2,
            "visits": 60,
            "mean": -0.6333333333333333
          }
        ],
        "expanded_nodes": 49,
        "tree_actions": 688,
        "rollout_actions": 90
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 119,
            "mean": 0.42857142857142855
          },
          {
            "action": 2,
            "visits": 9,
            "mean": -0.5555555555555556
          }
        ],
        "expanded_nodes": 82,
        "tree_actions": 758,
        "rollout_actions": 169
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 81,
            "mean": -0.1111111111111111
          },
          {
            "action": 2,
            "visits": 47,
            "mean": -0.02127659574468085
          }
        ],
        "expanded_nodes": 109,
        "tree_actions": 737,
        "rollout_actions": 264
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 56,
            "mean": -0.21428571428571427
          },
          {
            "action": 2,
            "visits": 72,
            "mean": -0.16666666666666666
          }
        ],
        "expanded_nodes": 116,
        "tree_actions": 750,
        "rollout_actions": 308
      }
    ]
  },
  {
    "seed": 1,
    "budget": 128,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 77,
            "mean": -0.922077922077922
          },
          {
            "action": 2,
            "visits": 51,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 124,
            "mean": 0.967741935483871
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 11,
        "tree_actions": 376,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 0.9523809523809523
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 378,
        "rollout_actions": 11
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 61,
            "mean": -0.8360655737704918
          },
          {
            "action": 2,
            "visits": 67,
            "mean": -0.8208955223880597
          }
        ],
        "expanded_nodes": 23,
        "tree_actions": 490,
        "rollout_actions": 25
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 125,
            "mean": 0.856
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 26,
        "tree_actions": 607,
        "rollout_actions": 35
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 122,
            "mean": 0.8032786885245902
          }
        ],
        "expanded_nodes": 29,
        "tree_actions": 600,
        "rollout_actions": 50
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 60,
            "mean": -0.6666666666666666
          },
          {
            "action": 2,
            "visits": 68,
            "mean": -0.6176470588235294
          }
        ],
        "expanded_nodes": 55,
        "tree_actions": 675,
        "rollout_actions": 102
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 109,
            "mean": 0.5229357798165137
          },
          {
            "action": 2,
            "visits": 19,
            "mean": -0.15789473684210525
          }
        ],
        "expanded_nodes": 76,
        "tree_actions": 745,
        "rollout_actions": 152
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 27,
            "mean": 0.25925925925925924
          },
          {
            "action": 2,
            "visits": 101,
            "mean": 0.6831683168316832
          }
        ],
        "expanded_nodes": 74,
        "tree_actions": 741,
        "rollout_actions": 181
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 54,
            "mean": -0.1111111111111111
          },
          {
            "action": 2,
            "visits": 74,
            "mean": -0.05405405405405406
          }
        ],
        "expanded_nodes": 115,
        "tree_actions": 759,
        "rollout_actions": 296
      }
    ]
  },
  {
    "seed": 2,
    "budget": 128,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 77,
            "mean": -0.922077922077922
          },
          {
            "action": 2,
            "visits": 51,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 124,
            "mean": 0.9354838709677419
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 11,
        "tree_actions": 376,
        "rollout_actions": 9
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.2
          },
          {
            "action": 2,
            "visits": 123,
            "mean": 0.9512195121951219
          }
        ],
        "expanded_nodes": 13,
        "tree_actions": 377,
        "rollout_actions": 15
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 75,
            "mean": -0.8133333333333334
          },
          {
            "action": 2,
            "visits": 53,
            "mean": -0.8867924528301887
          }
        ],
        "expanded_nodes": 25,
        "tree_actions": 491,
        "rollout_actions": 29
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 124,
            "mean": 0.7903225806451613
          },
          {
            "action": 2,
            "visits": 4,
            "mean": -0.5
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 602,
        "rollout_actions": 44
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 16,
            "mean": -0.25
          },
          {
            "action": 2,
            "visits": 112,
            "mean": 0.7678571428571429
          }
        ],
        "expanded_nodes": 37,
        "tree_actions": 599,
        "rollout_actions": 64
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 66,
            "mean": -0.5757575757575758
          },
          {
            "action": 2,
            "visits": 62,
            "mean": -0.5806451612903226
          }
        ],
        "expanded_nodes": 57,
        "tree_actions": 676,
        "rollout_actions": 107
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 99,
            "mean": 0.5353535353535354
          },
          {
            "action": 2,
            "visits": 29,
            "mean": 0.034482758620689655
          }
        ],
        "expanded_nodes": 85,
        "tree_actions": 727,
        "rollout_actions": 178
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 30,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 98,
            "mean": 0.6122448979591837
          }
        ],
        "expanded_nodes": 82,
        "tree_actions": 734,
        "rollout_actions": 205
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 54,
            "mean": 0.037037037037037035
          },
          {
            "action": 2,
            "visits": 74,
            "mean": 0.08108108108108109
          }
        ],
        "expanded_nodes": 111,
        "tree_actions": 733,
        "rollout_actions": 301
      }
    ]
  },
  {
    "seed": 3,
    "budget": 128,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 77,
            "mean": -0.922077922077922
          },
          {
            "action": 2,
            "visits": 51,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 123,
            "mean": 0.967479674796748
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 11,
        "tree_actions": 375,
        "rollout_actions": 8
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 124,
            "mean": 0.9516129032258065
          }
        ],
        "expanded_nodes": 12,
        "tree_actions": 377,
        "rollout_actions": 13
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 64,
            "mean": -0.8125
          },
          {
            "action": 2,
            "visits": 64,
            "mean": -0.8125
          }
        ],
        "expanded_nodes": 24,
        "tree_actions": 490,
        "rollout_actions": 28
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 119,
            "mean": 0.7815126050420168
          },
          {
            "action": 2,
            "visits": 9,
            "mean": -0.3333333333333333
          }
        ],
        "expanded_nodes": 30,
        "tree_actions": 597,
        "rollout_actions": 42
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 12,
            "mean": 0.16666666666666666
          },
          {
            "action": 2,
            "visits": 116,
            "mean": 0.8275862068965517
          }
        ],
        "expanded_nodes": 37,
        "tree_actions": 595,
        "rollout_actions": 64
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 69,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 59,
            "mean": -0.3559322033898305
          }
        ],
        "expanded_nodes": 82,
        "tree_actions": 679,
        "rollout_actions": 127
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 102,
            "mean": 0.5490196078431373
          },
          {
            "action": 2,
            "visits": 26,
            "mean": 0.0
          }
        ],
        "expanded_nodes": 77,
        "tree_actions": 732,
        "rollout_actions": 162
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 48,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 80,
            "mean": 0.05
          }
        ],
        "expanded_nodes": 108,
        "tree_actions": 711,
        "rollout_actions": 255
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 28,
            "mean": -0.14285714285714285
          },
          {
            "action": 2,
            "visits": 100,
            "mean": 0.04
          }
        ],
        "expanded_nodes": 112,
        "tree_actions": 737,
        "rollout_actions": 287
      }
    ]
  },
  {
    "seed": 4,
    "budget": 128,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 73,
            "mean": -0.9452054794520548
          },
          {
            "action": 2,
            "visits": 55,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 126,
            "mean": 0.9523809523809523
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 378,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 124,
            "mean": 0.9516129032258065
          }
        ],
        "expanded_nodes": 12,
        "tree_actions": 377,
        "rollout_actions": 13
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 61,
            "mean": -0.8032786885245902
          },
          {
            "action": 2,
            "visits": 67,
            "mean": -0.7910447761194029
          }
        ],
        "expanded_nodes": 24,
        "tree_actions": 490,
        "rollout_actions": 29
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 121,
            "mean": 0.8347107438016529
          },
          {
            "action": 2,
            "visits": 7,
            "mean": -0.14285714285714285
          }
        ],
        "expanded_nodes": 34,
        "tree_actions": 597,
        "rollout_actions": 47
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 22,
            "mean": -0.09090909090909091
          },
          {
            "action": 2,
            "visits": 106,
            "mean": 0.7735849056603774
          }
        ],
        "expanded_nodes": 44,
        "tree_actions": 602,
        "rollout_actions": 68
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 71,
            "mean": -0.6338028169014085
          },
          {
            "action": 2,
            "visits": 57,
            "mean": -0.6842105263157895
          }
        ],
        "expanded_nodes": 52,
        "tree_actions": 685,
        "rollout_actions": 93
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 118,
            "mean": 0.6440677966101694
          },
          {
            "action": 2,
            "visits": 10,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 63,
        "tree_actions": 769,
        "rollout_actions": 130
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 5,
            "mean": -0.6
          },
          {
            "action": 2,
            "visits": 123,
            "mean": 0.6910569105691057
          }
        ],
        "expanded_nodes": 63,
        "tree_actions": 775,
        "rollout_actions": 126
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 82,
            "mean": -0.0975609756097561
          },
          {
            "action": 2,
            "visits": 46,
            "mean": -0.21739130434782608
          }
        ],
        "expanded_nodes": 118,
        "tree_actions": 764,
        "rollout_actions": 285
      }
    ]
  },
  {
    "seed": 5,
    "budget": 128,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 73,
            "mean": -0.9452054794520548
          },
          {
            "action": 2,
            "visits": 55,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 126,
            "mean": 0.9523809523809523
          },
          {
            "action": 2,
            "visits": 2,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 378,
        "rollout_actions": 7
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 124,
            "mean": 0.9516129032258065
          }
        ],
        "expanded_nodes": 12,
        "tree_actions": 377,
        "rollout_actions": 15
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 71,
            "mean": -0.8309859154929577
          },
          {
            "action": 2,
            "visits": 57,
            "mean": -0.8596491228070176
          }
        ],
        "expanded_nodes": 22,
        "tree_actions": 493,
        "rollout_actions": 25
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 120,
            "mean": 0.8
          },
          {
            "action": 2,
            "visits": 8,
            "mean": -0.25
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 599,
        "rollout_actions": 42
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 3,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 125,
            "mean": 0.856
          }
        ],
        "expanded_nodes": 31,
        "tree_actions": 606,
        "rollout_actions": 48
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 66,
            "mean": -0.6666666666666666
          },
          {
            "action": 2,
            "visits": 62,
            "mean": -0.6774193548387096
          }
        ],
        "expanded_nodes": 54,
        "tree_actions": 679,
        "rollout_actions": 102
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 95,
            "mean": 0.28421052631578947
          },
          {
            "action": 2,
            "visits": 33,
            "mean": -0.15151515151515152
          }
        ],
        "expanded_nodes": 94,
        "tree_actions": 736,
        "rollout_actions": 175
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 19,
            "mean": -0.05263157894736842
          },
          {
            "action": 2,
            "visits": 109,
            "mean": 0.5963302752293578
          }
        ],
        "expanded_nodes": 79,
        "tree_actions": 737,
        "rollout_actions": 199
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 84,
            "mean": 0.0
          },
          {
            "action": 2,
            "visits": 44,
            "mean": -0.18181818181818182
          }
        ],
        "expanded_nodes": 116,
        "tree_actions": 777,
        "rollout_actions": 299
      }
    ]
  },
  {
    "seed": 6,
    "budget": 128,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 73,
            "mean": -0.9452054794520548
          },
          {
            "action": 2,
            "visits": 55,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 3
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 123,
            "mean": 0.967479674796748
          },
          {
            "action": 2,
            "visits": 5,
            "mean": -0.2
          }
        ],
        "expanded_nodes": 11,
        "tree_actions": 375,
        "rollout_actions": 8
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 6,
            "mean": -0.3333333333333333
          },
          {
            "action": 2,
            "visits": 122,
            "mean": 0.9344262295081968
          }
        ],
        "expanded_nodes": 14,
        "tree_actions": 377,
        "rollout_actions": 15
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 71,
            "mean": -0.8309859154929577
          },
          {
            "action": 2,
            "visits": 57,
            "mean": -0.8596491228070176
          }
        ],
        "expanded_nodes": 22,
        "tree_actions": 493,
        "rollout_actions": 25
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 125,
            "mean": 0.856
          },
          {
            "action": 2,
            "visits": 3,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 30,
        "tree_actions": 607,
        "rollout_actions": 39
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 4,
            "mean": -0.5
          },
          {
            "action": 2,
            "visits": 124,
            "mean": 0.8387096774193549
          }
        ],
        "expanded_nodes": 29,
        "tree_actions": 604,
        "rollout_actions": 49
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 78,
            "mean": -0.5128205128205128
          },
          {
            "action": 2,
            "visits": 50,
            "mean": -0.6
          }
        ],
        "expanded_nodes": 73,
        "tree_actions": 674,
        "rollout_actions": 127
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 101,
            "mean": 0.6039603960396039
          },
          {
            "action": 2,
            "visits": 27,
            "mean": 0.037037037037037035
          }
        ],
        "expanded_nodes": 75,
        "tree_actions": 744,
        "rollout_actions": 153
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 53,
            "mean": -0.16981132075471697
          },
          {
            "action": 2,
            "visits": 75,
            "mean": -0.17333333333333334
          }
        ],
        "expanded_nodes": 113,
        "tree_actions": 734,
        "rollout_actions": 259
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 116,
            "mean": 0.017241379310344827
          },
          {
            "action": 2,
            "visits": 12,
            "mean": -0.6666666666666666
          }
        ],
        "expanded_nodes": 111,
        "tree_actions": 806,
        "rollout_actions": 301
      }
    ]
  },
  {
    "seed": 7,
    "budget": 128,
    "wrong_states": [],
    "cases": [
      {
        "stones": 1,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 128,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 2,
        "tree_actions": 128,
        "rollout_actions": 0
      },
      {
        "stones": 2,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 1.0
          }
        ],
        "expanded_nodes": 4,
        "tree_actions": 129,
        "rollout_actions": 1
      },
      {
        "stones": 3,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 77,
            "mean": -0.922077922077922
          },
          {
            "action": 2,
            "visits": 51,
            "mean": -1.0
          }
        ],
        "expanded_nodes": 7,
        "tree_actions": 255,
        "rollout_actions": 4
      },
      {
        "stones": 4,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 121,
            "mean": 0.9338842975206612
          },
          {
            "action": 2,
            "visits": 7,
            "mean": -0.42857142857142855
          }
        ],
        "expanded_nodes": 11,
        "tree_actions": 373,
        "rollout_actions": 10
      },
      {
        "stones": 5,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 2,
            "mean": -1.0
          },
          {
            "action": 2,
            "visits": 126,
            "mean": 0.9523809523809523
          }
        ],
        "expanded_nodes": 10,
        "tree_actions": 378,
        "rollout_actions": 11
      },
      {
        "stones": 6,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 67,
            "mean": -0.7910447761194029
          },
          {
            "action": 2,
            "visits": 61,
            "mean": -0.8032786885245902
          }
        ],
        "expanded_nodes": 25,
        "tree_actions": 490,
        "rollout_actions": 29
      },
      {
        "stones": 7,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 115,
            "mean": 0.8434782608695652
          },
          {
            "action": 2,
            "visits": 13,
            "mean": -0.07692307692307693
          }
        ],
        "expanded_nodes": 34,
        "tree_actions": 592,
        "rollout_actions": 48
      },
      {
        "stones": 8,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 22,
            "mean": 0.45454545454545453
          },
          {
            "action": 2,
            "visits": 106,
            "mean": 0.8490566037735849
          }
        ],
        "expanded_nodes": 38,
        "tree_actions": 590,
        "rollout_actions": 70
      },
      {
        "stones": 9,
        "optimal": -1,
        "chosen_value": -1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 80,
            "mean": -0.175
          },
          {
            "action": 2,
            "visits": 48,
            "mean": -0.25
          }
        ],
        "expanded_nodes": 69,
        "tree_actions": 676,
        "rollout_actions": 125
      },
      {
        "stones": 10,
        "optimal": 1,
        "chosen_value": 1,
        "action": 1,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 76,
            "mean": 0.15789473684210525
          },
          {
            "action": 2,
            "visits": 52,
            "mean": 0.07692307692307693
          }
        ],
        "expanded_nodes": 97,
        "tree_actions": 687,
        "rollout_actions": 199
      },
      {
        "stones": 11,
        "optimal": 1,
        "chosen_value": 1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 50,
            "mean": -0.04
          },
          {
            "action": 2,
            "visits": 78,
            "mean": 0.20512820512820512
          }
        ],
        "expanded_nodes": 106,
        "tree_actions": 709,
        "rollout_actions": 256
      },
      {
        "stones": 12,
        "optimal": -1,
        "chosen_value": -1,
        "action": 2,
        "simulations": 128,
        "root_visits": 128,
        "edges": [
          {
            "action": 1,
            "visits": 43,
            "mean": -0.3023255813953488
          },
          {
            "action": 2,
            "visits": 85,
            "mean": -0.15294117647058825
          }
        ],
        "expanded_nodes": 111,
        "tree_actions": 760,
        "rollout_actions": 307
      }
    ]
  }
]

The experiment covers 1–12 stones, three budgets and eight random seeds: 288 searches. Each recommended action is evaluated against optimal opposition. A state that is already a forced loss is not scored as a mistake merely because it cannot be won; all its legal actions are equally optimal.

Simulations per searchWrong-state counts across eight seeds, each tested on 12 states
82, 1, 1, 1, 1, 2, 0, 4
321, 1, 1, 1, 1, 0, 1, 1
1281, 0, 0, 0, 0, 0, 0, 0

At 128 simulations, seed 0 still chooses wrongly with 11 stones remaining. More computation improves this aggregate without turning every small search into a proof procedure. Seed 6 gets every state right at budget 8 but makes one mistake at budget 32, directly refuting per-seed monotonic improvement. Retaining seeds makes results reproducible, not universally representative.

In this example, tree plus rollout actions per simulation cannot exceed the initial stone count nn, since every action removes at least one. That part of BB simulations takes O(Bn)O(Bn) time. At most one node is added per simulation, giving O(B)O(B) tree space, excluding storage of the full experiment output. General games add legal-action generation, state cloning and leaf evaluation. Neural inference can cost much more than tree statistics; equal simulation counts need not mean equal runtime.

An unseen danger does not appear in the mean by itself

A losing move may be exposed only by one narrow opponent response. Finite rollouts can miss it and leave an optimistic mean. Zero priors, insufficient exploration, poor leaf evaluation or a representation missing relevant information can also leave branches inadequately checked. More search does not automatically fix an incorrect environment model.

Repeated positions and cycles need explicit handling. Original UCT definitions include state and depth. In a finite-horizon task, the same position with a different remaining horizon can have a different value. Our game always ends; the program has no transposition table, cycle detector, subtree proof mechanism or parallel virtual loss. OpenSpiel has an additional solver path, which our program does not acquire just by consulting its search interface. Implementation scope

Neural-guided search is also more than renaming UCT’s bonus. AlphaZero uses policy priors and a value network for PUCT and learning targets. MuZero additionally replaces internal dynamics with a learned latent model. Priors, value perspective, reward indexing and training need their own checks.

Exploring a branch or choosing a move?

  1. Understanding: UCT selects the second edge in the example with means 0.6 and 0.3 and counts 8 and 2. If search stops now, which edge does our final rule recommend?

    Answer: The first, because 8 visits exceed 2. UCT allocates the next simulation; final recommendation uses visit counts. The decisions serve different purposes.

  2. Calculation: Taking the last stone reaches a zero-stone node valued at −1. Why is the parent edge not recorded as a loss? What happens with a draw value of zero?

    Answer: The −1 belongs to the opponent who would move next, so converting to the parent’s perspective gives +1. A general zero-sum draw remains zero after negation. This explains the convention without claiming our subtraction game has draws.

  3. Counterexample: After A, the opponent can choose root-player payoffs +1 or −1; B always gives zero. Uniform rollouts give A mean zero. Does this make A as safe as B?

    Answer: No. The average describes a random opponent. An optimal opponent makes A worth −1 while B stays zero. Adversarial evaluation must account for the opponent’s choice rather than a fixed uniform response.

  4. Transfer: You add a per-turn cost and a maximum turn count to a board game. Can you keep “just negate every level” and merge statistics solely by position?

    Answer: Not directly. Define whose reward is paid, whether it is discounted, and how true termination differs from an external limit. Different remaining horizons may require separate statistics. Our program implements only a terminating small zero-sum game without intermediate rewards.

Separate the paper, the implementation and your experiment

Kocsis and Szepesvári introduced UCT in Bandit Based Monte-Carlo Planning (ECML 2006). We read author-PDF pages 2–7 and first-page identity/abstract, visually inspecting page 5. The discussion of drifting returns, horizon conditions and root recommendation comes from that scope. Many proofs are omitted in the paper; we do not label those omissions independently verified or claim to reproduce the later experiments. Author paper

OpenSpiel is pinned to commit 48401890ee9857e611678302371378175a8e4c6b (2026-08-31), with mcts.py lines 87–165 and 313–471 read. The actual UCT/PUCT functions are more precise than nearby brief docstrings, so the comparison follows those functions. Upstream code was neither executed nor copied. Our subtraction program and numerical experiments are original, and all eight seeds are retained; the reference project’s maturity does not replace validation of our code. Fixed implementation

Make a prediction, then check

Must the highest UCT exploration score also identify the final recommended move?

Choose one answer

Learning objectives

  • Specify whose payoff is backed up and implement UCT with visit counts and value sums.
  • Distinguish rollout means, optimal opponent responses and recommendations under a finite simulation budget.

Prerequisites & connections

Explore related knowledge →

References

  1. Bandit Based Monte-Carlo Planning — scoped author manuscript
    Levente Kocsis; Csaba Szepesvári · 2006
  2. OpenSpiel MCTS — fixed-commit selection and backup
    Google DeepMind; OpenSpiel contributors · 2026

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-23 · Single AI author. Scoped reading: ECML2006 identity located through a UT Austin course bibliography. Author PDF12 pages: read2–7 and first-page identity/abstract, viewed5. Nonstationary returns, depth, conditional bounds and negamax footnote; no full experiment or omitted-proof audit. Fixed2026-08-31 commit; read87–165 and313–471: parent decision-maker perspective, actual UCT/PUCT functions, chance nodes and solver. Brief docstrings do not replace code; Apache-2.0 identity confirmed. No upstream execution/copying or match replication. 6 paired equations and four explained exercises. UCT allocation and final recommendation are separated; current-player signs, terminal outcomes, visit budgets and rollout limits checked against an independent modulo oracle. All288 cases retained, including finite-search failures and nonmonotonic seeds. No iid-return or universal finite-budget guarantee.

  • UCT allocation and final recommendation are separated; current-player signs, terminal outcomes, visit budgets and rollout limits checked against an independent modulo oracle. All288 cases retained, including finite-search failures and nonmonotonic seeds. No iid-return or universal finite-budget guarantee.
  • Four computed SVG variants per topic;9 numeric/geometry tests and18 current responsive cases passed. All nine selected current captures directly viewed; separated visit counts and signed values correct the retained initial color-scale failure. Actual assets and manuscripts are SHA bound. Full article acceptance recorded separately.

Source locations checked:

  • Bandit Based Monte-Carlo Planning — scoped author manuscript · ECML2006 identity located through a UT Austin course bibliography. Author PDF12 pages: read2–7 and first-page identity/abstract, viewed5. Nonstationary returns, depth, conditional bounds and negamax footnote; no full experiment or omitted-proof audit.
  • OpenSpiel MCTS — fixed-commit selection and backup · Fixed2026-08-31 commit; read87–165 and313–471: parent decision-maker perspective, actual UCT/PUCT functions, chance nodes and solver. Brief docstrings do not replace code; Apache-2.0 identity confirmed. No upstream execution/copying or match replication.

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.