There has been a lot of discussion of how the OGS autoscore behaves poorly especially by identifying invasions that the players had missed. The general feeling I get from experienced players here is that autoscore should go away and games should be scored manually, but I really don’t think that’s a good way to go for Internet Go and would cause a huge inflation in the number of scoring issues.
Instead, I’ve been a proponent of @Vsotvep’s algorithm for replacing the current autoscore:
I don’t think anyone has actually tested it yet, so I wrote a quick and extremely rough JavaScript implementation here:
https://pdg137.github.io/autoscore/?game=52240703
It runs the OGS AI score estimate on a given finished game, trying both Black and White to play, then goes through the steps of the algorithm and shows the final result. You can change the game number in the URL to try applying the algorithm to different games.
(And it’s really really rough since I don’t know what I’m doing; for example I’m using a third-party service to get around CORS issues with the OGS API and that seems to fail sometimes, also sometimes I still get CORS errors that I’m not expecting. And it is locked to AGA rules since I didn’t want to make an extra API call to determine the ruleset.)
Most importantly, the “Combined AI estimate” pane shows the main thing of distinguishing alive/dead/unsettled stones:
And “Algorithm result” resolves the unresolved regions based on which color contains the most unresolved stones:
Anyway, maybe this will be interesting to try against some of the poorly-handled cases. Please let me know what you think!
UPDATE:
It turns out this was not quite what Vsotvep had in mind, and anyway there are some weaknesses in this algorithm, so I’m now pushing a new “v3” version described here:
The basic idea is to assign ownership as black/white/dame based on the stones along the border of each region, rather than counting unsettled stones.