SGF file download with AI review

I really like the subject feature. There are a couple of things that I would like the developers to consider changing.
I noticed that the AI moves are not shown by GoRilla. The reason being that they are not indicated as MOVE in de SGF file (B / W property), but as “Adding a stone” (AB / AW property). Since these are actually moves, I don’t know why they are recorded as such.
The second thing that would be nice to add is to mark the last move that the user made as “primary position” (XP property in GoRilla). That way you can always navigate to the actual game.

Since there are a lot of variants in the file, it would be nice if the various moves would be labeled, where “a” or “A” would be the move that was actually played, and b, c, d etc. the alternative moves suggested by AI. Preferably in the order best … worst, but that is not a must.


I’m under the impression that you can’t download ai analysis if you upload a game and get the ai to review it, and then go to redownload it.

I know there’s a button for it, but I don’t see any ai moves and only the game moves in the sgf file. It does work for ogs games for me (although it’s a bit clunky to get sabaki to show the variations).

I do second labelling the variations somehow in the sgf.

1 Like

Just update this again rather than make a new post (or maybe I should), I can’t download the ai review moves if I’ve uploaded a game from elsewhere like kgs. I’ll have to test it again with pandanet

1 Like

sorry it got overlooked shinuito, I have relayed the problem, see if we (anoek) can do something about it.

If you would be willing to share some of the problematic sgfs I might be able to find you at least a workaround for now. (And it might help anoek)

1 Like

Sure let me do this when I’m back at a computer :slight_smile: thanks. I’ll link them here.

iirc the sgf export is is comparable with Lizzie’s export format.

I mean the format is compatible with sabaki also in that it can read it, and it knows there’s variations to the moves (which are probably just to do the with the sgf tree structure - some kind of nesting brackets).

But when you write AW and AB, it basically isn’t visible on the board as a semi highlighted spot/shadow. (In sabaki if there’s multiple variations for the next move in the tree they kind of show a mini white/black spot on all the next move points)

I’ll just try write a perl script when I’ve time.

1 Like

It’s the same for me - I don’t know anything about programming, neither sgf files. I’m using exclusively my phone, which runs on android. I frequently use the ai-analysis feature to review positions or games I’ve played on other platforms. No Android app that I know shows the ai variations when I download the annotated files. However this is is not the case for games that I’ve played on ogs and subsequently analyzed.

1 Like

So I did write a short perl script to replace all of the AW’s and AB’s with just W and B, except for where they’re meant to be which is at the start of the sgf file, to designate handicap stones for instance.

The other annoying thing is that when you download the ai reviews, the variations are misaligned by one move. (Well it’s either this or the colours are incorrect for the variations)

So when you go across one move in the tree, which should be a variation it’s actually the variation for the next move of the game. So that means it also won’t show properly as a variation.

It’s making my brain hurt looking at all the nested brackets, so I’ll probably see in the morning how to just shift all the variations by one move - I’m pretty sure it should just be putting in a pair of brackets at the right place.

I can update here with the perl code to fix it - it should only be like a couple of lines long.

Actually I don’t know how to do an easy fix because it seems like some of the colour variations are just completely inverted - Blacks move is White and vice versa.

@flovo Would you be able to check anything I’m saying for example in this game . I’m pretty sure for example the last move variations for white are actually the wrong colour. As in when I look at the sgf, it’s giving white two moves in a row N10 being played by white, even though just the move before white plays P18, and then all the moves colours are inverted with respect to the correct variations.

I think this happens throughout as well.

(I’m picking this one just because it’s rather short, by comparison to other 19x19 games. It’s like 2000 lines long when you download it rather than like 16000 or something. )

1 Like

I notified the dev about the problem


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.