FAILURE MAP
← Case archive

FA-86571 / Procedural level generation constraints / Open access

Encounter difficulty budget: Equal-cost ties prefer later names · case 01

Encounter composition depends on the name order reversed.

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

ROOT CAUSE

Ties are broken toward the larger name.

THE FAILURE

Ties are broken toward the larger name.

Unsuccessful approach: Letting the last equal-cost entry win makes the result depend on roster order.

Case contract

budget = 10 + 5*depth + 10*(depth//5). roster [name, cost, min_depth] with cost >= 1. Repeatedly pick the most expensive unlocked (min_depth <= depth) affordable enemy with fewer than 3 copies already picked, ties broken by name; stop when none qualifies. Returns {picks, left}.

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(depth, roster):
    budget = 10 + 5 * depth + depth // 5 * 10
    counts = {}
    picks = []
    while True:
        best = None
        for name, cost, need in roster:
            if need > depth or cost > budget or counts.get(name, 0) >= 3:
                continue
            if best is None or cost > best[1] or (cost == best[1] and name > best[0]):
                best = (name, cost)
        if best is None:
            break
        picks.append(best[0])
        counts[best[0]] = counts.get(best[0], 0) + 1
        budget -= best[1]
    return {'picks': picks, 'left': budget}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('regression tie break #1',
   [10, [['imp', 2, 10], ['ogre', 5, 10], ['rat', 1, 3], ['bat', 2, 0], ['orc', 5, 3], ['wyrm', 24, 10]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'ogre', 'bat', 'rat'], 'left': 0}),
  ('regression tie break #2',
   [1, [['orc', 5, 3], ['bat', 8, 1], ['wyrm', 8, 0]]],
   {'picks': ['bat'], 'left': 7}),
  ('regression tie break #3',
   [4, [['rat', 5, 5], ['ogre', 5, 0], ['wyrm', 5, 1], ['imp', 5, 3]]],
   {'picks': ['imp', 'imp', 'imp', 'ogre', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #4',
   [5, [['bat', 8, 1], ['orc', 15, 10], ['wyrm', 10, 1], ['ogre', 1, 3], ['rat', 1, 3], ['imp', 2, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre'], 'left': 0}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1',
   [1, [['imp', 10, 1], ['bat', 10, 10], ['orc', 1, 0]]],
   {'picks': ['imp', 'orc', 'orc', 'orc'], 'left': 2})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('regression tie break #1',
   [1, [['orc', 5, 3], ['bat', 8, 1], ['wyrm', 8, 0]]],
   {'picks': ['bat'], 'left': 7}),
  ('regression tie break #2',
   [4, [['rat', 5, 5], ['ogre', 5, 0], ['wyrm', 5, 1], ['imp', 5, 3]]],
   {'picks': ['imp', 'imp', 'imp', 'ogre', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #3',
   [5, [['bat', 8, 1], ['orc', 15, 10], ['wyrm', 10, 1], ['ogre', 1, 3], ['rat', 1, 3], ['imp', 2, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre'], 'left': 0}),
  ('regression tie break #4',
   [10, [['imp', 15, 10], ['ogre', 5, 1], ['orc', 5, 5], ['rat', 5, 0], ['wyrm', 10, 1]]],
   {'picks': ['imp', 'imp', 'imp', 'wyrm', 'wyrm', 'wyrm', 'ogre'], 'left': 0}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1',
   [1, [['imp', 10, 1], ['bat', 10, 10], ['orc', 1, 0]]],
   {'picks': ['imp', 'orc', 'orc', 'orc'], 'left': 2})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('regression tie break #1',
   [5, [['bat', 8, 1], ['orc', 15, 10], ['wyrm', 10, 1], ['ogre', 1, 3], ['rat', 1, 3], ['imp', 2, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre'], 'left': 0}),
  ('regression tie break #2',
   [10, [['imp', 15, 10], ['ogre', 5, 1], ['orc', 5, 5], ['rat', 5, 0], ['wyrm', 10, 1]]],
   {'picks': ['imp', 'imp', 'imp', 'wyrm', 'wyrm', 'wyrm', 'ogre'], 'left': 0}),
  ('regression tie break #3',
   [14, [['orc', 30, 1], ['bat', 15, 5], ['ogre', 5, 0], ['rat', 5, 5]]],
   {'picks': ['orc', 'orc', 'orc', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #4',
   [10, [['bat', 5, 10], ['ogre', 5, 5], ['wyrm', 10, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre'], 'left': 20}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1',
   [1, [['imp', 10, 1], ['bat', 10, 10], ['orc', 1, 0]]],
   {'picks': ['imp', 'orc', 'orc', 'orc'], 'left': 2})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('fault site tie break #1',
   [9, [['bat', 26, 5], ['rat', 11, 10], ['ogre', 5, 0], ['imp', 5, 0]]],
   {'picks': ['bat', 'bat', 'imp', 'imp'], 'left': 3}),
  ('regression tie break #1',
   [14, [['orc', 30, 1], ['bat', 15, 5], ['ogre', 5, 0], ['rat', 5, 5]]],
   {'picks': ['orc', 'orc', 'orc', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #2',
   [10, [['bat', 5, 10], ['ogre', 5, 5], ['wyrm', 10, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre'], 'left': 20}),
  ('regression tie break #3',
   [10, [['bat', 10, 1], ['ogre', 10, 10], ['orc', 5, 10]]],
   {'picks': ['bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre', 'orc', 'orc', 'orc'], 'left': 5}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1', [15, [['ogre', 5, 1]]], {'picks': ['ogre', 'ogre', 'ogre'], 'left': 100})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('fault site tie break #1',
   [20, [['orc', 5, 5], ['rat', 10, 0], ['ogre', 9, 1], ['imp', 5, 1], ['bat', 5, 3], ['wyrm', 1, 0]]],
   {'picks': ['rat',
              'rat',
              'rat',
              'ogre',
              'ogre',
              'ogre',
              'bat',
              'bat',
              'bat',
              'imp',
              'imp',
              'imp',
              'orc',
              'orc',
              'orc',
              'wyrm',
              'wyrm',
              'wyrm'],
    'left': 45}),
  ('regression tie break #1',
   [10, [['bat', 5, 10], ['ogre', 5, 5], ['wyrm', 10, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre'], 'left': 20}),
  ('regression tie break #2',
   [14, [['imp', 5, 1], ['rat', 5, 3], ['orc', 2, 5], ['ogre', 8, 1]]],
   {'picks': ['ogre', 'ogre', 'ogre', 'imp', 'imp', 'imp', 'rat', 'rat', 'rat', 'orc', 'orc', 'orc'],
    'left': 40}),
  ('regression tie break #3',
   [9, [['ogre', 1, 1], ['wyrm', 1, 0], ['orc', 5, 3]]],
   {'picks': ['orc', 'orc', 'orc', 'ogre', 'ogre', 'ogre', 'wyrm', 'wyrm', 'wyrm'], 'left': 44}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1', [5, [['orc', 10, 1], ['imp', 5, 10]]], {'picks': ['orc', 'orc', 'orc'], 'left': 15})]]
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
equal cost tie #1{'left': 0, 'picks': ['orc', 'orc']}{'left': 0, 'picks': ['imp', 'imp']}Failed
regression tie break #1{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'orc', 'imp', 'rat']}{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'ogre', 'bat', 'rat']}Failed
regression tie break #2{'left': 7, 'picks': ['wyrm']}{'left': 7, 'picks': ['bat']}Failed
regression tie break #3{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'ogre', 'ogre', 'ogre']}{'left': 0, 'picks': ['imp', 'imp', 'imp', 'ogre', 'ogre', 'ogre']}Failed
regression tie break #4{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'rat']}{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre']}Failed
milestone depth bonus #1{'left': 30, 'picks': ['orc', 'orc', 'orc']}{'left': 30, 'picks': ['orc', 'orc', 'orc']}Passed
unlock at depth #1{'left': 2, 'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat']}{'left': 2, 'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat']}Passed
control #1{'left': 2, 'picks': ['imp', 'orc', 'orc', 'orc']}{'left': 2, 'picks': ['imp', 'orc', 'orc', 'orc']}Passed

SHA-256 / 9222623b8c88a62b6321fbbbcd3d03df9067484f98cff760268475f2e968ad09

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(depth, roster):
    budget = 10 + 5 * depth + depth // 5 * 10
    counts = {}
    picks = []
    while True:
        best = None
        for name, cost, need in roster:
            if need > depth or cost > budget or counts.get(name, 0) >= 3:
                continue
            if best is None or cost > best[1] or cost == best[1]:
                best = (name, cost)
        if best is None:
            break
        picks.append(best[0])
        counts[best[0]] = counts.get(best[0], 0) + 1
        budget -= best[1]
    return {'picks': picks, 'left': budget}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('regression tie break #1',
   [10, [['imp', 2, 10], ['ogre', 5, 10], ['rat', 1, 3], ['bat', 2, 0], ['orc', 5, 3], ['wyrm', 24, 10]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'ogre', 'bat', 'rat'], 'left': 0}),
  ('regression tie break #2',
   [1, [['orc', 5, 3], ['bat', 8, 1], ['wyrm', 8, 0]]],
   {'picks': ['bat'], 'left': 7}),
  ('regression tie break #3',
   [4, [['rat', 5, 5], ['ogre', 5, 0], ['wyrm', 5, 1], ['imp', 5, 3]]],
   {'picks': ['imp', 'imp', 'imp', 'ogre', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #4',
   [5, [['bat', 8, 1], ['orc', 15, 10], ['wyrm', 10, 1], ['ogre', 1, 3], ['rat', 1, 3], ['imp', 2, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre'], 'left': 0}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1',
   [1, [['imp', 10, 1], ['bat', 10, 10], ['orc', 1, 0]]],
   {'picks': ['imp', 'orc', 'orc', 'orc'], 'left': 2})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('regression tie break #1',
   [1, [['orc', 5, 3], ['bat', 8, 1], ['wyrm', 8, 0]]],
   {'picks': ['bat'], 'left': 7}),
  ('regression tie break #2',
   [4, [['rat', 5, 5], ['ogre', 5, 0], ['wyrm', 5, 1], ['imp', 5, 3]]],
   {'picks': ['imp', 'imp', 'imp', 'ogre', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #3',
   [5, [['bat', 8, 1], ['orc', 15, 10], ['wyrm', 10, 1], ['ogre', 1, 3], ['rat', 1, 3], ['imp', 2, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre'], 'left': 0}),
  ('regression tie break #4',
   [10, [['imp', 15, 10], ['ogre', 5, 1], ['orc', 5, 5], ['rat', 5, 0], ['wyrm', 10, 1]]],
   {'picks': ['imp', 'imp', 'imp', 'wyrm', 'wyrm', 'wyrm', 'ogre'], 'left': 0}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1',
   [1, [['imp', 10, 1], ['bat', 10, 10], ['orc', 1, 0]]],
   {'picks': ['imp', 'orc', 'orc', 'orc'], 'left': 2})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('regression tie break #1',
   [5, [['bat', 8, 1], ['orc', 15, 10], ['wyrm', 10, 1], ['ogre', 1, 3], ['rat', 1, 3], ['imp', 2, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre'], 'left': 0}),
  ('regression tie break #2',
   [10, [['imp', 15, 10], ['ogre', 5, 1], ['orc', 5, 5], ['rat', 5, 0], ['wyrm', 10, 1]]],
   {'picks': ['imp', 'imp', 'imp', 'wyrm', 'wyrm', 'wyrm', 'ogre'], 'left': 0}),
  ('regression tie break #3',
   [14, [['orc', 30, 1], ['bat', 15, 5], ['ogre', 5, 0], ['rat', 5, 5]]],
   {'picks': ['orc', 'orc', 'orc', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #4',
   [10, [['bat', 5, 10], ['ogre', 5, 5], ['wyrm', 10, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre'], 'left': 20}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1',
   [1, [['imp', 10, 1], ['bat', 10, 10], ['orc', 1, 0]]],
   {'picks': ['imp', 'orc', 'orc', 'orc'], 'left': 2})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('fault site tie break #1',
   [9, [['bat', 26, 5], ['rat', 11, 10], ['ogre', 5, 0], ['imp', 5, 0]]],
   {'picks': ['bat', 'bat', 'imp', 'imp'], 'left': 3}),
  ('regression tie break #1',
   [14, [['orc', 30, 1], ['bat', 15, 5], ['ogre', 5, 0], ['rat', 5, 5]]],
   {'picks': ['orc', 'orc', 'orc', 'ogre', 'ogre'], 'left': 0}),
  ('regression tie break #2',
   [10, [['bat', 5, 10], ['ogre', 5, 5], ['wyrm', 10, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre'], 'left': 20}),
  ('regression tie break #3',
   [10, [['bat', 10, 1], ['ogre', 10, 10], ['orc', 5, 10]]],
   {'picks': ['bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre', 'orc', 'orc', 'orc'], 'left': 5}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1', [15, [['ogre', 5, 1]]], {'picks': ['ogre', 'ogre', 'ogre'], 'left': 100})],
 [('equal cost tie #1', [0, [['orc', 5, 0], ['imp', 5, 0]]], {'picks': ['imp', 'imp'], 'left': 0}),
  ('fault site tie break #1',
   [20, [['orc', 5, 5], ['rat', 10, 0], ['ogre', 9, 1], ['imp', 5, 1], ['bat', 5, 3], ['wyrm', 1, 0]]],
   {'picks': ['rat',
              'rat',
              'rat',
              'ogre',
              'ogre',
              'ogre',
              'bat',
              'bat',
              'bat',
              'imp',
              'imp',
              'imp',
              'orc',
              'orc',
              'orc',
              'wyrm',
              'wyrm',
              'wyrm'],
    'left': 45}),
  ('regression tie break #1',
   [10, [['bat', 5, 10], ['ogre', 5, 5], ['wyrm', 10, 0]]],
   {'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'bat', 'bat', 'ogre', 'ogre', 'ogre'], 'left': 20}),
  ('regression tie break #2',
   [14, [['imp', 5, 1], ['rat', 5, 3], ['orc', 2, 5], ['ogre', 8, 1]]],
   {'picks': ['ogre', 'ogre', 'ogre', 'imp', 'imp', 'imp', 'rat', 'rat', 'rat', 'orc', 'orc', 'orc'],
    'left': 40}),
  ('regression tie break #3',
   [9, [['ogre', 1, 1], ['wyrm', 1, 0], ['orc', 5, 3]]],
   {'picks': ['orc', 'orc', 'orc', 'ogre', 'ogre', 'ogre', 'wyrm', 'wyrm', 'wyrm'], 'left': 44}),
  ('milestone depth bonus #1', [5, [['orc', 5, 0]]], {'picks': ['orc', 'orc', 'orc'], 'left': 30}),
  ('unlock at depth #1',
   [3, [['ogre', 10, 3], ['rat', 1, 0]]],
   {'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat'], 'left': 2}),
  ('control #1', [5, [['orc', 10, 1], ['imp', 5, 10]]], {'picks': ['orc', 'orc', 'orc'], 'left': 15})]]
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
equal cost tie #1{'left': 0, 'picks': ['imp', 'imp']}{'left': 0, 'picks': ['imp', 'imp']}Passed
regression tie break #1{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'orc', 'bat', 'rat']}{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'ogre', 'bat', 'rat']}Failed
regression tie break #2{'left': 7, 'picks': ['wyrm']}{'left': 7, 'picks': ['bat']}Failed
regression tie break #3{'left': 0, 'picks': ['imp', 'imp', 'imp', 'wyrm', 'wyrm', 'wyrm']}{'left': 0, 'picks': ['imp', 'imp', 'imp', 'ogre', 'ogre', 'ogre']}Failed
regression tie break #4{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'rat']}{'left': 0, 'picks': ['wyrm', 'wyrm', 'wyrm', 'bat', 'imp', 'imp', 'imp', 'ogre']}Failed
milestone depth bonus #1{'left': 30, 'picks': ['orc', 'orc', 'orc']}{'left': 30, 'picks': ['orc', 'orc', 'orc']}Passed
unlock at depth #1{'left': 2, 'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat']}{'left': 2, 'picks': ['ogre', 'ogre', 'rat', 'rat', 'rat']}Passed
control #1{'left': 2, 'picks': ['imp', 'orc', 'orc', 'orc']}{'left': 2, 'picks': ['imp', 'orc', 'orc', 'orc']}Passed

SHA-256 / 1afd3bc5dc00434c1e20c204b16fd81088973e620fb93a3fbfbbdd75749711ae

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 8 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.

Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.

Member access is invitation-based. Sign in with your invited account to inspect the repair.

Sign in to the archive ↗

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:50.780455+00:00.

Case digest / b40a03128252ab7312cebad369ba0bb5ab191a73e49f07f185d3f090059702da