Re: Extending SGF?
Posted: Sun Jun 16, 2019 3:35 am
I like to proposal of spook, I think JSON is a good fit for this job.
The different encodings are a legacy from the past, and have not more reason to be used today. Enforcing UTF-8 would help so much. As a matter of fact, GoReviewPartner only outputs UTF-8 SGF or RSGF now. It immediately converts from any other encoding it encounters, and try to use it anyway when encoding is not specified.
As a note for later, we may have to specify somewhere the units of some values with use in the JSON file. For example, winrate like below:Would that mean 46% or 0.46%? Would that be winrate for the player to make that move? or this that the winrate for black? (like in Alphago teaching tool?). I am always using a format like "45.3%/56.5%" in GoReviewPartner to avoid any ambiguity, but that solution is not really satisfying.
As a note for later, that would be good to have support for a simple/standard markup language for the comments. Something simple that can be used to add hyperlinks, bullet lists, bold/italic... something like Markdown
Very good point. We have no idea what the state of the art go bots in 10 years from now will look like. They maybe they will use a technology different from neural networks of MCTS, and won't talk in term of winrate or playouts.spook wrote:We have to keep in mind that other AIs will have overlap, but may have more or less properties. I don't think you want to define a standard and dedicate it to 1 bot.
So, it should be very flexible.
Yes this pleaseAmtiskaw wrote:Of course there are additional problems when the data isn't UTF-8, but mandating UTF-8 would fix SGF's biggest problems.
As a note for later, we may have to specify somewhere the units of some values with use in the JSON file. For example, winrate like below:
Code: Select all
stats: [
{
move: "Q16",
winrate: 0.46,
},
{
move: "D16",
winrate: 0.47,
},
...
]As a note for later, that would be good to have support for a simple/standard markup language for the comments. Something simple that can be used to add hyperlinks, bullet lists, bold/italic... something like Markdown