Ticket #41 (closed task: fixed)
Adapt semeai test suite STS-RV for GNU Go.
| Reported by: | gunnar | Owned by: | gnugo |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7.12 |
| Component: | regressions | Version: | |
| Severity: | minor | Keywords: | semeai |
| Cc: | patch: | no |
Description (last modified by gunnar) (diff)
At http://gobase.org/reading/preview/Semeai/#STS there is a very comprehensive semeai test suite (722 tests!) compiled by Ricard Vilà. It is in GTP format but it's not a perfect match for GNU Go because it uses a custom command called solve_semeaiS, specified by:
#/*********************** # * Solving Semeai * # ***********************/ #/* Function: Decide Semeai Status and move to play. # * Arguments: vertex for essential white/black block, vertex for essential black/white block. # * First color is assumed to play. # * Fails: invalid vertex, empty vertex, vertices of same colors # * Returns: Semeai status (if play) followed by move to play. # * 0=Looser, 1=Winner, 2=Seki, 3=Unknown, 4=Ko # */ # gtp command: solve_semeaiS
It would be good to have test files using the normal GNU Go commands.
Attached is an implementation of solve_semeaiS for GNU Go, but I don't propose that we include it in GNU Go.
This test suite, modified to use the usual GNU Go GTP semeai command, has been added to the GNU Go distribution now, excluding the tests taken from "Get Strong at Tesuji" and "Counting Liberties and Winning Capturing Races", due to missing knowledge about exactly how far the permissions given to Ricard Vilà by Richard Bozulich and Richard Hunter extend. The excluded tests can still be found in the attachments to this ticket, however
Attachments
Regression Results
| Attachment | Rev. | PASS | FAIL | Nodes | Status | |
| solve_semeaiS.diff | 2381 | 0% 0% 0% | builds with warning(s) | details |
