FA-82955 / Go territory scoring / Member archive
Six-stone handicap uses top and bottom side points · case 05
The fifth and sixth stones sit on the top/bottom edges instead of left/right.
Case contract
Input [size, count]. Star line e = 2 (0-based) below 13x13 else 3; f = size-1-e; mid = size//2. Counts outside 2..9 give []. Even boards allow at most 4. Order: [e,f],[f,e],[f,f],[e,e]; counts 6-9 add [mid,e],[mid,f]; 8-9 add [e,mid],[f,mid]; odd counts from 5 add the centre last.
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 |
|---|---|---|---|
| handicap placement case 4 | [[2, 8], [8, 2], [8, 8], [2, 2], [2, 5], [8, 5]] | [[2, 8], [8, 2], [8, 8], [2, 2], [5, 2], [5, 8]] | 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 ↗