{"abstract":"Adding items to an inventory with a legacy overfull stack destroys items.","category":"Game economy crafting balance","checks":8,"contract":"slots = list of None or [name, count]; names are case sensitive. First top up partial stacks (count < max_stack) of the same item in slot order, then fill empty slots in order with new stacks of at most max_stack. Reserved placeholders [name, 0] count as partial stacks. Legacy stacks above max_stack are left untouched. Returns {slots, leftover}.","contract_signature":"slots, item, qty, max_stack","evaluation_group":"w2-game-economy-crafting-balance-inventory-stacking","failed_approach":"Also excluding empty placeholders stops reserved zero-count stacks from being topped up.","family":"w2-game-economy-crafting-balance-inventory-stacking-partial-stack-test","id":"FA-86166","implementations":{"attempt":{"sha256":"3a66785e523c18cdaf3fcbb76916d4689218505846fd6f45d021c0f416492029","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(slots, item, qty, max_stack):\n    slots = [s if s is None else list(s) for s in slots]\n    left = qty\n    for s in slots:\n        if left == 0:\n            break\n        if s is not None and s[0] == item and s[1] < max_stack and s[1] > 0:\n            add = min(left, max_stack - s[1])\n            s[1] += add\n            left -= add\n    for i in range(len(slots)):\n        if left == 0:\n            break\n        if slots[i] is None:\n            add = min(left, max_stack)\n            slots[i] = [item, add]\n            left -= add\n    return {'slots': slots, 'leftover': left}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['Potion', 20], None, ['Arrow', 13], ['arrow', 20]], 'Potion', 20, 5],\n   {'slots': [['Potion', 20], ['Potion', 5], ['Arrow', 13], ['arrow', 20]], 'leftover': 15}),\n  ('fault site partial stack test #2',\n   [[['arrow', 0], ['arrow', 5], ['Potion', 18]], 'Potion', 45, 5],\n   {'slots': [['arrow', 0], ['arrow', 5], ['Potion', 18]], 'leftover': 45}),\n  ('partial repair boundary #1',\n   [[['Arrow', 0], ['Arrow', 1], ['arrow', 5], None, ['arrow', 19], ['Potion', 0]], 'Arrow', 39, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 20], ['arrow', 5], None, ['arrow', 19], ['Potion', 0]],\n    'leftover': 0}),\n  ('regression partial stack test #1',\n   [[None, None, ['Potion', 0], ['Potion', 18], ['Arrow', 19], ['arrow', 18]], 'Potion', 45, 5],\n   {'slots': [['Potion', 5], ['Potion', 5], ['Potion', 5], ['Potion', 18], ['Arrow', 19], ['arrow', 18]],\n    'leftover': 30}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[['Arrow', 6], None, ['arrow', 5]], 'Potion', 0, 20],\n   {'slots': [['Arrow', 6], None, ['arrow', 5]], 'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['arrow', 0], ['arrow', 5], ['Potion', 18]], 'Potion', 45, 5],\n   {'slots': [['arrow', 0], ['arrow', 5], ['Potion', 18]], 'leftover': 45}),\n  ('fault site partial stack test #2',\n   [[None, ['arrow', 1], ['Arrow', 19], ['arrow', 10], None], 'arrow', 20, 5],\n   {'slots': [['arrow', 5], ['arrow', 5], ['Arrow', 19], ['arrow', 10], ['arrow', 5]], 'leftover': 6}),\n  ('partial repair boundary #1',\n   [[None, ['Arrow', 0], ['Potion', 0]], 'Potion', 20, 10],\n   {'slots': [['Potion', 10], ['Arrow', 0], ['Potion', 10]], 'leftover': 0}),\n  ('partial repair boundary #2',\n   [[['arrow', 20], ['Arrow', 0], ['Potion', 19]], 'Arrow', 7, 10],\n   {'slots': [['arrow', 20], ['Arrow', 7], ['Potion', 19]], 'leftover': 0}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[['Arrow', 6], None, ['arrow', 5]], 'Potion', 0, 20],\n   {'slots': [['Arrow', 6], None, ['arrow', 5]], 'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['arrow', 20], None, ['Potion', 4], ['Arrow', 20], ['arrow', 19]], 'arrow', 45, 10],\n   {'slots': [['arrow', 20], ['arrow', 10], ['Potion', 4], ['Arrow', 20], ['arrow', 19]], 'leftover': 35}),\n  ('regression partial stack test #1',\n   [[None, None, ['Potion', 0], ['Potion', 18], ['Arrow', 19], ['arrow', 18]], 'Potion', 45, 5],\n   {'slots': [['Potion', 5], ['Potion', 5], ['Potion', 5], ['Potion', 18], ['Arrow', 19], ['arrow', 18]],\n    'leftover': 30}),\n  ('partial repair boundary #1',\n   [[['arrow', 20], ['Arrow', 16], ['arrow', 20], None, None, ['Potion', 0]], 'Potion', 1, 20],\n   {'slots': [['arrow', 20], ['Arrow', 16], ['arrow', 20], None, None, ['Potion', 1]], 'leftover': 0}),\n  ('partial repair boundary #2',\n   [[None, ['Potion', 1], ['Potion', 20], ['Potion', 19], ['Arrow', 0]], 'Arrow', 20, 5],\n   {'slots': [['Arrow', 5], ['Potion', 1], ['Potion', 20], ['Potion', 19], ['Arrow', 5]], 'leftover': 10}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[['Arrow', 6], None, ['arrow', 5]], 'Potion', 0, 20],\n   {'slots': [['Arrow', 6], None, ['arrow', 5]], 'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[None, ['Potion', 5], ['Potion', 0], None, ['arrow', 20], ['Arrow', 17]], 'Arrow', 7, 5],\n   {'slots': [['Arrow', 5], ['Potion', 5], ['Potion', 0], ['Arrow', 2], ['arrow', 20], ['Arrow', 17]],\n    'leftover': 0}),\n  ('fault site partial stack test #2',\n   [[['arrow', 1], ['Potion', 19]], 'Potion', 20, 10],\n   {'slots': [['arrow', 1], ['Potion', 19]], 'leftover': 20}),\n  ('partial repair boundary #1',\n   [[['Potion', 0], ['Arrow', 0], ['Arrow', 1]], 'Arrow', 45, 10],\n   {'slots': [['Potion', 0], ['Arrow', 10], ['Arrow', 10]], 'leftover': 26}),\n  ('partial repair boundary #2',\n   [[['Arrow', 5], None, ['Arrow', 20], ['arrow', 0], ['Potion', 0]], 'arrow', 7, 20],\n   {'slots': [['Arrow', 5], None, ['Arrow', 20], ['arrow', 7], ['Potion', 0]], 'leftover': 0}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[None, ['Arrow', 16], ['arrow', 20], None, ['Arrow', 25], None], 'Potion', 20, 10],\n   {'slots': [['Potion', 10], ['Arrow', 16], ['arrow', 20], ['Potion', 10], ['Arrow', 25], None],\n    'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['Arrow', 25], ['arrow', 19], None], 'Arrow', 1, 10],\n   {'slots': [['Arrow', 25], ['arrow', 19], ['Arrow', 1]], 'leftover': 0}),\n  ('fault site partial stack test #2',\n   [[['Arrow', 20], ['Arrow', 25], None, ['arrow', 19]], 'arrow', 1, 10],\n   {'slots': [['Arrow', 20], ['Arrow', 25], ['arrow', 1], ['arrow', 19]], 'leftover': 0}),\n  ('partial repair boundary #1',\n   [[None, None, ['arrow', 1], ['Potion', 0]], 'Potion', 45, 10],\n   {'slots': [['Potion', 10], ['Potion', 10], ['arrow', 1], ['Potion', 10]], 'leftover': 15}),\n  ('partial repair boundary #2',\n   [[None, None, ['arrow', 14], ['Arrow', 0], None, None], 'Arrow', 1, 5],\n   {'slots': [None, None, ['arrow', 14], ['Arrow', 1], None, None], 'leftover': 0}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1', [[['Potion', 0]], 'Arrow', 45, 5], {'slots': [['Potion', 0]], 'leftover': 45})]]\nfor label, args, expected in cases[N-1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"c9230757390f71b96e8d414a56f7d2c55ba3457238ed1051e7ac0e678bfcb2de","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(slots, item, qty, max_stack):\n    slots = [s if s is None else list(s) for s in slots]\n    left = qty\n    for s in slots:\n        if left == 0:\n            break\n        if s is not None and s[0] == item and s[1] != max_stack:\n            add = min(left, max_stack - s[1])\n            s[1] += add\n            left -= add\n    for i in range(len(slots)):\n        if left == 0:\n            break\n        if slots[i] is None:\n            add = min(left, max_stack)\n            slots[i] = [item, add]\n            left -= add\n    return {'slots': slots, 'leftover': left}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['Potion', 20], None, ['Arrow', 13], ['arrow', 20]], 'Potion', 20, 5],\n   {'slots': [['Potion', 20], ['Potion', 5], ['Arrow', 13], ['arrow', 20]], 'leftover': 15}),\n  ('fault site partial stack test #2',\n   [[['arrow', 0], ['arrow', 5], ['Potion', 18]], 'Potion', 45, 5],\n   {'slots': [['arrow', 0], ['arrow', 5], ['Potion', 18]], 'leftover': 45}),\n  ('partial repair boundary #1',\n   [[['Arrow', 0], ['Arrow', 1], ['arrow', 5], None, ['arrow', 19], ['Potion', 0]], 'Arrow', 39, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 20], ['arrow', 5], None, ['arrow', 19], ['Potion', 0]],\n    'leftover': 0}),\n  ('regression partial stack test #1',\n   [[None, None, ['Potion', 0], ['Potion', 18], ['Arrow', 19], ['arrow', 18]], 'Potion', 45, 5],\n   {'slots': [['Potion', 5], ['Potion', 5], ['Potion', 5], ['Potion', 18], ['Arrow', 19], ['arrow', 18]],\n    'leftover': 30}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[['Arrow', 6], None, ['arrow', 5]], 'Potion', 0, 20],\n   {'slots': [['Arrow', 6], None, ['arrow', 5]], 'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['arrow', 0], ['arrow', 5], ['Potion', 18]], 'Potion', 45, 5],\n   {'slots': [['arrow', 0], ['arrow', 5], ['Potion', 18]], 'leftover': 45}),\n  ('fault site partial stack test #2',\n   [[None, ['arrow', 1], ['Arrow', 19], ['arrow', 10], None], 'arrow', 20, 5],\n   {'slots': [['arrow', 5], ['arrow', 5], ['Arrow', 19], ['arrow', 10], ['arrow', 5]], 'leftover': 6}),\n  ('partial repair boundary #1',\n   [[None, ['Arrow', 0], ['Potion', 0]], 'Potion', 20, 10],\n   {'slots': [['Potion', 10], ['Arrow', 0], ['Potion', 10]], 'leftover': 0}),\n  ('partial repair boundary #2',\n   [[['arrow', 20], ['Arrow', 0], ['Potion', 19]], 'Arrow', 7, 10],\n   {'slots': [['arrow', 20], ['Arrow', 7], ['Potion', 19]], 'leftover': 0}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[['Arrow', 6], None, ['arrow', 5]], 'Potion', 0, 20],\n   {'slots': [['Arrow', 6], None, ['arrow', 5]], 'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['arrow', 20], None, ['Potion', 4], ['Arrow', 20], ['arrow', 19]], 'arrow', 45, 10],\n   {'slots': [['arrow', 20], ['arrow', 10], ['Potion', 4], ['Arrow', 20], ['arrow', 19]], 'leftover': 35}),\n  ('regression partial stack test #1',\n   [[None, None, ['Potion', 0], ['Potion', 18], ['Arrow', 19], ['arrow', 18]], 'Potion', 45, 5],\n   {'slots': [['Potion', 5], ['Potion', 5], ['Potion', 5], ['Potion', 18], ['Arrow', 19], ['arrow', 18]],\n    'leftover': 30}),\n  ('partial repair boundary #1',\n   [[['arrow', 20], ['Arrow', 16], ['arrow', 20], None, None, ['Potion', 0]], 'Potion', 1, 20],\n   {'slots': [['arrow', 20], ['Arrow', 16], ['arrow', 20], None, None, ['Potion', 1]], 'leftover': 0}),\n  ('partial repair boundary #2',\n   [[None, ['Potion', 1], ['Potion', 20], ['Potion', 19], ['Arrow', 0]], 'Arrow', 20, 5],\n   {'slots': [['Arrow', 5], ['Potion', 1], ['Potion', 20], ['Potion', 19], ['Arrow', 5]], 'leftover': 10}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[['Arrow', 6], None, ['arrow', 5]], 'Potion', 0, 20],\n   {'slots': [['Arrow', 6], None, ['arrow', 5]], 'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[None, ['Potion', 5], ['Potion', 0], None, ['arrow', 20], ['Arrow', 17]], 'Arrow', 7, 5],\n   {'slots': [['Arrow', 5], ['Potion', 5], ['Potion', 0], ['Arrow', 2], ['arrow', 20], ['Arrow', 17]],\n    'leftover': 0}),\n  ('fault site partial stack test #2',\n   [[['arrow', 1], ['Potion', 19]], 'Potion', 20, 10],\n   {'slots': [['arrow', 1], ['Potion', 19]], 'leftover': 20}),\n  ('partial repair boundary #1',\n   [[['Potion', 0], ['Arrow', 0], ['Arrow', 1]], 'Arrow', 45, 10],\n   {'slots': [['Potion', 0], ['Arrow', 10], ['Arrow', 10]], 'leftover': 26}),\n  ('partial repair boundary #2',\n   [[['Arrow', 5], None, ['Arrow', 20], ['arrow', 0], ['Potion', 0]], 'arrow', 7, 20],\n   {'slots': [['Arrow', 5], None, ['Arrow', 20], ['arrow', 7], ['Potion', 0]], 'leftover': 0}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1',\n   [[None, ['Arrow', 16], ['arrow', 20], None, ['Arrow', 25], None], 'Potion', 20, 10],\n   {'slots': [['Potion', 10], ['Arrow', 16], ['arrow', 20], ['Potion', 10], ['Arrow', 25], None],\n    'leftover': 0})],\n [('legacy overfull stack #1',\n   [[['Arrow', 25], None], 'Arrow', 3, 20],\n   {'slots': [['Arrow', 25], ['Arrow', 3]], 'leftover': 0}),\n  ('fault site partial stack test #1',\n   [[['Arrow', 25], ['arrow', 19], None], 'Arrow', 1, 10],\n   {'slots': [['Arrow', 25], ['arrow', 19], ['Arrow', 1]], 'leftover': 0}),\n  ('fault site partial stack test #2',\n   [[['Arrow', 20], ['Arrow', 25], None, ['arrow', 19]], 'arrow', 1, 10],\n   {'slots': [['Arrow', 20], ['Arrow', 25], ['arrow', 1], ['arrow', 19]], 'leftover': 0}),\n  ('partial repair boundary #1',\n   [[None, None, ['arrow', 1], ['Potion', 0]], 'Potion', 45, 10],\n   {'slots': [['Potion', 10], ['Potion', 10], ['arrow', 1], ['Potion', 10]], 'leftover': 15}),\n  ('partial repair boundary #2',\n   [[None, None, ['arrow', 14], ['Arrow', 0], None, None], 'Arrow', 1, 5],\n   {'slots': [None, None, ['arrow', 14], ['Arrow', 1], None, None], 'leftover': 0}),\n  ('two partial stacks #1',\n   [[['Arrow', 18], ['Arrow', 15], None], 'Arrow', 4, 20],\n   {'slots': [['Arrow', 20], ['Arrow', 17], None], 'leftover': 0}),\n  ('case distinct item #1', [[['arrow', 3]], 'Arrow', 2, 20], {'slots': [['arrow', 3]], 'leftover': 2}),\n  ('control #1', [[['Potion', 0]], 'Arrow', 45, 5], {'slots': [['Potion', 0]], 'leftover': 45})]]\nfor label, args, expected in cases[N-1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"w2-game-economy-crafting-balance-inventory-stacking-partial-stack-test","generated_at":"2026-09-29T14:50:46.989130+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"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.","root_cause":"The top-up test only excludes exactly full stacks, so overfull stacks receive negative additions.","sha256":"cd657591e870ac946715a57830ad68343c39e77b70899f0d3d7c595808cbfda9","title":"Inventory stack insertion: Overfull legacy stacks are drained · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":42.93,"exit_code":1,"observations":[{"actual":{"leftover":0,"slots":[["Arrow",25],["Arrow",3]]},"check":"legacy overfull stack #1","expected":{"leftover":0,"slots":[["Arrow",25],["Arrow",3]]},"passed":true},{"actual":{"leftover":15,"slots":[["Potion",20],["Potion",5],["Arrow",13],["arrow",20]]},"check":"fault site partial stack test #1","expected":{"leftover":15,"slots":[["Potion",20],["Potion",5],["Arrow",13],["arrow",20]]},"passed":true},{"actual":{"leftover":45,"slots":[["arrow",0],["arrow",5],["Potion",18]]},"check":"fault site partial stack test #2","expected":{"leftover":45,"slots":[["arrow",0],["arrow",5],["Potion",18]]},"passed":true},{"actual":{"leftover":0,"slots":[["Arrow",0],["Arrow",20],["arrow",5],["Arrow",20],["arrow",19],["Potion",0]]},"check":"partial repair boundary #1","expected":{"leftover":0,"slots":[["Arrow",20],["Arrow",20],["arrow",5],null,["arrow",19],["Potion",0]]},"passed":false},{"actual":{"leftover":35,"slots":[["Potion",5],["Potion",5],["Potion",0],["Potion",18],["Arrow",19],["arrow",18]]},"check":"regression partial stack test #1","expected":{"leftover":30,"slots":[["Potion",5],["Potion",5],["Potion",5],["Potion",18],["Arrow",19],["arrow",18]]},"passed":false},{"actual":{"leftover":0,"slots":[["Arrow",20],["Arrow",17],null]},"check":"two partial stacks #1","expected":{"leftover":0,"slots":[["Arrow",20],["Arrow",17],null]},"passed":true},{"actual":{"leftover":2,"slots":[["arrow",3]]},"check":"case distinct item #1","expected":{"leftover":2,"slots":[["arrow",3]]},"passed":true},{"actual":{"leftover":0,"slots":[["Arrow",6],null,["arrow",5]]},"check":"control #1","expected":{"leftover":0,"slots":[["Arrow",6],null,["arrow",5]]},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"legacy overfull stack #1\", \"actual\": {\"slots\": [[\"Arrow\", 25], [\"Arrow\", 3]], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 25], [\"Arrow\", 3]], \"leftover\": 0}, \"passed\": true}, {\"check\": \"fault site partial stack test #1\", \"actual\": {\"slots\": [[\"Potion\", 20], [\"Potion\", 5], [\"Arrow\", 13], [\"arrow\", 20]], \"leftover\": 15}, \"expected\": {\"slots\": [[\"Potion\", 20], [\"Potion\", 5], [\"Arrow\", 13], [\"arrow\", 20]], \"leftover\": 15}, \"passed\": true}, {\"check\": \"fault site partial stack test #2\", \"actual\": {\"slots\": [[\"arrow\", 0], [\"arrow\", 5], [\"Potion\", 18]], \"leftover\": 45}, \"expected\": {\"slots\": [[\"arrow\", 0], [\"arrow\", 5], [\"Potion\", 18]], \"leftover\": 45}, \"passed\": true}, {\"check\": \"partial repair boundary #1\", \"actual\": {\"slots\": [[\"Arrow\", 0], [\"Arrow\", 20], [\"arrow\", 5], [\"Arrow\", 20], [\"arrow\", 19], [\"Potion\", 0]], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 20], [\"arrow\", 5], null, [\"arrow\", 19], [\"Potion\", 0]], \"leftover\": 0}, \"passed\": false}, {\"check\": \"regression partial stack test #1\", \"actual\": {\"slots\": [[\"Potion\", 5], [\"Potion\", 5], [\"Potion\", 0], [\"Potion\", 18], [\"Arrow\", 19], [\"arrow\", 18]], \"leftover\": 35}, \"expected\": {\"slots\": [[\"Potion\", 5], [\"Potion\", 5], [\"Potion\", 5], [\"Potion\", 18], [\"Arrow\", 19], [\"arrow\", 18]], \"leftover\": 30}, \"passed\": false}, {\"check\": \"two partial stacks #1\", \"actual\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 17], null], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 17], null], \"leftover\": 0}, \"passed\": true}, {\"check\": \"case distinct item #1\", \"actual\": {\"slots\": [[\"arrow\", 3]], \"leftover\": 2}, \"expected\": {\"slots\": [[\"arrow\", 3]], \"leftover\": 2}, \"passed\": true}, {\"check\": \"control #1\", \"actual\": {\"slots\": [[\"Arrow\", 6], null, [\"arrow\", 5]], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 6], null, [\"arrow\", 5]], \"leftover\": 0}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.717,"exit_code":1,"observations":[{"actual":{"leftover":0,"slots":[["Arrow",20],["Arrow",8]]},"check":"legacy overfull stack #1","expected":{"leftover":0,"slots":[["Arrow",25],["Arrow",3]]},"passed":false},{"actual":{"leftover":30,"slots":[["Potion",5],["Potion",5],["Arrow",13],["arrow",20]]},"check":"fault site partial stack test #1","expected":{"leftover":15,"slots":[["Potion",20],["Potion",5],["Arrow",13],["arrow",20]]},"passed":false},{"actual":{"leftover":58,"slots":[["arrow",0],["arrow",5],["Potion",5]]},"check":"fault site partial stack test #2","expected":{"leftover":45,"slots":[["arrow",0],["arrow",5],["Potion",18]]},"passed":false},{"actual":{"leftover":0,"slots":[["Arrow",20],["Arrow",20],["arrow",5],null,["arrow",19],["Potion",0]]},"check":"partial repair boundary #1","expected":{"leftover":0,"slots":[["Arrow",20],["Arrow",20],["arrow",5],null,["arrow",19],["Potion",0]]},"passed":true},{"actual":{"leftover":43,"slots":[["Potion",5],["Potion",5],["Potion",5],["Potion",5],["Arrow",19],["arrow",18]]},"check":"regression partial stack test #1","expected":{"leftover":30,"slots":[["Potion",5],["Potion",5],["Potion",5],["Potion",18],["Arrow",19],["arrow",18]]},"passed":false},{"actual":{"leftover":0,"slots":[["Arrow",20],["Arrow",17],null]},"check":"two partial stacks #1","expected":{"leftover":0,"slots":[["Arrow",20],["Arrow",17],null]},"passed":true},{"actual":{"leftover":2,"slots":[["arrow",3]]},"check":"case distinct item #1","expected":{"leftover":2,"slots":[["arrow",3]]},"passed":true},{"actual":{"leftover":0,"slots":[["Arrow",6],null,["arrow",5]]},"check":"control #1","expected":{"leftover":0,"slots":[["Arrow",6],null,["arrow",5]]},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"legacy overfull stack #1\", \"actual\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 8]], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 25], [\"Arrow\", 3]], \"leftover\": 0}, \"passed\": false}, {\"check\": \"fault site partial stack test #1\", \"actual\": {\"slots\": [[\"Potion\", 5], [\"Potion\", 5], [\"Arrow\", 13], [\"arrow\", 20]], \"leftover\": 30}, \"expected\": {\"slots\": [[\"Potion\", 20], [\"Potion\", 5], [\"Arrow\", 13], [\"arrow\", 20]], \"leftover\": 15}, \"passed\": false}, {\"check\": \"fault site partial stack test #2\", \"actual\": {\"slots\": [[\"arrow\", 0], [\"arrow\", 5], [\"Potion\", 5]], \"leftover\": 58}, \"expected\": {\"slots\": [[\"arrow\", 0], [\"arrow\", 5], [\"Potion\", 18]], \"leftover\": 45}, \"passed\": false}, {\"check\": \"partial repair boundary #1\", \"actual\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 20], [\"arrow\", 5], null, [\"arrow\", 19], [\"Potion\", 0]], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 20], [\"arrow\", 5], null, [\"arrow\", 19], [\"Potion\", 0]], \"leftover\": 0}, \"passed\": true}, {\"check\": \"regression partial stack test #1\", \"actual\": {\"slots\": [[\"Potion\", 5], [\"Potion\", 5], [\"Potion\", 5], [\"Potion\", 5], [\"Arrow\", 19], [\"arrow\", 18]], \"leftover\": 43}, \"expected\": {\"slots\": [[\"Potion\", 5], [\"Potion\", 5], [\"Potion\", 5], [\"Potion\", 18], [\"Arrow\", 19], [\"arrow\", 18]], \"leftover\": 30}, \"passed\": false}, {\"check\": \"two partial stacks #1\", \"actual\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 17], null], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 20], [\"Arrow\", 17], null], \"leftover\": 0}, \"passed\": true}, {\"check\": \"case distinct item #1\", \"actual\": {\"slots\": [[\"arrow\", 3]], \"leftover\": 2}, \"expected\": {\"slots\": [[\"arrow\", 3]], \"leftover\": 2}, \"passed\": true}, {\"check\": \"control #1\", \"actual\": {\"slots\": [[\"Arrow\", 6], null, [\"arrow\", 5]], \"leftover\": 0}, \"expected\": {\"slots\": [[\"Arrow\", 6], null, [\"arrow\", 5]], \"leftover\": 0}, \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}