FA-82887 / Go territory scoring / Member archive
Komi is omitted from the white territory score · case 02
White totals ignore compensation, so black wins close games it lost.
Case contract
Input [board, dead_points, prisoners_held_by_black, prisoners_held_by_white, komi_tenths]. Each listed dead stone is removed once and becomes a prisoner of its opponent (duplicates and empty points are ignored). Territory = empty regions (after removal) bordered by one colour only. Return [terr_b, terr_w, pris_b, pris_w, result] with result "B+x.y", "W+x.y" or "Jigo".
Why this case matters
Go servers and scoring tools compute this value automatically; a wrong answer changes a game result.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| territory score case 0 | [0, 0, 4, 2, "B+2.0"] | [0, 0, 4, 2, "W+3.5"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗