Life In 19x19 http://prod.lifein19x19.com/ |
|
Lizzie always starts with white http://prod.lifein19x19.com/viewtopic.php?f=18&t=17395 |
Page 1 of 1 |
Author: | kisvadim [ Thu Apr 16, 2020 5:39 am ] |
Post subject: | Lizzie always starts with white |
Hello! I've created SGF problem (in KGS client): x — two possible moves for black (which are 'Correct.') Here I pasted sgf code: <Uberdude edit> Code: (;GM[1]FF[4]CA[UTF-8]AP[CGoban:3]ST[2] RU[Japanese]SZ[19]KM[0.00] PW[White]PB[Black]AW[cc]AB[pd] (;B[qp]C[Correct.]) (;B[pq]C[Correct.])) </edit> But when I opened this SGF file in Lizzie.0.7.2 it showed probability for white (not for black), and it drew white circles in 'x'. Is it possible to fix it? |
Author: | Uberdude [ Thu Apr 16, 2020 1:49 pm ] |
Post subject: | Re: Lizzie always starts with white |
I'm not an expert on the sgf format, so don't know if your sgf is malformed or Lizzie isn't parsing it correctly, but I can tell you Lizzie starts with black on an empty board, so if you just open Lizzie, play your black 4-4 and then white 3-3 it will be black to move and Lizzie will give you percentages for black to play at various places, including your 3-4s of interest. So if you want Lizzie to be a perfect sgf parser I'd call this a possible bug, but if you just want to know what LeelaZero or KataGo thinks of the position just used Lizzie directly and bypass the sgf format niggles. Edit, looking at your sgf it appears white made the first move, not black (beacause you made a 0 komi game in CGoban?), so it is expected that it is now white to play given each player alternates. |
Author: | jlt [ Thu Apr 16, 2020 1:59 pm ] |
Post subject: | Re: Lizzie always starts with white |
Try this. Code: (;GM[1]FF[4]CA[UTF-8]AP[CGoban:3]ST[2]
RU[Japanese]SZ[19]KM[0.00] PW[White]PB[Black]AB[pd]AW[cc] (;B[qp]C[Correct.]) (;B[pq]C[Correct.])) |
Author: | vier [ Thu Apr 16, 2020 2:26 pm ] |
Post subject: | Re: Lizzie always starts with white |
Uberdude wrote: Lizzie starts with black on an empty board, so if you just open Lizzie, play your black 4-4 and then white 3-3 it will be black to move and Lizzie will give you percentages for black to play at various places, including your 3-4s of interest. Edit, looking at your sgf it appears white made the first move, not black, so it is expected that it is now white to play given each player alternates. Agreed to the first part. AB and AW are setup properties, not move properties. The property PL tells who plays first. If it is not given some default is used (usually B, but after HA, AB usually W; sunjang games often have both AB and AW and first player B). |
Author: | xela [ Thu Apr 16, 2020 4:24 pm ] |
Post subject: | Re: Lizzie always starts with white |
This is a bug in Lizzie. Even if your SGF contains a PL tag, Lizzie will ignore it, and try to guess whose move it is based on who played (or added a stone) last. That's why jlt's version of the SGF works. AW[cc] is the last thing in the SGF (before the variations start), white got a stone added last, so black to play next. |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |