FA-82863 / Go territory scoring / Member archive
Region seed point is counted twice in territory · case 03
Some enclosed regions are one point larger than they are on the board.
Case contract
Input [board, komi_tenths]. Area = own stones + empty regions whose orthogonal border touches only that colour. Return [black_area, white_area, result] where result is "B+x.y" / "W+x.y" after subtracting komi from black, or "Draw".
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 |
|---|---|---|---|
| area score case 0 | [17, 8, "B+9.0"] | [16, 8, "B+8.0"] | 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 ↗