FAILURE MAP
← Case archive

FA-82870 / Go territory scoring / Member archive

Dead stones are credited as prisoners to their own colour · case 05

Marking a white group dead raises white prisoner count instead of black.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
territory score case 0[16, 0, 4, 2, "B+18.0"][16, 0, 5, 1, "B+20.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 ↗