New android app "BadukAI"

For discussing go computing, software announcements, etc.
Post Reply
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

Oh no. I've saved up 5 :shock: tablets and smartphone! enough !!! I do not even play 1 dan, so somehow later
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

@And

I loaded your sgf and let the kyu bot play many times: It never played on that point. And looking at the internals, it considers the point as illegal. So I'm sorry, I can't explain that behaviour at the moment.

But looking at the position it's not a great loss to be unable to continue ...

As for the strength of the kyu bot: In addition to the remarks by go4thewin you have to keep in mind that it only considers a random subset of the moves. So there is a huge element of chance in its play. Hence, it sometimes makes mistakes that are way below its average strength. In order to get a reliable estimate of its average strength at a certain level you would have to play really many games.

If that variance in play is a nuisance to you, you could also try using the 6b network with 1 thread, 1 playout. This might also deliver kyu strength.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

maybe add Chinese rules on occasion?
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

@akigo
I ran this game on an emulator and there is a root. I can upload the log file if interested, and if it is there :)
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

i found the log file but can't find this game. unclear
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

I don't know who did it, but thanks !!! I haven't solved puzzles with such pleasure in a long time!
I am posting a log file here and who cares, try to find a game with a forbidden move! (viewtopic.php?p=260283#p260283)

solution
for mysterious reasons, the game in sgf and the log is recorded differently! that is, the coordinates must be mirrored along the diagonal a1 - t19! but do not touch the position! that is, in the sgf the last moves are g16, j12, j11, k13, and in the log q7, m9, l9, n10
@akigo
illegal move in line
2020-10-03 18:52:00+0400: Controller: 1159 play black N10
Attachments
20201003-180621-25D4F99B.LOG.GZ
(656.76 KiB) Downloaded 882 times
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

@And

thank you very much for the log file, that explained everything:

The bug is that suicide moves are not taken back (when you navigate by tapping in the histogram or by the arrow buttons). Shame on me, I didn't yet know they were legal (if more than one stone) with Tromp-Taylor when writing this part of the code.

In case of your sgf this has the following consequence: In the first game there were 315 real moves (rest was pass) including one suicide move (the last one). Because of the bug, only 314 undos were sent to KataGo, so in KataGo's memory the first stone of the first game (hoshi in the top right corner) was still there. So the kyu bot played a different game than that visible on the screen. If that black hoshi stone would have been there, a lot of white stones would have been captured during the game, and at the end the move, that the kyu bot played, would have been legal.

This is also the reason that the kyu bot often played so "badly" in the second (and consecutive) games. Whenever there was a suicide move in the first game (i.e. almost always) it "saw" additional stones in consecutive games.

I will fix this bug in the next version, but for the time being there is an easy workaround: Just restart KataGo after finishing one game (easiest way is "Edit config", don't change anything, then "Save", then BadukAI will restart KataGo to apply the parameters).
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

I thank you again! and I'm glad there is an explanation and a solution! good luck to you!!!
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

BadukAI (KG 10b, 2s/move) - CSDL 5d 1:1 (CS B +R, KG B +R)
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

nice to see the 10b beat crazystone! in case you were curious, the s167 15b can beat the s5303 20b policy by using 6 playouts max (1 thread) :tmbup:
revised:
Notepad15.pdf
(170.08 KiB) Downloaded 921 times
edit: also if you dont want to use kyu_rank, 6b Katago 4 playouts (1 thread) vs gnugo level 10 - 4:0
Last edited by go4thewin on Thu Oct 08, 2020 5:05 pm, edited 1 time in total.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

BadukAI (KG 10b, 3s/move) - CSDL 5d 1:1 (CS W +R, KG W +R)
BadukAI (KG 10b, 4s/move) - CSDL 5d 1:1 (CS B +R, KG B +R)
BadukAI (KG 10b, 5s/move) - CSDL 5d 0:2 (CS B +R, CS W +R)
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

I made a new version (0.8), which fixes the bug discovered by @And (see post #97). Thanks again for the help in analyzing the error.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

BadukAI (KG 10b, 8s/move) - CSDL 5d 3:1 (KG B +1.5, KG W +R, CS W +R, KG W +24.5)
Amigo
Dies in gote
Posts: 54
Joined: Sat Sep 28, 2019 12:06 pm
GD Posts: 0
Has thanked: 60 times
Been thanked: 10 times

Re: New android app "BadukAI"

Post by Amigo »

akigo, thanks a lot for KataGo for android! will you add Chinese rules soon? they are somehow more familiar to people ... :) and you can make a window, like with a message about surrender, when KataGo passes? otherwise it’s not immediately clear whether this is a pass or something else.
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

I made a new version (0.9) with the following changes:

1) When AI passes, a popup message is displayed shortly, which informs about the pass
2) KataGo now uses chinese rules
Post Reply