FAILURE MAP
← Case archive

FA-86391 / Procedural level generation constraints / Open access

Cave smoothing automaton: Borders always count as walls · case 01

Open-edge maps grow walls along the boundary.

Verified by executionVariant 1 · 8 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

Out-of-bounds neighbours count as walls regardless of the border policy.

VERIFIED REPAIR

Restore `elif border_wall:` at the border policy step.

Unsuccessful approach: Inverting the flag applies walls exactly when the policy says open.

Case contract

One synchronous step over '#'/'.' rows. For each cell count wall cells among its 8 neighbours (the cell itself excluded); out-of-bounds neighbours count as walls when border_wall. A wall stays a wall when the count is in survive; a floor becomes a wall when the count is in birth. All counts use the input grid.

Why this case matters

Procedural generators silently emit unplayable or unfair levels when a single constraint check uses the wrong boundary, axis, neighborhood or update order; the defect is visible in exact generated geometry.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(grid, birth, survive, border_wall):
    h = len(grid)
    w = len(grid[0])
    out = []
    for r in range(h):
        row = []
        for c in range(w):
            n = 0
            for dr in (-1, 0, 1):
                for dc in (-1, 0, 1):
                    if dr == 0 and dc == 0:
                        continue
                    rr, cc = r + dr, c + dc
                    if 0 <= rr < h and 0 <= cc < w:
                        n += grid[rr][cc] == '#'
                    else:
                        n += 1
            wall = grid[r][c] == '#'
            row.append('#' if (n in survive if wall else n in birth) else '.')
        out.append(''.join(row))
    return out
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('open field corner #1',
   [['...', '...', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['#.#', '...', '#.#']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#', '.#', '##', '#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..']),
  ('partial repair boundary #1', [['###.', '#...'], [3], [2, 3], True], ['....', '....']),
  ('partial repair boundary #2',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('control #1', [['.#', '..'], [3], [2, 3], False], ['..', '..']),
  ('control #2', [['.#..##'], [3], [2, 3], True], ['......'])],
 [('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('regression border policy #1',
   [['.#', '.#', '##', '#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..']),
  ('regression border policy #2', [['###.', '.###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.##.', '.##.']),
  ('partial repair boundary #1', [['###.', '#...'], [3], [2, 3], True], ['....', '....']),
  ('partial repair boundary #2',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('control #1', [['..', '..'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True], ['..', '..']),
  ('control #2', [['..##'], [3], [2, 3], False], ['....'])],
 [('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#.#.', '##...', '#.###', '#....', '#..##'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['.....', '.##..', '.#...', '...#.', '.....']),
  ('regression border policy #2',
   [['##.##', '###..', '#.##.', '...##', '#..#.', '##.#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['.#...', '####.', '.###.', '...#.', '.....', '.....']),
  ('partial repair boundary #1',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('partial repair boundary #2', [['..##.#', '.#####'], [3], [2, 3], True], ['......', '......']),
  ('control #1', [['.#'], [3], [2, 3], True], ['..']),
  ('control #2', [['..'], [3], [2, 3], True], ['..'])],
 [('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('open field corner #1',
   [['...', '...', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['#.#', '...', '#.#']),
  ('regression border policy #1',
   [['##', '..', '.#', '##', '..', '..'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..', '..', '..']),
  ('regression border policy #2',
   [['..#', '.#.', '..#', '..#', '##.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['...', '...', '...', '...', '...']),
  ('partial repair boundary #1',
   [['...#', '.#..', '#...', '####'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True],
   ['#..#', '....', '#...', '####']),
  ('partial repair boundary #2', [['#', '#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True], ['#', '#']),
  ('control #1', [['#.#.#.'], [3], [2, 3], False], ['......']),
  ('control #2', [['.', '.'], [3], [2, 3], True], ['.', '.'])],
 [('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#.#.#', '..#..#', '##..#.', '##..#.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['......', '..#...', '##....', '##....']),
  ('regression border policy #2',
   [['...', '##.', '.##', '...', '#.#'], [3], [2, 3], False],
   ['...', '###', '###', '..#', '...']),
  ('partial repair boundary #1',
   [['..', '##', '#.', '#.', '##', '.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['##', '##', '##', '##', '##', '##']),
  ('partial repair boundary #2',
   [['.', '.', '#', '.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True],
   ['#', '#', '#', '#']),
  ('control #1', [['#', '.'], [3], [2, 3], True], ['.', '.']),
  ('control #2', [['..#.#.'], [3], [2, 3], True], ['......'])]]
for label, args, expected in cases[N-1]:
    check(label, solve(*args), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
lone pillar #1['#.#', '...', '#.#']['...', '...', '...']Failed
open field corner #1['#.#', '...', '#.#']['#.#', '...', '#.#']Passed
dense block #1['###', '###', '###']['.#.', '###', '.#.']Failed
regression border policy #1['##', '##', '##', '##']['..', '..', '..', '..']Failed
partial repair boundary #1['....', '....']['....', '....']Passed
partial repair boundary #2['####', '##.#', '##.#', '#..#', '#.##']['####', '##.#', '##.#', '#..#', '#.##']Passed
control #1['..', '..']['..', '..']Passed
control #2['......']['......']Passed

SHA-256 / 8679232a5b338d8b3e620810dcc3fad598cde3ebf3475f44dada71190a4336c3

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(grid, birth, survive, border_wall):
    h = len(grid)
    w = len(grid[0])
    out = []
    for r in range(h):
        row = []
        for c in range(w):
            n = 0
            for dr in (-1, 0, 1):
                for dc in (-1, 0, 1):
                    if dr == 0 and dc == 0:
                        continue
                    rr, cc = r + dr, c + dc
                    if 0 <= rr < h and 0 <= cc < w:
                        n += grid[rr][cc] == '#'
                    elif not border_wall:
                        n += 1
            wall = grid[r][c] == '#'
            row.append('#' if (n in survive if wall else n in birth) else '.')
        out.append(''.join(row))
    return out
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('open field corner #1',
   [['...', '...', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['#.#', '...', '#.#']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#', '.#', '##', '#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..']),
  ('partial repair boundary #1', [['###.', '#...'], [3], [2, 3], True], ['....', '....']),
  ('partial repair boundary #2',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('control #1', [['.#', '..'], [3], [2, 3], False], ['..', '..']),
  ('control #2', [['.#..##'], [3], [2, 3], True], ['......'])],
 [('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('regression border policy #1',
   [['.#', '.#', '##', '#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..']),
  ('regression border policy #2', [['###.', '.###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.##.', '.##.']),
  ('partial repair boundary #1', [['###.', '#...'], [3], [2, 3], True], ['....', '....']),
  ('partial repair boundary #2',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('control #1', [['..', '..'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True], ['..', '..']),
  ('control #2', [['..##'], [3], [2, 3], False], ['....'])],
 [('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#.#.', '##...', '#.###', '#....', '#..##'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['.....', '.##..', '.#...', '...#.', '.....']),
  ('regression border policy #2',
   [['##.##', '###..', '#.##.', '...##', '#..#.', '##.#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['.#...', '####.', '.###.', '...#.', '.....', '.....']),
  ('partial repair boundary #1',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('partial repair boundary #2', [['..##.#', '.#####'], [3], [2, 3], True], ['......', '......']),
  ('control #1', [['.#'], [3], [2, 3], True], ['..']),
  ('control #2', [['..'], [3], [2, 3], True], ['..'])],
 [('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('open field corner #1',
   [['...', '...', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['#.#', '...', '#.#']),
  ('regression border policy #1',
   [['##', '..', '.#', '##', '..', '..'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..', '..', '..']),
  ('regression border policy #2',
   [['..#', '.#.', '..#', '..#', '##.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['...', '...', '...', '...', '...']),
  ('partial repair boundary #1',
   [['...#', '.#..', '#...', '####'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True],
   ['#..#', '....', '#...', '####']),
  ('partial repair boundary #2', [['#', '#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True], ['#', '#']),
  ('control #1', [['#.#.#.'], [3], [2, 3], False], ['......']),
  ('control #2', [['.', '.'], [3], [2, 3], True], ['.', '.'])],
 [('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#.#.#', '..#..#', '##..#.', '##..#.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['......', '..#...', '##....', '##....']),
  ('regression border policy #2',
   [['...', '##.', '.##', '...', '#.#'], [3], [2, 3], False],
   ['...', '###', '###', '..#', '...']),
  ('partial repair boundary #1',
   [['..', '##', '#.', '#.', '##', '.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['##', '##', '##', '##', '##', '##']),
  ('partial repair boundary #2',
   [['.', '.', '#', '.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True],
   ['#', '#', '#', '#']),
  ('control #1', [['#', '.'], [3], [2, 3], True], ['.', '.']),
  ('control #2', [['..#.#.'], [3], [2, 3], True], ['......'])]]
for label, args, expected in cases[N-1]:
    check(label, solve(*args), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
lone pillar #1['#.#', '...', '#.#']['...', '...', '...']Failed
open field corner #1['...', '...', '...']['#.#', '...', '#.#']Failed
dense block #1['###', '###', '###']['.#.', '###', '.#.']Failed
regression border policy #1['##', '##', '##', '##']['..', '..', '..', '..']Failed
partial repair boundary #1['##..', '#...']['....', '....']Failed
partial repair boundary #2['....', '.#..', '.#..', '....', '....']['####', '##.#', '##.#', '#..#', '#.##']Failed
control #1['..', '..']['..', '..']Passed
control #2['......']['......']Passed

SHA-256 / 46c7021daa0a3dc5f98e4eb84d6d1b55ff9b9ff87e1dc2d86dde2637a98e677d

3 / The verified repair

Exit 0
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(grid, birth, survive, border_wall):
    h = len(grid)
    w = len(grid[0])
    out = []
    for r in range(h):
        row = []
        for c in range(w):
            n = 0
            for dr in (-1, 0, 1):
                for dc in (-1, 0, 1):
                    if dr == 0 and dc == 0:
                        continue
                    rr, cc = r + dr, c + dc
                    if 0 <= rr < h and 0 <= cc < w:
                        n += grid[rr][cc] == '#'
                    elif border_wall:
                        n += 1
            wall = grid[r][c] == '#'
            row.append('#' if (n in survive if wall else n in birth) else '.')
        out.append(''.join(row))
    return out
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('open field corner #1',
   [['...', '...', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['#.#', '...', '#.#']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#', '.#', '##', '#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..']),
  ('partial repair boundary #1', [['###.', '#...'], [3], [2, 3], True], ['....', '....']),
  ('partial repair boundary #2',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('control #1', [['.#', '..'], [3], [2, 3], False], ['..', '..']),
  ('control #2', [['.#..##'], [3], [2, 3], True], ['......'])],
 [('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('regression border policy #1',
   [['.#', '.#', '##', '#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..']),
  ('regression border policy #2', [['###.', '.###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.##.', '.##.']),
  ('partial repair boundary #1', [['###.', '#...'], [3], [2, 3], True], ['....', '....']),
  ('partial repair boundary #2',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('control #1', [['..', '..'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True], ['..', '..']),
  ('control #2', [['..##'], [3], [2, 3], False], ['....'])],
 [('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#.#.', '##...', '#.###', '#....', '#..##'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['.....', '.##..', '.#...', '...#.', '.....']),
  ('regression border policy #2',
   [['##.##', '###..', '#.##.', '...##', '#..#.', '##.#.'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False],
   ['.#...', '####.', '.###.', '...#.', '.....', '.....']),
  ('partial repair boundary #1',
   [['....', '###.', '##.#', '....', '.#.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['####', '##.#', '##.#', '#..#', '#.##']),
  ('partial repair boundary #2', [['..##.#', '.#####'], [3], [2, 3], True], ['......', '......']),
  ('control #1', [['.#'], [3], [2, 3], True], ['..']),
  ('control #2', [['..'], [3], [2, 3], True], ['..'])],
 [('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('open field corner #1',
   [['...', '...', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['#.#', '...', '#.#']),
  ('regression border policy #1',
   [['##', '..', '.#', '##', '..', '..'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['..', '..', '..', '..', '..', '..']),
  ('regression border policy #2',
   [['..#', '.#.', '..#', '..#', '##.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['...', '...', '...', '...', '...']),
  ('partial repair boundary #1',
   [['...#', '.#..', '#...', '####'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True],
   ['#..#', '....', '#...', '####']),
  ('partial repair boundary #2', [['#', '#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True], ['#', '#']),
  ('control #1', [['#.#.#.'], [3], [2, 3], False], ['......']),
  ('control #2', [['.', '.'], [3], [2, 3], True], ['.', '.'])],
 [('lone pillar #1', [['...', '.#.', '...'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['...', '...', '...']),
  ('dense block #1', [['###', '###', '###'], [5, 6, 7, 8], [4, 5, 6, 7, 8], False], ['.#.', '###', '.#.']),
  ('regression border policy #1',
   [['.#.#.#', '..#..#', '##..#.', '##..#.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], False],
   ['......', '..#...', '##....', '##....']),
  ('regression border policy #2',
   [['...', '##.', '.##', '...', '#.#'], [3], [2, 3], False],
   ['...', '###', '###', '..#', '...']),
  ('partial repair boundary #1',
   [['..', '##', '#.', '#.', '##', '.#'], [5, 6, 7, 8], [4, 5, 6, 7, 8], True],
   ['##', '##', '##', '##', '##', '##']),
  ('partial repair boundary #2',
   [['.', '.', '#', '.'], [6, 7, 8], [3, 4, 5, 6, 7, 8], True],
   ['#', '#', '#', '#']),
  ('control #1', [['#', '.'], [3], [2, 3], True], ['.', '.']),
  ('control #2', [['..#.#.'], [3], [2, 3], True], ['......'])]]
for label, args, expected in cases[N-1]:
    check(label, solve(*args), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
lone pillar #1['...', '...', '...']['...', '...', '...']Passed
open field corner #1['#.#', '...', '#.#']['#.#', '...', '#.#']Passed
dense block #1['.#.', '###', '.#.']['.#.', '###', '.#.']Passed
regression border policy #1['..', '..', '..', '..']['..', '..', '..', '..']Passed
partial repair boundary #1['....', '....']['....', '....']Passed
partial repair boundary #2['####', '##.#', '##.#', '#..#', '#.##']['####', '##.#', '##.#', '#..#', '#.##']Passed
control #1['..', '..']['..', '..']Passed
control #2['......']['......']Passed

SHA-256 / 0ab1ce5cefc368f2ec0784644165d2dc3e3812f000ab266855e8a125232001c2

Verification & scope

Deterministic toy contract stipulated for this model; integer or exact arithmetic only, not a reproduction of any specific game engine. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.

Observations recorded using Python 3.12.14 at 2026-09-29T14:50:49.210687+00:00.

Case digest / a1a26d6bde23315c8f015892255ba402b7ea00effad4260179de02c3e46ff488