db3108 / michi-c Goto Github PK
View Code? Open in Web Editor NEWMichi-c --- Michi (Minimalistic Go MCTS Engine) recoded in C
Michi-c --- Michi (Minimalistic Go MCTS Engine) recoded in C
Is there a suggested way to add stones to the board?
For example, currently I add two black stones to board by:
$ ./michi gtp
play black c3
Move: 1 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . .(X). . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
=
play white pass
Move: 2 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . X . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
=
play block c11
Move: 3 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . .(X). . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . X . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
It'd be nice to have an add black c3
command before the first move is made (when pos->n
is still 0). It is very useful for setting up life and death go problems.
Exception log:
genmove w
Traceback (most recent call last):
File "michi.py", line 1166, in <module>
gtp_io()
File "michi.py", line 1105, in gtp_io
tree = tree_search(tree, N_SIMS, owner_map)
File "michi.py", line 840, in tree_search
tree.expand()
File "michi.py", line 706, in expand
pos2 = self.pos.move(c)
File "michi.py", line 246, in move
fboard = floodfill(board, d) # get a board with the adjecent group replaced by '#'
File "michi.py", line 159, in floodfill
if byteboard[d] == p:
IndexError: bytearray index out of range
Full Game log
name
= michi
protocol_version
= 2
version
= simple go program demo
list_commands
= boardsize
clear_board
komi
play
genmove
final_score
quit
name
version
known_command
list_commands
protocol_version
tsdebug
boardsize 19
=
clear_board
=
komi 7.5
=
Loading pattern spatial dictionary...
Loading large patterns...
Done.
Move: 0 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
Move: 0 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
Move: 0 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
Move: 0 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
Warning: Trying to set incompatible boardsize 19 (!= 13)
Move: 0 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
Move: 0 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
Move: 0 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
play B Q4
=
Move: 1 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 (X). . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
genmove w
[ 200] winrate 0.645 | seq C10 K11 L4 | can C10(0.645) L4(0.675) D11(0.593) K11(0.647) L10(0.625)
[ 400] winrate 0.626 | seq L4 C10 L10 M10 | can L4(0.626) C10(0.580) L10(0.673) D11(0.574) K4(0.500)
[ 600] winrate 0.633 | seq K11 K3 D11 D9 | can K11(0.633) L4(0.628) C10(0.594) L10(0.657) D11(0.544)
[ 800] winrate 0.619 | seq L4 C10 L10 L8 | can L4(0.619) K11(0.591) C10(0.579) L10(0.636) D11(0.516)
[1000] winrate 0.600 | seq L4 C10 L10 J3 | can L4(0.600) C10(0.562) K11(0.586) L10(0.636) K4(0.520)
[1200] winrate 0.596 | seq K11 D10 K3 L8 L10 | can K11(0.596) C10(0.576) L4(0.597) L10(0.636) K4(0.526)
[1400] winrate 0.588 | seq C10 K11 K3 C5 | can C10(0.588) K11(0.608) L4(0.597) L10(0.636) K4(0.526)
+- A3 0.420 (588/1400, prior 5/20, rave 0/0=nan, urgency 0.418)
+- C10 0.588 (254/432, prior 68/73, rave 516/871=0.592, urgency 0.611)
+- K11 0.421 (48/114, prior 68/73, rave 90/229=0.393, urgency 0.499)
+- K3 0.677 (21/31, prior 68/73, rave 41/68=0.603, urgency 0.757)
+- K3 0.407 (46/113, prior 68/73, rave 106/249=0.426, urgency 0.509)
+- K4 0.448 (39/87, prior 61/66, rave 107/256=0.418, urgency 0.510)
+- K11 0.529 (18/34, prior 67/72, rave 31/56=0.554, urgency 0.718)
+- L4 0.398 (33/83, prior 68/73, rave 104/253=0.411, urgency 0.505)
+- K10 0.732 (30/41, prior 60/65, rave 36/59=0.610, urgency 0.765)
+- K11 0.608 (188/309, prior 68/73, rave 465/810=0.574, urgency 0.609)
+- D10 0.459 (34/74, prior 60/65, rave 71/175=0.406, urgency 0.530)
+- K3 0.567 (17/30, prior 68/73, rave 30/47=0.638, urgency 0.768)
+- K3 0.382 (21/55, prior 68/73, rave 60/158=0.380, urgency 0.525)
+- L4 0.358 (19/53, prior 68/73, rave 56/147=0.381, urgency 0.527)
+- K9 0.452 (19/42, prior 51/56, rave 66/164=0.402, urgency 0.523)
+- C10 0.276 (8/29, prior 68/73, rave 55/151=0.364, urgency 0.522)
+- L4 0.597 (141/236, prior 68/73, rave 438/757=0.579, urgency 0.611)
+- C10 0.397 (27/68, prior 68/73, rave 72/147=0.490, urgency 0.582)
+- L10 0.711 (27/38, prior 70/75, rave 32/53=0.604, urgency 0.778)
+- D11 0.413 (19/46, prior 68/73, rave 57/138=0.413, urgency 0.564)
+- D10 0.419 (18/43, prior 61/66, rave 63/144=0.438, urgency 0.564)
+- L10 0.636 (49/77, prior 68/73, rave 427/767=0.557, urgency 0.600)
+- K4 0.526 (40/76, prior 61/66, rave 380/651=0.584, urgency 0.610)
+- D11 0.516 (33/64, prior 68/73, rave 397/698=0.569, urgency 0.601)
+- D10 0.417 (20/48, prior 61/66, rave 391/673=0.581, urgency 0.603)
+- E3 0.581 (25/43, prior 22/27, rave 407/688=0.592, urgency 0.600)
+- K3 0.425 (17/40, prior 68/73, rave 395/677=0.583, urgency 0.612)
+- D8 0.486 (18/37, prior 5/10, rave 438/705=0.621, urgency 0.611)
[1400] winrate 0.588 | seq C10 K11 K3 C5 | can C10(0.588) K11(0.608) L4(0.597) L10(0.636) K4(0.526)
Move: 2 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . .(O). . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . x . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
= C10
play B D10
=
Move: 3 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . O(X). . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
genmove w
[ 200] winrate 0.633 | seq D11 K3 K11 | can D11(0.633) L10(0.486) K4(0.429) L4(0.630) C11(0.650)
[ 400] winrate 0.600 | seq D9 E9 L4 | can D9(0.600) D11(0.631) L10(0.529) K4(0.419) L4(0.630)
[ 600] winrate 0.607 | seq D11 K3 K11 E11 | can D11(0.607) D9(0.581) L10(0.515) C9(0.519) C6(0.544)
[ 800] winrate 0.615 | seq D11 K3 K11 E11 | can D11(0.615) C9(0.578) D9(0.581) L10(0.519) C6(0.544)
[1000] winrate 0.609 | seq D11 K3 K5 L5 L6 | can D11(0.609) C9(0.586) L10(0.544) D9(0.581) C6(0.544)
[1200] winrate 0.600 | seq D11 K3 K5 L5 L6 | can D11(0.600) C9(0.577) L10(0.540) D9(0.581) D5(0.626)
[1400] winrate 0.593 | seq D11 L4 J4 J3 K11 | can D11(0.593) C9(0.577) L10(0.541) D9(0.566) D5(0.614)
+- D10 0.423 (593/1403, prior 29/34, rave 78/186=0.419, urgency 0.431)
+- D11 0.595 (285/479, prior 61/66, rave 510/864=0.590, urgency 0.610)
+- L4 0.483 (57/118, prior 68/73, rave 114/289=0.394, urgency 0.503)
+- J4 0.513 (20/39, prior 51/56, rave 39/72=0.542, urgency 0.661)
+- K3 0.395 (45/114, prior 68/73, rave 109/257=0.424, urgency 0.503)
+- K5 0.721 (31/43, prior 51/56, rave 54/79=0.684, urgency 0.765)
+- C9 0.420 (34/81, prior 46/51, rave 102/235=0.434, urgency 0.499)
+- K3 0.750 (27/36, prior 68/73, rave 36/53=0.679, urgency 0.810)
+- C11 0.373 (22/59, prior 53/58, rave 99/231=0.429, urgency 0.504)
+- L10 0.296 (16/54, prior 67/72, rave 104/249=0.418, urgency 0.503)
+- K3 0.750 (21/28, prior 68/73, rave 28/38=0.737, urgency 0.842)
+- C9 0.577 (143/248, prior 51/56, rave 506/850=0.595, urgency 0.609)
+- L10 0.424 (28/66, prior 67/72, rave 61/138=0.442, urgency 0.569)
+- K11 0.471 (24/51, prior 57/62, rave 59/134=0.440, urgency 0.570)
+- L4 0.371 (13/35, prior 68/73, rave 50/127=0.394, urgency 0.561)
+- L10 0.541 (93/172, prior 67/72, rave 409/694=0.589, urgency 0.609)
+- K3 0.396 (19/48, prior 68/73, rave 48/102=0.471, urgency 0.608)
+- K4 0.500 (24/48, prior 60/65, rave 50/111=0.450, urgency 0.602)
+- D9 0.566 (77/136, prior 49/54, rave 383/656=0.584, urgency 0.604)
+- L4 0.500 (14/28, prior 68/73, rave 35/72=0.486, urgency 0.678)
+- D5 0.614 (78/127, prior 20/25, rave 431/719=0.599, urgency 0.609)
+- L4 0.394 (13/33, prior 68/73, rave 35/78=0.449, urgency 0.633)
+- K11 0.464 (13/28, prior 57/62, rave 35/73=0.479, urgency 0.647)
+- C6 0.559 (62/111, prior 33/38, rave 446/742=0.601, urgency 0.609)
+- L10 0.529 (18/34, prior 67/72, rave 34/67=0.507, urgency 0.690)
+- L4 0.523 (23/44, prior 68/73, rave 347/610=0.569, urgency 0.607)
+- K4 0.432 (16/37, prior 61/66, rave 368/660=0.558, urgency 0.587)
[1400] winrate 0.595 | seq D11 L4 J4 J3 K11 | can D11(0.595) C9(0.577) L10(0.541) D9(0.566) D5(0.614)
Move: 4 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . .(O). . . . . . . . . o o o . . . . . . . . . .
10 . . O X . . . . . . . . . o o o x . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
= D11
play B D9
=
Move: 5 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . O . . . . . . . . . . . . . . . . . . . . . .
10 . . O X . . . . . . . . . . . . . . . . . . . . . .
9 . . .(X). . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
genmove w
[ 200] winrate 0.659 | seq L4 C11 L10 | can L4(0.659) C9(0.590) K4(0.529) K3(0.618) C11(0.500)
[ 400] winrate 0.632 | seq K4 C11 B11 B12 | can K4(0.632) E11(0.639) C9(0.569) L4(0.659) K3(0.538)
[ 600] winrate 0.627 | seq K4 C11 C9 E11 | can K4(0.627) E11(0.648) C9(0.589) L4(0.662) K3(0.533)
[ 800] winrate 0.614 | seq E11 C11 C12 B11 | can E11(0.614) K4(0.600) C9(0.578) L4(0.611) C11(0.522)
[1000] winrate 0.631 | seq E11 C11 C12 B11 | can E11(0.631) K4(0.600) C9(0.566) L4(0.598) C11(0.548)
[1200] winrate 0.613 | seq E11 C11 C12 B11 B12 | can E11(0.613) K4(0.600) C9(0.554) C11(0.548) L4(0.598)
[1400] winrate 0.614 | seq E11 C11 C12 B11 B12 | can E11(0.614) K4(0.596) C11(0.571) C9(0.549) L4(0.598)
+- D9 0.411 (575/1400, prior 47/52, rave 120/292=0.411, urgency 0.426)
+- E11 0.615 (398/647, prior 75/80, rave 616/1030=0.598, urgency 0.623)
+- C11 0.403 (77/191, prior 69/74, rave 154/391=0.394, urgency 0.462)
+- C12 0.627 (32/51, prior 52/57, rave 58/87=0.667, urgency 0.730)
+- K3 0.681 (32/47, prior 68/73, rave 73/111=0.658, urgency 0.751)
+- K3 0.360 (50/139, prior 68/73, rave 133/337=0.395, urgency 0.461)
+- L10 0.710 (22/31, prior 57/62, rave 52/82=0.634, urgency 0.750)
+- K11 0.600 (18/30, prior 68/73, rave 46/74=0.622, urgency 0.748)
+- L4 0.365 (35/96, prior 68/73, rave 138/358=0.385, urgency 0.462)
+- K10 0.365 (23/63, prior 59/64, rave 130/336=0.387, urgency 0.463)
+- K4 0.367 (22/60, prior 61/66, rave 134/355=0.377, urgency 0.457)
+- K4 0.596 (102/171, prior 61/66, rave 424/714=0.594, urgency 0.621)
+- C11 0.418 (41/98, prior 72/77, rave 52/125=0.416, urgency 0.553)
+- C11 0.571 (76/133, prior 69/74, rave 351/601=0.584, urgency 0.618)
+- L10 0.514 (19/37, prior 67/72, rave 37/76=0.487, urgency 0.668)
+- K3 0.432 (16/37, prior 68/73, rave 36/72=0.500, urgency 0.661)
+- C9 0.549 (73/133, prior 50/55, rave 397/653=0.608, urgency 0.620)
+- E11 0.500 (35/70, prior 117/122, rave 46/94=0.489, urgency 0.694)
+- L4 0.598 (58/97, prior 68/73, rave 402/685=0.587, urgency 0.622)
+- C11 0.333 (10/30, prior 72/77, rave 22/53=0.415, urgency 0.653)
+- K3 0.475 (28/59, prior 68/73, rave 415/699=0.594, urgency 0.618)
+- C5 0.568 (25/44, prior 40/45, rave 384/659=0.583, urgency 0.603)
+- F10 0.618 (21/34, prior 31/36, rave 435/717=0.607, urgency 0.621)
[1400] winrate 0.615 | seq E11 C11 C12 B11 B12 | can E11(0.615) K4(0.596) C11(0.571) C9(0.549) L4(0.598)
Move: 6 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . o o o o o . . . . . . . .
12 . . . . . . . . . . . . . o o o o o . . . . . . . .
11 . . . O(O). . . . . . . . . o o O o . . . . . . . .
10 . . O X . . . . . . . . . . . o x . . . . . . . . .
9 . . . X . . . . . . . . . . . . x . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . x . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
= E11
play B C11
=
Move: 7 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . .(X)O O . . . . . . . . . . . . . . . . . . . . .
10 . . O X . . . . . . . . . . . . . . . . . . . . . .
9 . . . X . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
genmove w
[ 200] winrate 0.591 | seq K3 K10 J10 K11 | can K3(0.591) C12(0.632) L4(0.633) B11(0.625) H11(0.528)
[ 400] winrate 0.571 | seq K3 K10 J10 K11 | can K3(0.571) C12(0.623) B11(0.623) L4(0.609) H11(0.500)
[ 600] winrate 0.620 | seq C12 B11 K10 K3 | can C12(0.620) K3(0.579) B11(0.610) L4(0.609) H11(0.532)
[ 800] winrate 0.608 | seq C12 B11 K10 K3 | can C12(0.608) B11(0.628) K3(0.579) H11(0.554) L4(0.594)
[1000] winrate 0.628 | seq B11 B12 L10 C12 | can B11(0.628) C12(0.608) K3(0.579) H11(0.554) L4(0.594)
[1200] winrate 0.631 | seq B11 B12 L10 K3 C5 | can B11(0.631) C12(0.608) K3(0.579) L4(0.586) H11(0.554)
[1400] winrate 0.632 | seq B11 C12 K10 K3 K5 | can B11(0.632) C12(0.608) K3(0.579) L7(0.627) L4(0.581)
+- C11 0.397 (632/1591, prior 69/74, rave 154/391=0.394, urgency 0.416)
+- B11 0.632 (448/709, prior 54/59, rave 646/1045=0.618, urgency 0.636)
+- C12 0.382 (65/170, prior 103/108, rave 166/450=0.369, urgency 0.466)
+- K10 0.717 (43/60, prior 59/64, rave 72/108=0.667, urgency 0.752)
+- B12 0.607 (17/28, prior 63/68, rave 47/75=0.627, urgency 0.745)
+- B12 0.390 (48/123, prior 57/62, rave 125/323=0.387, urgency 0.457)
+- L10 0.784 (29/37, prior 57/62, rave 52/76=0.684, urgency 0.790)
+- L4 0.724 (21/29, prior 68/73, rave 48/69=0.696, urgency 0.802)
+- K10 0.369 (31/84, prior 59/64, rave 128/341=0.375, urgency 0.451)
+- K3 0.742 (23/31, prior 67/72, rave 36/52=0.692, urgency 0.814)
+- L10 0.361 (30/83, prior 57/62, rave 136/358=0.380, urgency 0.448)
+- K3 0.636 (21/33, prior 68/73, rave 35/50=0.700, urgency 0.796)
+- L4 0.342 (27/79, prior 68/73, rave 140/369=0.379, urgency 0.456)
+- C9 0.403 (27/67, prior 42/47, rave 144/358=0.402, urgency 0.455)
+- K3 0.354 (23/65, prior 68/73, rave 140/373=0.375, urgency 0.458)
+- C12 0.608 (160/263, prior 52/57, rave 440/720=0.611, urgency 0.629)
+- B11 0.427 (35/82, prior 64/69, rave 69/149=0.463, urgency 0.562)
+- L4 0.462 (18/39, prior 68/73, rave 56/138=0.406, urgency 0.572)
+- K10 0.375 (12/32, prior 59/64, rave 59/132=0.447, urgency 0.574)
+- L10 0.500 (16/32, prior 57/62, rave 52/129=0.403, urgency 0.565)
+- K3 0.267 (8/30, prior 68/73, rave 50/125=0.400, urgency 0.556)
+- K3 0.579 (124/214, prior 68/73, rave 525/860=0.610, urgency 0.628)
+- K10 0.453 (29/64, prior 59/64, rave 55/134=0.410, urgency 0.549)
+- B10 0.522 (24/46, prior 37/42, rave 47/112=0.420, urgency 0.543)
+- C5 0.469 (15/32, prior 40/45, rave 45/107=0.421, urgency 0.546)
+- L7 0.627 (64/102, prior 19/24, rave 512/811=0.631, urgency 0.636)
+- L4 0.581 (54/93, prior 68/73, rave 473/781=0.606, urgency 0.632)
+- K10 0.467 (14/30, prior 59/64, rave 28/59=0.475, urgency 0.663)
+- H11 0.554 (46/83, prior 51/56, rave 524/851=0.616, urgency 0.630)
+- C9 0.467 (28/60, prior 37/42, rave 457/718=0.636, urgency 0.637)
[1400] winrate 0.632 | seq B11 C12 K10 K3 K5 | can B11(0.632) C12(0.608) K3(0.579) L7(0.627) L4(0.581)
Move: 8 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . o o o o o o . . . . . .
12 . . . . . . . . . . . . . . . o o o o o . . . . . .
11 .(O)X O O . . . . . . . . . . . O O o . . . . . . .
10 . . O X . . . . . . . . . . . . x . . . . . . . . .
9 . . . X . . . . . . . . . . . . x . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . x . . . . . . . . . . . .
2 . . . . . . . . . . . . . x . . . . . . . . . . . .
1 . . . . . . . . . . . . . x . . . . . . . . . . . .
A B C D E F G H J K L M N
= B11
play B C12
=
Move: 9 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . .(X). . . . . . . . . . . . . . . . . . . . . . .
11 . O X O O . . . . . . . . . . . . . . . . . . . . .
10 . . O X . . . . . . . . . . . . . . . . . . . . . .
9 . . . X . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
genmove w
[ 200] winrate 0.647 | seq K10 K3 K5 J5 | can K10(0.647) C9(0.556) B12(0.543) K11(0.567) L4(0.600)
[ 400] winrate 0.612 | seq C9 D8 K10 K3 | can C9(0.612) K10(0.613) B12(0.543) K11(0.567) K3(0.500)
[ 600] winrate 0.610 | seq K10 B12 C9 D8 | can K10(0.610) C9(0.603) K4(0.490) B12(0.535) K11(0.567)
[ 800] winrate 0.615 | seq K10 B12 C9 D8 | can K10(0.615) C9(0.603) B12(0.561) K4(0.537) E10(0.556)
[1000] winrate 0.610 | seq K10 B12 C9 D8 | can K10(0.610) C9(0.602) A12(0.599) B12(0.552) E10(0.612)
[1200] winrate 0.607 | seq K10 B12 C9 D8 | can K10(0.607) C9(0.596) A12(0.604) E10(0.589) B12(0.551)
[1400] winrate 0.611 | seq C9 D8 K10 K3 B12 | can C9(0.611) K10(0.607) A12(0.601) E10(0.589) B12(0.551)
+- C12 0.404 (635/1570, prior 103/108, rave 166/450=0.369, urgency 0.426)
+- C9 0.613 (323/527, prior 60/65, rave 637/1032=0.617, urgency 0.630)
+- D8 0.420 (58/138, prior 91/96, rave 128/336=0.381, urgency 0.492)
+- K10 0.760 (38/50, prior 59/64, rave 56/91=0.615, urgency 0.749)
+- C8 0.382 (47/123, prior 67/72, rave 126/303=0.416, urgency 0.486)
+- K4 0.468 (36/77, prior 61/66, rave 110/295=0.373, urgency 0.478)
+- K3 0.365 (19/52, prior 68/73, rave 99/271=0.365, urgency 0.475)
+- K10 0.257 (9/35, prior 59/64, rave 87/230=0.378, urgency 0.476)
+- B10 0.406 (13/32, prior 43/48, rave 92/227=0.405, urgency 0.487)
+- D12 0.172 (5/29, prior 63/68, rave 103/260=0.396, urgency 0.484)
+- K10 0.607 (207/341, prior 59/64, rave 574/947=0.606, urgency 0.624)
+- B12 0.366 (26/71, prior 55/60, rave 80/191=0.419, urgency 0.504)
+- K3 0.353 (24/68, prior 67/72, rave 71/180=0.394, urgency 0.511)
+- K5 0.722 (26/36, prior 41/46, rave 33/46=0.717, urgency 0.782)
+- C9 0.500 (27/54, prior 27/32, rave 74/169=0.438, urgency 0.504)
+- D12 0.463 (19/41, prior 46/51, rave 68/179=0.380, urgency 0.496)
+- L9 0.552 (16/29, prior 27/32, rave 73/161=0.453, urgency 0.525)
+- A12 0.601 (137/228, prior 27/32, rave 591/942=0.627, urgency 0.628)
+- K10 0.432 (16/37, prior 59/64, rave 46/117=0.393, urgency 0.559)
+- K4 0.444 (16/36, prior 61/66, rave 48/122=0.393, urgency 0.561)
+- K3 0.323 (10/31, prior 68/73, rave 47/118=0.398, urgency 0.566)
+- D12 0.400 (12/30, prior 54/59, rave 56/129=0.434, urgency 0.564)
+- L4 0.357 (10/28, prior 68/73, rave 40/108=0.370, urgency 0.568)
+- E10 0.589 (53/90, prior 42/47, rave 540/888=0.608, urgency 0.622)
+- K3 0.615 (24/39, prior 68/73, rave 29/59=0.492, urgency 0.709)
+- B12 0.551 (49/89, prior 63/68, rave 466/770=0.605, urgency 0.627)
+- K4 0.537 (44/82, prior 61/66, rave 444/750=0.592, urgency 0.615)
+- D12 0.647 (33/51, prior 52/57, rave 458/762=0.601, urgency 0.628)
+- K11 0.567 (17/30, prior 68/73, rave 475/831=0.572, urgency 0.606)
+- B13 0.536 (15/28, prior 27/32, rave 449/729=0.616, urgency 0.624)
[1400] winrate 0.613 | seq C9 D8 K10 K3 B12 | can C9(0.613) K10(0.607) A12(0.601) E10(0.589) B12(0.551)
Move: 10 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . X . . . . . . . . . . . . . . . . . . . . . . .
11 . O X O O . . . . . . . . . . . o o . . . . . . . .
10 . . O X . . . . . . . . . . . o x . . . . . . . . .
9 . .(O)X . . . . . . . . . . . . x . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . x . . . . . . . . . . . .
2 . . . . . . . . . . . . . x . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
= C9
play B F11
=
Move: 11 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . X . . . . . . . . . . . . . . . . . . . . . . .
11 . O X O O(X). . . . . . . . . . . . . . . . . . . .
10 . . O X . . . . . . . . . . . . . . . . . . . . . .
9 . . O X . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
genmove w
[ 200] winrate 0.653 | seq E10 K3 B12 | can E10(0.653) D8(0.500) K3(0.533) F12(0.571) D12(0.417)
[ 400] winrate 0.615 | seq E10 K3 K5 L5 | can E10(0.615) K3(0.625) D8(0.468) F12(0.529) D12(0.500)
[ 600] winrate 0.620 | seq E10 K4 B12 D8 | can E10(0.620) K3(0.620) D8(0.475) D12(0.564) F12(0.529)
[ 800] winrate 0.620 | seq E10 K3 L5 C8 | can E10(0.620) K3(0.648) D8(0.475) D12(0.535) F12(0.529)
[1000] winrate 0.633 | seq K3 D8 B12 D12 | can K3(0.633) E10(0.616) D8(0.475) D12(0.535) F12(0.529)
[1200] winrate 0.623 | seq K3 D8 B12 B13 | can K3(0.623) E10(0.605) D8(0.475) H3(0.593) F12(0.519)
[1400] winrate 0.627 | seq K3 D8 B12 B13 D12 | can K3(0.627) E10(0.604) F12(0.590) D8(0.493) H3(0.593)
+- F11 0.399 (558/1400, prior 22/27, rave 71/215=0.330, urgency 0.397)
= K3
+- K3 0.627 (370/590, prior 68/73, rave 576/936=0.615, urgency 0.637)
+- D8 0.406 (78/192, prior 69/74, rave 144/391=0.368, urgency 0.448)
+- B12 0.660 (33/50, prior 67/72, rave 64/104=0.615, urgency 0.728)
+- C8 0.581 (25/43, prior 62/67, rave 67/100=0.670, urgency 0.734)
+- F10 0.360 (49/136, prior 81/86, rave 138/380=0.363, urgency 0.451)
+- B12 0.719 (46/64, prior 67/72, rave 64/97=0.660, urgency 0.762)
+- E10 0.383 (36/94, prior 54/59, rave 121/318=0.381, urgency 0.453)
+- B12 0.622 (23/37, prior 53/58, rave 35/52=0.673, urgency 0.756)
+- C8 0.700 (21/30, prior 57/62, rave 39/63=0.619, urgency 0.756)
+- C8 0.342 (25/73, prior 43/48, rave 111/284=0.391, urgency 0.446)
+- K10 0.278 (10/36, prior 53/58, rave 116/311=0.373, urgency 0.448)
+- E10 0.604 (249/412, prior 72/77, rave 534/858=0.622, urgency 0.637)
+- K4 0.416 (32/77, prior 61/66, rave 101/238=0.424, urgency 0.513)
+- K3 0.354 (23/65, prior 68/73, rave 94/225=0.418, urgency 0.513)
+- L5 0.844 (27/32, prior 41/46, rave 31/41=0.756, urgency 0.833)
+- L4 0.389 (21/54, prior 68/73, rave 90/217=0.415, urgency 0.525)
+- F9 0.520 (26/50, prior 39/44, rave 96/207=0.464, urgency 0.539)
+- E9 0.359 (14/39, prior 58/63, rave 80/203=0.394, urgency 0.503)
+- D8 0.382 (13/34, prior 80/85, rave 110/280=0.393, urgency 0.516)
+- D12 0.344 (11/32, prior 46/51, rave 86/197=0.437, urgency 0.514)
+- F12 0.590 (79/134, prior 62/67, rave 387/633=0.611, urgency 0.636)
+- D8 0.540 (27/50, prior 69/74, rave 42/85=0.494, urgency 0.662)
+- D8 0.493 (37/75, prior 78/83, rave 308/509=0.605, urgency 0.638)
+- H3 0.593 (32/54, prior 20/25, rave 448/711=0.630, urgency 0.634)
+- D12 0.535 (23/43, prior 64/69, rave 432/720=0.600, urgency 0.628)
+- K4 0.500 (16/32, prior 61/66, rave 432/727=0.594, urgency 0.621)
+- B12 0.484 (15/31, prior 67/72, rave 466/777=0.600, urgency 0.628)
[1400] winrate 0.627 | seq K3 D8 B12 B13 D12 | can K3(0.627) E10(0.604) F12(0.590) D8(0.493) H3(0.593)
Move: 12 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . o . . . . . . . . . . . .
12 . . X . . . . . . . . . . o . . . . . . . . . . . .
11 . O X O O X . . . . . . . o o . . . x . . . . . . .
10 . . O X . . . . . . . . . o o o x . . . . . . . . .
9 . . O X . . . . . . . . . o o o x . . . . . . . . .
8 . . . . . . . . . . . . . . o . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . .(O). . . x . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
play B Q16
=
Move: 13 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . X . . . . . . . . . . . . . . . . . . . . . . .
11 . O X O O X . . . . . . . . . . . . . . . . . . . .
10 . . O X . . . . . . . . . . . . . . . . . . . . . .
9 . . O X . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 X . . . . . . . . O . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . .(X). . . . . . . . . . . . . . . . . . . . . . .
0 X .
A B C D E F G H J K L M N
genmove w
Traceback (most recent call last):
File "michi.py", line 1166, in <module>
gtp_io()
File "michi.py", line 1105, in gtp_io
tree = tree_search(tree, N_SIMS, owner_map)
File "michi.py", line 840, in tree_search
tree.expand()
File "michi.py", line 706, in expand
pos2 = self.pos.move(c)
File "michi.py", line 246, in move
fboard = floodfill(board, d) # get a board with the adjecent group replaced by '#'
File "michi.py", line 159, in floodfill
if byteboard[d] == p:
IndexError: bytearray index out of range
If you replace the four occurrences of uint with unsigned int, the code will become more portable. For example, it did not compile out of the box on Mac OS X, since there is not a 'typedef unsigned int uint' in the normal build system under the current OS X.
With replacement it compiles on OS X, and also compiles on (at least Ubuntu and Arch) Linux.
Thanks!
Erik
After a few moves ...
play black d10
Move: 7 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . o o o o o
12 . . . . . . . . . . . . . . x . . . . . . o o O o o
11 . . X . . . . . . . O . . . x x . . . o o o o O o o
10 . . O(X). . . . . . . . . . . . . . . o o o o o o o
9 . . . . . . O . . . . . . . . . . . o O o o o o o o
8 . . . . . . . . . . . . . . . . . . . o o o . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . x . . . . . . . x . .
3 . . X . . . . . . . X . . x x X x . . . . . x X x x
2 . . . . . . . . . . . . . x x x x . . . . . x x x x
1 . . . . . . . . . . . . . x x x x . . . . . x x x x
A B C D E F G H J K L M N
genmove
returns E11
which looks weak to me:
genmove
[ 200] winrate 0.400 | seq D11 D12 E11 | can D11(0.400) B11(0.475) D9(0.500) D12(0.529) C9(0.400)
[ 400] winrate 0.508 | seq D9 C9 B10 B9 | can D9(0.508) D11(0.382) D12(0.500) B11(0.458) B10(0.500)
[ 600] winrate 0.537 | seq D12 D11 D9 E9 | can D12(0.537) D9(0.508) E11(0.582) D11(0.387) B11(0.458)
[ 800] winrate 0.554 | seq E11 E12 F11 F12 | can E11(0.554) D12(0.524) D9(0.508) D11(0.375) B11(0.458)
[1000] winrate 0.534 | seq E11 E12 F11 F12 D12 | can E11(0.534) D12(0.524) D9(0.504) E12(0.495) D11(0.375)
[1200] winrate 0.516 | seq E11 E12 F11 D11 B11 | can E11(0.516) D12(0.524) E12(0.500) D9(0.492) D11(0.405)
+- D10 0.514 ( 719/1400 , prior 5/10 , rave 0/0 = nan, urgency 0.513)
+- E12 0.498 ( 146/293 , prior 13/18 , rave 384/738 =0.520, urgency 0.517)
+- D9 0.492 ( 62/126 , prior 39/44 , rave 314/642 =0.489, urgency 0.514)
+- G3 0.391 ( 18/46 , prior 15/20 , rave 326/653 =0.499, urgency 0.499)
+- E11 0.514 ( 206/401 , prior 27/32 , rave 437/865 =0.505, urgency 0.518)
+- B10 0.474 ( 18/38 , prior 37/42 , rave 409/842 =0.486, urgency 0.507)
+- D12 0.524 ( 98/187 , prior 27/32 , rave 381/770 =0.495, urgency 0.514)
+- D11 0.402 ( 35/87 , prior 39/44 , rave 327/646 =0.506, urgency 0.518)
+- H5 0.512 ( 21/41 , prior 5/10 , rave 357/693 =0.515, urgency 0.515)
+- B11 0.458 ( 22/48 , prior 23/28 , rave 272/544 =0.500, urgency 0.513)
+- B9 0.462 ( 24/52 , prior 13/18 , rave 343/665 =0.516, urgency 0.517)
[1400] winrate 0.514 | seq E11 E12 D11 E10 F10 | can E11(0.514) E12(0.498) D12(0.524) D9(0.492) D11(0.402)
Move: 8 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . x x . . . . . . . o o o o
12 . . . . . . . . . . . . . x x x . . . . . o o o o o
11 . . X .(O). . . . . O . . x x x . . . . o o o O o o
10 . . O X . . . . . . . . . . . . x . . o o o o o o o
9 . . . . . . O . . . . . . . . . . . . O o o . o . .
8 . . . . . . . . . . . . . . . . . . . o . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . x x x . . . . . . . x . .
3 . . X . . . . . . . X . . x x X x . . . . . x X x x
2 . . . . . . . . . . . . . x x x x . . . . . x x x x
1 . . . . . . . . . . . . . x x x x . . . . . . x x x
A B C D E F G H J K L M N
= E11
Did I miss something?
Here is the full game:
$ ./michi 100 gtp
play black c3
Move: 1 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . .(X). . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . .
A B C D E F G H J K L M N
=
genmove
[ 200] winrate 0.545 | seq B3 C2 B4 | can B3(0.545) C5(0.529) D4(0.444) C2(0.412) B4(0.529)
[ 400] winrate 0.584 | seq B3 A4 B4 C4 | can B3(0.584) C8(0.545) C5(0.529) C2(0.400) D4(0.400)
[ 600] winrate 0.547 | seq B3 A4 B4 C4 | can B3(0.547) C8(0.521) C5(0.529) C2(0.400) D4(0.400)
[ 800] winrate 0.547 | seq B3 A4 B4 C4 | can B3(0.547) G9(0.589) C8(0.521) C5(0.529) E9(0.793)
[1000] winrate 0.589 | seq G9 E9 E8 D8 | can G9(0.589) B3(0.547) C8(0.521) E9(0.581) C5(0.529)
[1200] winrate 0.578 | seq G9 E9 E10 D10 D9 | can G9(0.578) B3(0.547) E9(0.565) C8(0.521) E2(0.569)
+- C3 0.451 ( 631/1400 , prior 5/10 , rave 0/0 = nan, urgency 0.451)
+- C5 0.529 ( 18/34 , prior 27/32 , rave 365/688 =0.531, urgency 0.546)
+- E2 0.559 ( 38/68 , prior 13/18 , rave 404/703 =0.575, urgency 0.577)
+- E9 0.565 ( 74/131 , prior 5/10 , rave 380/667 =0.570, urgency 0.568)
+- C8 0.521 ( 62/119 , prior 15/20 , rave 405/740 =0.547, urgency 0.549)
+- D12 0.536 ( 15/28 , prior 5/20 , rave 406/696 =0.583, urgency 0.571)
+- G9 0.589 ( 344/584 , prior 5/10 , rave 592/1022 =0.579, urgency 0.583)
+- B3 0.547 ( 157/287 , prior 29/34 , rave 393/731 =0.538, urgency 0.552)
[1400] winrate 0.589 | seq G9 F8 F9 E8 G8 | can G9(0.589) B3(0.547) E9(0.565) C8(0.521) E2(0.559)
Move: 2 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . .(O). . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . X . . . . . . . . . . . x x . . . . . . . . . .
2 . . . . . . . . . . . . . x x x . . . . . . . . . .
1 . . . . . . . . . . . . . x . x . . . . . . . . . .
A B C D E F G H J K L M N
= G9
play black l3
Move: 3 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . . . . . . . . .
9 . . . . . . O . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . X . . . . . . .(X). . . x x . . . . . . . . . .
2 . . . . . . . . . . . . . x x x . . . . . . . . . .
1 . . . . . . . . . . . . . x . x . . . . . . . . . .
A B C D E F G H J K L M N
=
genmove
[ 200] winrate 0.648 | seq K3 K4 J4 | can K3(0.648) L11(0.622) L4(0.692) M3(0.619) K4(0.556)
[ 400] winrate 0.618 | seq L11 K12 K11 J11 | can L11(0.618) L4(0.571) K3(0.648) M3(0.553) K4(0.560)
[ 600] winrate 0.599 | seq L11 K12 K11 M12 | can L11(0.599) M3(0.581) L4(0.567) K3(0.648) K8(0.543)
[ 800] winrate 0.596 | seq L11 K12 K11 M12 | can L11(0.596) L4(0.537) M4(0.559) M3(0.570) K3(0.648)
[1000] winrate 0.575 | seq L11 K12 K11 L12 | can L11(0.575) L4(0.532) M4(0.547) M3(0.546) K3(0.648)
[1200] winrate 0.580 | seq L11 L12 K12 L13 K13 | can L11(0.580) L4(0.532) M4(0.547) J6(0.562) M3(0.546)
+- L3 0.456 ( 638/1400 , prior 5/10 , rave 0/0 = nan, urgency 0.456)
+- N3 0.469 ( 23/49 , prior 27/32 , rave 371/685 =0.542, urgency 0.551)
+- L4 0.532 ( 75/141 , prior 29/34 , rave 348/629 =0.553, urgency 0.563)
+- L11 0.570 ( 268/470 , prior 15/20 , rave 504/897 =0.562, urgency 0.568)
+- K8 0.543 ( 19/35 , prior 5/10 , rave 403/722 =0.558, urgency 0.556)
+- J6 0.557 ( 117/210 , prior 5/10 , rave 460/806 =0.571, urgency 0.567)
+- M4 0.537 ( 79/147 , prior 27/32 , rave 432/771 =0.560, urgency 0.567)
+- K3 0.648 ( 35/54 , prior 29/34 , rave 316/603 =0.524, urgency 0.554)
+- M3 0.546 ( 65/119 , prior 29/34 , rave 358/666 =0.538, urgency 0.554)
+- J2 0.475 ( 19/40 , prior 13/18 , rave 383/682 =0.562, urgency 0.561)
+- G3 0.526 ( 20/38 , prior 15/20 , rave 391/707 =0.553, urgency 0.558)
+- K4 0.533 ( 16/30 , prior 27/32 , rave 367/679 =0.541, urgency 0.556)
[1400] winrate 0.570 | seq L11 K12 K11 L12 M11 | can L11(0.570) J6(0.557) M4(0.537) L4(0.532) M3(0.546)
Move: 4 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . .(O). . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . o o o . . . . .
9 . . . . . . O . . . . . . . . . . . o O o . . . . .
8 . . . . . . . . . . . . . . . . . . . o . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . x . . . . . . . . . .
3 . . X . . . . . . . X . . x x x x . . . . . x X x x
2 . . . . . . . . . . . . . x x x x . . . . . x x x x
1 . . . . . . . . . . . . . x x x x . . . . . x x x x
A B C D E F G H J K L M N
= L11
play black c11
Move: 5 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . . . . . . . . .
11 . .(X). . . . . . . O . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . o o o . . . . .
9 . . . . . . O . . . . . . . . . . . o O o . . . . .
8 . . . . . . . . . . . . . . . . . . . o . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . x . . . . . . . . . .
3 . . X . . . . . . . X . . x x x x . . . . . x X x x
2 . . . . . . . . . . . . . x x x x . . . . . x x x x
1 . . . . . . . . . . . . . x x x x . . . . . x x x x
A B C D E F G H J K L M N
=
genmove
[ 200] winrate 0.648 | seq C10 C9 D9 | can C10(0.648) E11(0.676) B12(0.632) D12(0.571) B10(0.444)
[ 400] winrate 0.623 | seq D12 C12 C13 B13 | can D12(0.623) C10(0.620) E11(0.633) C9(0.595) B12(0.571)
[ 600] winrate 0.617 | seq C10 C9 D9 D10 | can C10(0.617) D12(0.613) E11(0.598) C12(0.580) C9(0.595)
[ 800] winrate 0.613 | seq C10 C9 B9 D10 | can C10(0.613) D12(0.613) E11(0.598) C12(0.580) D10(0.552)
[1000] winrate 0.612 | seq C10 C9 B9 D10 | can C10(0.612) D12(0.607) B11(0.563) C12(0.584) E11(0.598)
[1200] winrate 0.594 | seq C10 C9 B9 D10 | can C10(0.594) D12(0.597) C12(0.547) B11(0.553) E11(0.598)
+- C11 0.436 ( 611/1400 , prior 5/10 , rave 0/0 = nan, urgency 0.437)
+- G5 0.532 ( 25/47 , prior 5/10 , rave 426/721 =0.591, urgency 0.585)
+- E11 0.598 ( 52/87 , prior 27/32 , rave 435/763 =0.570, urgency 0.585)
+- C12 0.539 ( 90/167 , prior 29/34 , rave 375/642 =0.584, urgency 0.586)
+- G7 0.535 ( 38/71 , prior 5/10 , rave 444/751 =0.591, urgency 0.584)
+- E3 0.533 ( 16/30 , prior 5/10 , rave 417/715 =0.583, urgency 0.580)
+- K11 0.596 ( 31/52 , prior 5/10 , rave 466/804 =0.580, urgency 0.580)
+- B11 0.553 ( 73/132 , prior 29/34 , rave 326/579 =0.563, urgency 0.576)
+- D12 0.593 ( 89/150 , prior 27/32 , rave 394/703 =0.560, urgency 0.579)
+- D10 0.507 ( 34/67 , prior 27/32 , rave 425/735 =0.578, urgency 0.584)
+- C10 0.585 ( 285/487 , prior 29/34 , rave 489/850 =0.575, urgency 0.587)
+- C9 0.595 ( 25/42 , prior 27/32 , rave 385/699 =0.551, urgency 0.568)
[1400] winrate 0.585 | seq C10 B11 B10 D10 D11 | can C10(0.585) C12(0.539) D12(0.593) B11(0.553) E11(0.598)
Move: 6 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . o o o o o
12 . . . . . . . . . . . . . . x . . . . . . o o O o o
11 . . X . . . . . . . O . . . x x . . . o o o o O o o
10 . .(O). . . . . . . . . . . . . . . . o o o o o o o
9 . . . . . . O . . . . . . . . . . . o O o o o o o o
8 . . . . . . . . . . . . . . . . . . . o o o . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . x . . . . . . . x . .
3 . . X . . . . . . . X . . x x X x . . . . . x X x x
2 . . . . . . . . . . . . . x x x x . . . . . x x x x
1 . . . . . . . . . . . . . x x x x . . . . . x x x x
A B C D E F G H J K L M N
= C10
play black d10
Move: 7 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . . . . . . . . . o o o o o
12 . . . . . . . . . . . . . . x . . . . . . o o O o o
11 . . X . . . . . . . O . . . x x . . . o o o o O o o
10 . . O(X). . . . . . . . . . . . . . . o o o o o o o
9 . . . . . . O . . . . . . . . . . . o O o o o o o o
8 . . . . . . . . . . . . . . . . . . . o o o . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . x . . . . . . . x . .
3 . . X . . . . . . . X . . x x X x . . . . . x X x x
2 . . . . . . . . . . . . . x x x x . . . . . x x x x
1 . . . . . . . . . . . . . x x x x . . . . . x x x x
A B C D E F G H J K L M N
=
genmove
[ 200] winrate 0.400 | seq D11 D12 E11 | can D11(0.400) B11(0.475) D9(0.500) D12(0.529) C9(0.400)
[ 400] winrate 0.508 | seq D9 C9 B10 B9 | can D9(0.508) D11(0.382) D12(0.500) B11(0.458) B10(0.500)
[ 600] winrate 0.537 | seq D12 D11 D9 E9 | can D12(0.537) D9(0.508) E11(0.582) D11(0.387) B11(0.458)
[ 800] winrate 0.554 | seq E11 E12 F11 F12 | can E11(0.554) D12(0.524) D9(0.508) D11(0.375) B11(0.458)
[1000] winrate 0.534 | seq E11 E12 F11 F12 D12 | can E11(0.534) D12(0.524) D9(0.504) E12(0.495) D11(0.375)
[1200] winrate 0.516 | seq E11 E12 F11 D11 B11 | can E11(0.516) D12(0.524) E12(0.500) D9(0.492) D11(0.405)
+- D10 0.514 ( 719/1400 , prior 5/10 , rave 0/0 = nan, urgency 0.513)
+- E12 0.498 ( 146/293 , prior 13/18 , rave 384/738 =0.520, urgency 0.517)
+- D9 0.492 ( 62/126 , prior 39/44 , rave 314/642 =0.489, urgency 0.514)
+- G3 0.391 ( 18/46 , prior 15/20 , rave 326/653 =0.499, urgency 0.499)
+- E11 0.514 ( 206/401 , prior 27/32 , rave 437/865 =0.505, urgency 0.518)
+- B10 0.474 ( 18/38 , prior 37/42 , rave 409/842 =0.486, urgency 0.507)
+- D12 0.524 ( 98/187 , prior 27/32 , rave 381/770 =0.495, urgency 0.514)
+- D11 0.402 ( 35/87 , prior 39/44 , rave 327/646 =0.506, urgency 0.518)
+- H5 0.512 ( 21/41 , prior 5/10 , rave 357/693 =0.515, urgency 0.515)
+- B11 0.458 ( 22/48 , prior 23/28 , rave 272/544 =0.500, urgency 0.513)
+- B9 0.462 ( 24/52 , prior 13/18 , rave 343/665 =0.516, urgency 0.517)
[1400] winrate 0.514 | seq E11 E12 D11 E10 F10 | can E11(0.514) E12(0.498) D12(0.524) D9(0.492) D11(0.402)
Move: 8 Black: 0 caps White: 0 caps Komi: 7.5
13 . . . . . . . . . . . . . x x . . . . . . . o o o o
12 . . . . . . . . . . . . . x x x . . . . . o o o o o
11 . . X .(O). . . . . O . . x x x . . . . o o o O o o
10 . . O X . . . . . . . . . . . . x . . o o o o o o o
9 . . . . . . O . . . . . . . . . . . . O o o . o . .
8 . . . . . . . . . . . . . . . . . . . o . . . . . .
7 . . . . . . . . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . x x x . . . . . . . x . .
3 . . X . . . . . . . X . . x x X x . . . . . x X x x
2 . . . . . . . . . . . . . x x x x . . . . . x x x x
1 . . . . . . . . . . . . . x x x x . . . . . . x x x
A B C D E F G H J K L M N
= E11
Great project. Thank you.
You wrote in README.md:
$ make test
:The Go program terminated unexpectedly.
make: *** [test] Error 2
Do not be bothered by the error message at the end of the 2 tests ...
If someone can explain and solve the problem, ...
I think you need to add the printf() below to send the final GTP response:
[michi.c]
1409 else if (strcmp(command,"quit") == 0) {
1410 log_hashtable_synthesis();
printf("=%s \n\n", cmdid); // <==
1411 break;
1412 }
The error messages have disappeared.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.