{"abstract":"Cancellation clears a preexisting terminal state; the returned lifecycle plan violates the stated transition contract.","category":"Listener lifecycle","checks":9,"contract":"Plan linking a subscription to a cancellation signal. Already-aborted signals reject attachment, immediately dispose existing work, and deliver the reason exactly once. A fresh signal attaches one hook only while the subscription is active. Preserve independent signal and subscription ownership; no callback invocation is modeled. Inputs are finite state snapshots, including transitional and stale states; output fields are the exact independent actions/metadata defined by the corrected expression table. Numeric fixture capacities and counts vary with N.\nField definitions, each independently computed from the input snapshot: attach = s['active'] and not s['aborted'] and not s['hook']; dispose = s['aborted'] and not s['disposed']; detach = s['hook'] and (s['aborted'] or not s['active']); reason = s['reason'] if s['aborted'] else None; clear_pending = 0 if s['aborted'] else s['pending']; release = s['owns'] and not s['borrowed'] and s['aborted']; notify = s['aborted'] and not s['notified']; accept = s['active'] and not s['disposed'] and not s['aborted']; refcount = max(0,s['refs']-int(s['hook'] and s['aborted'])); terminal = s['disposed'] or s['aborted']","evaluation_group":"s3-listener-abort-link","failed_approach":"The partial repair uses s['disposed'] and s['aborted']; a retained regression distinguishes it from the full transition.","family":"s3-listener-abort-link-terminal","id":"FA-41386","implementations":{"attempt":{"sha256":"9a22cd92fa0cd87fe61991918d2155140b701732c57618923a010af74fe514fa","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(s):\n    return {\n        'attach': s['active'] and not s['aborted'] and not s['hook'],\n        'dispose': s['aborted'] and not s['disposed'],\n        'detach': s['hook'] and (s['aborted'] or not s['active']),\n        'reason': s['reason'] if s['aborted'] else None,\n        'clear_pending': 0 if s['aborted'] else s['pending'],\n        'release': s['owns'] and not s['borrowed'] and s['aborted'],\n        'notify': s['aborted'] and not s['notified'],\n        'accept': s['active'] and not s['disposed'] and not s['aborted'],\n        'refcount': max(0,s['refs']-int(s['hook'] and s['aborted'])),\n        'terminal': s['disposed'] and s['aborted'],\n    }\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 2, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 2, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 1, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 2, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 2, 'release': False, 'notify': False, 'accept': False, 'refcount': 2, 'terminal': True}), ({'aborted': True, 'active': False, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': False, 'reason': None, 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': True, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': True, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 2, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 2, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 2, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 1, 'terminal': True})], 2: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 4, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': None, 'owns': False, 'pending': 4, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 4, 'notified': False, 'borrowed': True}, {'attach': True, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 4, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 4, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': True, 'notify': False, 'accept': False, 'refcount': 4, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 4, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 4, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 4, 'refs': 4, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 3, 'terminal': True})], 3: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 6, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 6, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 6, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 6, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 6, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 5, 'terminal': True})], 4: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 8, 'notified': True, 'borrowed': True}, {'attach': True, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 8, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': None, 'owns': False, 'pending': 8, 'refs': 0, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': True, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 8, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': None, 'owns': True, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 8, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 8, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 8, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 7, 'terminal': True})], 5: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 10, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 10, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 10, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 10, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 9, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 10, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 10, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 10, 'refs': 10, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 9, 'terminal': True})]}\nfor i,(state,expected) in enumerate(fixtures[N]):\n    check(\"transition \"+str(i), solve(state), 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":"251908e467bbf1dd120e43a047d821407c991da2d27622d13bb828026791713f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(s):\n    return {\n        'attach': s['active'] and not s['aborted'] and not s['hook'],\n        'dispose': s['aborted'] and not s['disposed'],\n        'detach': s['hook'] and (s['aborted'] or not s['active']),\n        'reason': s['reason'] if s['aborted'] else None,\n        'clear_pending': 0 if s['aborted'] else s['pending'],\n        'release': s['owns'] and not s['borrowed'] and s['aborted'],\n        'notify': s['aborted'] and not s['notified'],\n        'accept': s['active'] and not s['disposed'] and not s['aborted'],\n        'refcount': max(0,s['refs']-int(s['hook'] and s['aborted'])),\n        'terminal': s['aborted'],\n    }\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 2, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 2, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 1, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 2, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 2, 'release': False, 'notify': False, 'accept': False, 'refcount': 2, 'terminal': True}), ({'aborted': True, 'active': False, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': False, 'reason': None, 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': True, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': True, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 2, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 2, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 2, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 1, 'terminal': True})], 2: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 4, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': None, 'owns': False, 'pending': 4, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 4, 'notified': False, 'borrowed': True}, {'attach': True, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 4, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 4, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': True, 'notify': False, 'accept': False, 'refcount': 4, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 4, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 4, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 4, 'refs': 4, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 3, 'terminal': True})], 3: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 6, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 6, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 6, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 6, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 6, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 5, 'terminal': True})], 4: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 8, 'notified': True, 'borrowed': True}, {'attach': True, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 8, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': None, 'owns': False, 'pending': 8, 'refs': 0, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': True, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 8, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': None, 'owns': True, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 8, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 8, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 8, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 7, 'terminal': True})], 5: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 10, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 10, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 10, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 10, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 9, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 10, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 10, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 10, 'refs': 10, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 9, 'terminal': True})]}\nfor i,(state,expected) in enumerate(fixtures[N]):\n    check(\"transition \"+str(i), solve(state), 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"},"fixed":{"sha256":"0fe56b01b12d0fdac4ef9f8107dd093d9cd600818d41d24ecb39ffad3623301f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(s):\n    return {\n        'attach': s['active'] and not s['aborted'] and not s['hook'],\n        'dispose': s['aborted'] and not s['disposed'],\n        'detach': s['hook'] and (s['aborted'] or not s['active']),\n        'reason': s['reason'] if s['aborted'] else None,\n        'clear_pending': 0 if s['aborted'] else s['pending'],\n        'release': s['owns'] and not s['borrowed'] and s['aborted'],\n        'notify': s['aborted'] and not s['notified'],\n        'accept': s['active'] and not s['disposed'] and not s['aborted'],\n        'refcount': max(0,s['refs']-int(s['hook'] and s['aborted'])),\n        'terminal': s['disposed'] or s['aborted'],\n    }\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 2, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 2, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 1, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 2, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 2, 'release': False, 'notify': False, 'accept': False, 'refcount': 2, 'terminal': True}), ({'aborted': True, 'active': False, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': False, 'reason': None, 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': True, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': True, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 2, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 2, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 2, 'refs': 2, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 1, 'terminal': True})], 2: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 4, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': None, 'owns': False, 'pending': 4, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 4, 'notified': False, 'borrowed': True}, {'attach': True, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 4, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 4, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': True, 'notify': False, 'accept': False, 'refcount': 4, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 4, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 4, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 4, 'refs': 4, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 3, 'terminal': True})], 3: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 6, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 6, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 6, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 6, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 6, 'refs': 6, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 5, 'terminal': True})], 4: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 8, 'notified': True, 'borrowed': True}, {'attach': True, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 8, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': None, 'owns': False, 'pending': 8, 'refs': 0, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': True, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 8, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': None, 'owns': True, 'pending': 0, 'refs': 0, 'notified': True, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 8, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 8, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 8, 'refs': 8, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 7, 'terminal': True})], 5: [({'aborted': True, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 10, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': False, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': False, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 10, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': False, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 10, 'terminal': True}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': False, 'pending': 0, 'refs': 10, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': True, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': True, 'accept': False, 'refcount': 9, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': True, 'reason': None, 'owns': True, 'pending': 0, 'refs': 10, 'notified': False, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 10, 'terminal': True}), ({'aborted': False, 'active': False, 'hook': True, 'disposed': False, 'reason': 'cancel', 'owns': True, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': True, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': False, 'active': False, 'hook': False, 'disposed': False, 'reason': None, 'owns': False, 'pending': 0, 'refs': 0, 'notified': False, 'borrowed': False}, {'attach': False, 'dispose': False, 'detach': False, 'reason': None, 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 0, 'terminal': False}), ({'aborted': True, 'active': True, 'hook': True, 'disposed': True, 'reason': 'cancel', 'owns': True, 'pending': 10, 'refs': 10, 'notified': True, 'borrowed': True}, {'attach': False, 'dispose': False, 'detach': True, 'reason': 'cancel', 'clear_pending': 0, 'release': False, 'notify': False, 'accept': False, 'refcount': 9, 'terminal': True})]}\nfor i,(state,expected) in enumerate(fixtures[N]):\n    check(\"transition \"+str(i), solve(state), 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":"A deterministic, bounded, single-threaded transition planner. Returned plans model state changes; they do not implement a production event framework. 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":"s3-listener-abort-link-terminal","generated_at":"2026-09-29T14:43:40.507004+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Observer implementations need to preserve this state while subscriptions enter, execute, and leave their lifecycle.","repair":"Compute the terminal decision from the complete contract: s['disposed'] or s['aborted'].","root_cause":"The terminal decision in the abort-link listener model is computed as s['aborted'], losing a required lifecycle condition.","sha256":"a66819656b6e40823e6cf6bda7664e776e3f58dc30bf3beb49538c75ccc0ee9a","title":"Cancellation clears a preexisting terminal state · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":52.18,"exit_code":1,"observations":[{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":true,"notify":false,"reason":"cancel","refcount":0,"release":false,"terminal":false},"check":"transition 0","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":true,"notify":false,"reason":"cancel","refcount":0,"release":false,"terminal":true},"passed":false},{"actual":{"accept":false,"attach":false,"clear_pending":2,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"check":"transition 1","expected":{"accept":false,"attach":false,"clear_pending":2,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":true},"passed":false},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":null,"refcount":1,"release":false,"terminal":true},"check":"transition 2","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":null,"refcount":1,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":2,"detach":true,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"check":"transition 3","expected":{"accept":false,"attach":false,"clear_pending":2,"detach":true,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":true},"passed":false},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":"cancel","refcount":0,"release":false,"terminal":true},"check":"transition 4","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":"cancel","refcount":0,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":true,"notify":true,"reason":null,"refcount":0,"release":true,"terminal":false},"check":"transition 5","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":true,"notify":true,"reason":null,"refcount":0,"release":true,"terminal":true},"passed":false},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"check":"transition 6","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"check":"transition 7","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":false,"reason":"cancel","refcount":1,"release":false,"terminal":true},"check":"transition 8","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":false,"reason":"cancel","refcount":1,"release":false,"terminal":true},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"transition 0\", \"actual\": {\"attach\": false, \"dispose\": true, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": true, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": false}, {\"check\": \"transition 1\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": false}, {\"check\": \"transition 2\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 3\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": true}, \"passed\": false}, {\"check\": \"transition 4\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 5\", \"actual\": {\"attach\": false, \"dispose\": true, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": true, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": true, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": true, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": false}, {\"check\": \"transition 6\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"passed\": true}, {\"check\": \"transition 7\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"passed\": true}, {\"check\": \"transition 8\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":48.846,"exit_code":1,"observations":[{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":true,"notify":false,"reason":"cancel","refcount":0,"release":false,"terminal":true},"check":"transition 0","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":true,"notify":false,"reason":"cancel","refcount":0,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":2,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"check":"transition 1","expected":{"accept":false,"attach":false,"clear_pending":2,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":true},"passed":false},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":null,"refcount":1,"release":false,"terminal":true},"check":"transition 2","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":null,"refcount":1,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":2,"detach":true,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"check":"transition 3","expected":{"accept":false,"attach":false,"clear_pending":2,"detach":true,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":true},"passed":false},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":"cancel","refcount":0,"release":false,"terminal":true},"check":"transition 4","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":"cancel","refcount":0,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":true,"notify":true,"reason":null,"refcount":0,"release":true,"terminal":true},"check":"transition 5","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":true,"notify":true,"reason":null,"refcount":0,"release":true,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"check":"transition 6","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"check":"transition 7","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":false,"reason":"cancel","refcount":1,"release":false,"terminal":true},"check":"transition 8","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":false,"reason":"cancel","refcount":1,"release":false,"terminal":true},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"transition 0\", \"actual\": {\"attach\": false, \"dispose\": true, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": true, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 1\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": false}, {\"check\": \"transition 2\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 3\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": true}, \"passed\": false}, {\"check\": \"transition 4\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 5\", \"actual\": {\"attach\": false, \"dispose\": true, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": true, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": true, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": true, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 6\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"passed\": true}, {\"check\": \"transition 7\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"passed\": true}, {\"check\": \"transition 8\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":48.817,"exit_code":0,"observations":[{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":true,"notify":false,"reason":"cancel","refcount":0,"release":false,"terminal":true},"check":"transition 0","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":true,"notify":false,"reason":"cancel","refcount":0,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":2,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":true},"check":"transition 1","expected":{"accept":false,"attach":false,"clear_pending":2,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":null,"refcount":1,"release":false,"terminal":true},"check":"transition 2","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":null,"refcount":1,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":2,"detach":true,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":true},"check":"transition 3","expected":{"accept":false,"attach":false,"clear_pending":2,"detach":true,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":"cancel","refcount":0,"release":false,"terminal":true},"check":"transition 4","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":true,"reason":"cancel","refcount":0,"release":false,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":true,"notify":true,"reason":null,"refcount":0,"release":true,"terminal":true},"check":"transition 5","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":true,"notify":true,"reason":null,"refcount":0,"release":true,"terminal":true},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"check":"transition 6","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":2,"release":false,"terminal":false},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"check":"transition 7","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":false,"dispose":false,"notify":false,"reason":null,"refcount":0,"release":false,"terminal":false},"passed":true},{"actual":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":false,"reason":"cancel","refcount":1,"release":false,"terminal":true},"check":"transition 8","expected":{"accept":false,"attach":false,"clear_pending":0,"detach":true,"dispose":false,"notify":false,"reason":"cancel","refcount":1,"release":false,"terminal":true},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"transition 0\", \"actual\": {\"attach\": false, \"dispose\": true, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": true, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 1\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 2\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 3\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": null, \"clear_pending\": 2, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 4\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 5\", \"actual\": {\"attach\": false, \"dispose\": true, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": true, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": true, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": true, \"notify\": true, \"accept\": false, \"refcount\": 0, \"terminal\": true}, \"passed\": true}, {\"check\": \"transition 6\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 2, \"terminal\": false}, \"passed\": true}, {\"check\": \"transition 7\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": false, \"reason\": null, \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 0, \"terminal\": false}, \"passed\": true}, {\"check\": \"transition 8\", \"actual\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"expected\": {\"attach\": false, \"dispose\": false, \"detach\": true, \"reason\": \"cancel\", \"clear_pending\": 0, \"release\": false, \"notify\": false, \"accept\": false, \"refcount\": 1, \"terminal\": true}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}