FA-86046 / Game economy crafting balance / Open access
Enchantment upgrade ladder: Stopped ladder consumes an extra roll · case 01
A roll is charged after the item maxed out or broke.
ROOT CAUSE
The used counter is incremented before the stop condition is checked.
VERIFIED REPAIR
Restore `if level >= 10 or broken: break used += 1` at the roll consumption order step.
Unsuccessful approach: Dropping the broken check keeps enchanting a destroyed item.
Case contract
Success chance (percent) from level L: [100,100,100,90,80,70,60,50,40,30][L]; max level 10. A roll r (0..99) succeeds when r < chance. Failure at L <= 5 keeps the level; at L >= 6 consumes a protection if one is left (level kept); otherwise L 6..7 downgrades by one and L >= 8 breaks the item. Rolls stop being consumed once the item is at max level or broken; used counts consumed rolls.
Why this case matters
Game economies leak or destroy currency when one crafting or pricing rule is off by one boundary, rounding stage or state update; the defect is observable in exact integer outcomes.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(level, rolls, protections):
chance = [100, 100, 100, 90, 80, 70, 60, 50, 40, 30]
used = 0
broken = False
for r in rolls:
used += 1
if level >= 10 or broken:
break
if r < chance[level]:
level += 1
elif level >= 6:
if protections > 0:
protections -= 1
elif level >= 8:
broken = True
else:
level -= 1
return {'level': level, 'broken': broken, 'protections': protections, 'used': used}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #1',
[9, [39, 30, 99, 29, 59, 99, 0], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 2}),
('regression roll consumption order #2',
[9, [99, 30], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #3',
[9, [50, 40, 50, 0, 40, 29, 0], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #4',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #1',
[9, [99, 30], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #2',
[9, [50, 40, 50, 0, 40, 29, 0], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #3',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #4',
[9, [90, 59, 50], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[10, [90, 49, 29], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('fault site roll consumption order #2',
[10, [34, 29, 90, 63, 0, 60, 59], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('regression roll consumption order #1',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #2',
[9, [90, 59, 50], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[8, [0, 0, 99, 40, 89], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 2}),
('fault site roll consumption order #2',
[10, [29, 60, 40, 59], 2],
{'level': 10, 'broken': False, 'protections': 2, 'used': 0}),
('regression roll consumption order #1',
[6, [40, 30, 89, 10, 29, 40, 60], 0],
{'level': 8, 'broken': True, 'protections': 0, 'used': 3}),
('regression roll consumption order #2',
[8, [49, 29, 59, 0], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 3}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1', [8, [49, 40, 59], 2], {'level': 8, 'broken': True, 'protections': 0, 'used': 3})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[10, [29], 2],
{'level': 10, 'broken': False, 'protections': 2, 'used': 0}),
('fault site roll consumption order #2',
[10, [29, 29, 30, 90], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('regression roll consumption order #1',
[9, [89, 89, 89, 60, 0, 30, 40, 90], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 2}),
('regression roll consumption order #2',
[6, [47, 29, 60, 59, 39, 49, 59, 30], 2],
{'level': 9, 'broken': True, 'protections': 0, 'used': 6}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1', [8, [89, 89], 1], {'level': 8, 'broken': True, 'protections': 0, 'used': 2})]]
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| break at eight #1 | {'broken': True, 'level': 8, 'protections': 0, 'used': 2} | {'broken': True, 'level': 8, 'protections': 0, 'used': 1} | Failed |
| regression roll consumption order #1 | {'broken': True, 'level': 9, 'protections': 0, 'used': 3} | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | Failed |
| regression roll consumption order #2 | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Failed |
| regression roll consumption order #3 | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Failed |
| regression roll consumption order #4 | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Failed |
| protected downgrade #1 | {'broken': False, 'level': 5, 'protections': 0, 'used': 2} | {'broken': False, 'level': 5, 'protections': 0, 'used': 2} | Passed |
| boundary roll equals chance #1 | {'broken': False, 'level': 4, 'protections': 0, 'used': 1} | {'broken': False, 'level': 4, 'protections': 0, 'used': 1} | Passed |
| control #1 | {'broken': False, 'level': 7, 'protections': 2, 'used': 8} | {'broken': False, 'level': 7, 'protections': 2, 'used': 8} | Passed |
SHA-256 / bb2477413784493fea48c44382c24c94d1ad32c5e455409bafddbb782fd8e17f
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(level, rolls, protections):
chance = [100, 100, 100, 90, 80, 70, 60, 50, 40, 30]
used = 0
broken = False
for r in rolls:
if level >= 10:
break
used += 1
if r < chance[level]:
level += 1
elif level >= 6:
if protections > 0:
protections -= 1
elif level >= 8:
broken = True
else:
level -= 1
return {'level': level, 'broken': broken, 'protections': protections, 'used': used}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #1',
[9, [39, 30, 99, 29, 59, 99, 0], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 2}),
('regression roll consumption order #2',
[9, [99, 30], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #3',
[9, [50, 40, 50, 0, 40, 29, 0], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #4',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #1',
[9, [99, 30], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #2',
[9, [50, 40, 50, 0, 40, 29, 0], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #3',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #4',
[9, [90, 59, 50], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[10, [90, 49, 29], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('fault site roll consumption order #2',
[10, [34, 29, 90, 63, 0, 60, 59], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('regression roll consumption order #1',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #2',
[9, [90, 59, 50], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[8, [0, 0, 99, 40, 89], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 2}),
('fault site roll consumption order #2',
[10, [29, 60, 40, 59], 2],
{'level': 10, 'broken': False, 'protections': 2, 'used': 0}),
('regression roll consumption order #1',
[6, [40, 30, 89, 10, 29, 40, 60], 0],
{'level': 8, 'broken': True, 'protections': 0, 'used': 3}),
('regression roll consumption order #2',
[8, [49, 29, 59, 0], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 3}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1', [8, [49, 40, 59], 2], {'level': 8, 'broken': True, 'protections': 0, 'used': 3})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[10, [29], 2],
{'level': 10, 'broken': False, 'protections': 2, 'used': 0}),
('fault site roll consumption order #2',
[10, [29, 29, 30, 90], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('regression roll consumption order #1',
[9, [89, 89, 89, 60, 0, 30, 40, 90], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 2}),
('regression roll consumption order #2',
[6, [47, 29, 60, 59, 39, 49, 59, 30], 2],
{'level': 9, 'broken': True, 'protections': 0, 'used': 6}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1', [8, [89, 89], 1], {'level': 8, 'broken': True, 'protections': 0, 'used': 2})]]
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| break at eight #1 | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | {'broken': True, 'level': 8, 'protections': 0, 'used': 1} | Failed |
| regression roll consumption order #1 | {'broken': True, 'level': 10, 'protections': 0, 'used': 4} | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | Failed |
| regression roll consumption order #2 | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Failed |
| regression roll consumption order #3 | {'broken': True, 'level': 10, 'protections': 0, 'used': 4} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Failed |
| regression roll consumption order #4 | {'broken': True, 'level': 9, 'protections': 0, 'used': 3} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Failed |
| protected downgrade #1 | {'broken': False, 'level': 5, 'protections': 0, 'used': 2} | {'broken': False, 'level': 5, 'protections': 0, 'used': 2} | Passed |
| boundary roll equals chance #1 | {'broken': False, 'level': 4, 'protections': 0, 'used': 1} | {'broken': False, 'level': 4, 'protections': 0, 'used': 1} | Passed |
| control #1 | {'broken': False, 'level': 7, 'protections': 2, 'used': 8} | {'broken': False, 'level': 7, 'protections': 2, 'used': 8} | Passed |
SHA-256 / 7886c297012ab500315f876887f5baa9591e8d8354ab6730b0a95ed193dbc9dd
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(level, rolls, protections):
chance = [100, 100, 100, 90, 80, 70, 60, 50, 40, 30]
used = 0
broken = False
for r in rolls:
if level >= 10 or broken:
break
used += 1
if r < chance[level]:
level += 1
elif level >= 6:
if protections > 0:
protections -= 1
elif level >= 8:
broken = True
else:
level -= 1
return {'level': level, 'broken': broken, 'protections': protections, 'used': used}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
cases = [[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #1',
[9, [39, 30, 99, 29, 59, 99, 0], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 2}),
('regression roll consumption order #2',
[9, [99, 30], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #3',
[9, [50, 40, 50, 0, 40, 29, 0], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #4',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #1',
[9, [99, 30], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #2',
[9, [50, 40, 50, 0, 40, 29, 0], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #3',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #4',
[9, [90, 59, 50], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[10, [90, 49, 29], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('fault site roll consumption order #2',
[10, [34, 29, 90, 63, 0, 60, 59], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('regression roll consumption order #1',
[9, [30, 90, 40], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('regression roll consumption order #2',
[9, [90, 59, 50], 0],
{'level': 9, 'broken': True, 'protections': 0, 'used': 1}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1',
[0, [0, 30, 89, 99, 60, 0, 59, 59], 2],
{'level': 7, 'broken': False, 'protections': 2, 'used': 8})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[8, [0, 0, 99, 40, 89], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 2}),
('fault site roll consumption order #2',
[10, [29, 60, 40, 59], 2],
{'level': 10, 'broken': False, 'protections': 2, 'used': 0}),
('regression roll consumption order #1',
[6, [40, 30, 89, 10, 29, 40, 60], 0],
{'level': 8, 'broken': True, 'protections': 0, 'used': 3}),
('regression roll consumption order #2',
[8, [49, 29, 59, 0], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 3}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1', [8, [49, 40, 59], 2], {'level': 8, 'broken': True, 'protections': 0, 'used': 3})],
[('break at eight #1', [8, [95, 0], 0], {'level': 8, 'broken': True, 'protections': 0, 'used': 1}),
('fault site roll consumption order #1',
[10, [29], 2],
{'level': 10, 'broken': False, 'protections': 2, 'used': 0}),
('fault site roll consumption order #2',
[10, [29, 29, 30, 90], 0],
{'level': 10, 'broken': False, 'protections': 0, 'used': 0}),
('regression roll consumption order #1',
[9, [89, 89, 89, 60, 0, 30, 40, 90], 1],
{'level': 9, 'broken': True, 'protections': 0, 'used': 2}),
('regression roll consumption order #2',
[6, [47, 29, 60, 59, 39, 49, 59, 30], 2],
{'level': 9, 'broken': True, 'protections': 0, 'used': 6}),
('protected downgrade #1', [6, [70, 70], 1], {'level': 5, 'broken': False, 'protections': 0, 'used': 2}),
('boundary roll equals chance #1',
[4, [80], 0],
{'level': 4, 'broken': False, 'protections': 0, 'used': 1}),
('control #1', [8, [89, 89], 1], {'level': 8, 'broken': True, 'protections': 0, 'used': 2})]]
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| break at eight #1 | {'broken': True, 'level': 8, 'protections': 0, 'used': 1} | {'broken': True, 'level': 8, 'protections': 0, 'used': 1} | Passed |
| regression roll consumption order #1 | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | {'broken': True, 'level': 9, 'protections': 0, 'used': 2} | Passed |
| regression roll consumption order #2 | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Passed |
| regression roll consumption order #3 | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Passed |
| regression roll consumption order #4 | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | {'broken': True, 'level': 9, 'protections': 0, 'used': 1} | Passed |
| protected downgrade #1 | {'broken': False, 'level': 5, 'protections': 0, 'used': 2} | {'broken': False, 'level': 5, 'protections': 0, 'used': 2} | Passed |
| boundary roll equals chance #1 | {'broken': False, 'level': 4, 'protections': 0, 'used': 1} | {'broken': False, 'level': 4, 'protections': 0, 'used': 1} | Passed |
| control #1 | {'broken': False, 'level': 7, 'protections': 2, 'used': 8} | {'broken': False, 'level': 7, 'protections': 2, 'used': 8} | Passed |
SHA-256 / 4b7fdc165fb8d2201a35a6cebd85c3420b4c803d15c5585e938bb7dcaaa5206a
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:46.046762+00:00.
Case digest / 4501dd8405fcbc34bdef4b796278099dd8b22e5e0cefa67b68885180d28fe927