{"abstract":"The tab workspace reports an incorrect failure source restoration.","category":"Tab interfaces","checks":6,"contract":"A tab tearoff retains the source until the destination acknowledges the exact transfer. Failure restores source placement; duplicate acknowledgements do not remove another tab.","evaluation_group":"s3-tabs-tearoff-commit-receipt","failed_approach":"The partial repair False still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-tearoff-commit-receipt-failure-source-restoration","id":"FA-36561","implementations":{"attempt":{"sha256":"9b6c0aa579a015eb8057d35624d81dfcf65ddffffc29e2e600409889a0a25c9f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = x['transfer']==x['ack']\n    r1 = x['status']=='accepted'\n    r2 = [t for t in x['source'] if t!=x['moving']] if x['status']=='accepted' and x['transfer']==x['ack'] and not x['already_committed'] else x['source']\n    r3 = x['already_committed']\n    r4 = False\n    r5 = x['status']=='pending' and not x['already_committed']\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 7, 'ack': 6, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 2: [({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 14, 'ack': 12, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 3: [({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 21, 'ack': 18, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 4: [({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 28, 'ack': 24, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 5: [({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 35, 'ack': 30, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), 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":"e475b9c18343266590682c72c51f49243bdea801c0fbccb3da0bef83337a3633","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = x['transfer']==x['ack']\n    r1 = x['status']=='accepted'\n    r2 = [t for t in x['source'] if t!=x['moving']] if x['status']=='accepted' and x['transfer']==x['ack'] and not x['already_committed'] else x['source']\n    r3 = x['already_committed']\n    r4 = x['status']!='accepted'\n    r5 = x['status']=='pending' and not x['already_committed']\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 7, 'ack': 6, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 2: [({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 14, 'ack': 12, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 3: [({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 21, 'ack': 18, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 4: [({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 28, 'ack': 24, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 5: [({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 35, 'ack': 30, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), 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":"6c70ddc0cfce416f1d17f3f1fc2dcbb13f45edd154200bbbb1eec7f3a2bd4b93","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = x['transfer']==x['ack']\n    r1 = x['status']=='accepted'\n    r2 = [t for t in x['source'] if t!=x['moving']] if x['status']=='accepted' and x['transfer']==x['ack'] and not x['already_committed'] else x['source']\n    r3 = x['already_committed']\n    r4 = x['status']=='failed' and not x['already_committed']\n    r5 = x['status']=='pending' and not x['already_committed']\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 7, 'ack': 6, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 7, 'ack': 7, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 2: [({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 14, 'ack': 12, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 14, 'ack': 14, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 3: [({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 21, 'ack': 18, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 21, 'ack': 21, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 4: [({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 28, 'ack': 24, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 28, 'ack': 28, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])], 5: [({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, True, ['a', 'c'], False, False, False]), ({'transfer': 35, 'ack': 30, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [False, True, ['a', 'b', 'c'], False, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'failed', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, True, False]), ({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': True}, [True, True, ['a', 'b', 'c'], True, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'accepted', 'source': ['a', 'b', 'c'], 'moving': 'a', 'destination': ['d'], 'already_committed': False}, [True, True, ['b', 'c'], False, False, False]), ({'transfer': 35, 'ack': 35, 'status': 'pending', 'source': ['a', 'b', 'c'], 'moving': 'b', 'destination': ['d'], 'already_committed': False}, [True, False, ['a', 'b', 'c'], False, False, True])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), 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":"Finite stipulated workspace snapshots only. Independent result fields describe observable obligations, not a full UI runtime. 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-tab-interfaces-tearoff-commit-receipt-failure-source-restoration","generated_at":"2026-09-29T14:42:52.517370+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline tab/panel workspace behavior; no browser or desktop framework is emulated.","repair":"Use the stipulated workspace rule: x['status']=='failed' and not x['already_committed'].","root_cause":"The failure source restoration decision uses x['status']!='accepted' instead of x['status']=='failed' and not x['already_committed'].","sha256":"b0316c56f39a65654bb62b73451572813c0582eee1a95fc8936bf3fbab881bf7","title":"Tearoff commit receipt: failure source restoration · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":44.338,"exit_code":1,"observations":[{"actual":[true,true,["a","c"],false,false,false],"check":"workspace regression 0","expected":[true,true,["a","c"],false,false,false],"passed":true},{"actual":[false,true,["a","b","c"],false,false,false],"check":"workspace regression 1","expected":[false,true,["a","b","c"],false,false,false],"passed":true},{"actual":[true,false,["a","b","c"],false,false,false],"check":"workspace regression 2","expected":[true,false,["a","b","c"],false,true,false],"passed":false},{"actual":[true,true,["a","b","c"],true,false,false],"check":"workspace regression 3","expected":[true,true,["a","b","c"],true,false,false],"passed":true},{"actual":[true,true,["b","c"],false,false,false],"check":"workspace regression 4","expected":[true,true,["b","c"],false,false,false],"passed":true},{"actual":[true,false,["a","b","c"],false,false,true],"check":"workspace regression 5","expected":[true,false,["a","b","c"],false,false,true],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [true, true, [\"a\", \"c\"], false, false, false], \"expected\": [true, true, [\"a\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [false, true, [\"a\", \"b\", \"c\"], false, false, false], \"expected\": [false, true, [\"a\", \"b\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [true, false, [\"a\", \"b\", \"c\"], false, false, false], \"expected\": [true, false, [\"a\", \"b\", \"c\"], false, true, false], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [true, true, [\"a\", \"b\", \"c\"], true, false, false], \"expected\": [true, true, [\"a\", \"b\", \"c\"], true, false, false], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [true, true, [\"b\", \"c\"], false, false, false], \"expected\": [true, true, [\"b\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [true, false, [\"a\", \"b\", \"c\"], false, false, true], \"expected\": [true, false, [\"a\", \"b\", \"c\"], false, false, true], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.71,"exit_code":1,"observations":[{"actual":[true,true,["a","c"],false,false,false],"check":"workspace regression 0","expected":[true,true,["a","c"],false,false,false],"passed":true},{"actual":[false,true,["a","b","c"],false,false,false],"check":"workspace regression 1","expected":[false,true,["a","b","c"],false,false,false],"passed":true},{"actual":[true,false,["a","b","c"],false,true,false],"check":"workspace regression 2","expected":[true,false,["a","b","c"],false,true,false],"passed":true},{"actual":[true,true,["a","b","c"],true,false,false],"check":"workspace regression 3","expected":[true,true,["a","b","c"],true,false,false],"passed":true},{"actual":[true,true,["b","c"],false,false,false],"check":"workspace regression 4","expected":[true,true,["b","c"],false,false,false],"passed":true},{"actual":[true,false,["a","b","c"],false,true,true],"check":"workspace regression 5","expected":[true,false,["a","b","c"],false,false,true],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [true, true, [\"a\", \"c\"], false, false, false], \"expected\": [true, true, [\"a\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [false, true, [\"a\", \"b\", \"c\"], false, false, false], \"expected\": [false, true, [\"a\", \"b\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [true, false, [\"a\", \"b\", \"c\"], false, true, false], \"expected\": [true, false, [\"a\", \"b\", \"c\"], false, true, false], \"passed\": true}, {\"check\": \"workspace regression 3\", \"actual\": [true, true, [\"a\", \"b\", \"c\"], true, false, false], \"expected\": [true, true, [\"a\", \"b\", \"c\"], true, false, false], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [true, true, [\"b\", \"c\"], false, false, false], \"expected\": [true, true, [\"b\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [true, false, [\"a\", \"b\", \"c\"], false, true, true], \"expected\": [true, false, [\"a\", \"b\", \"c\"], false, false, true], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.283,"exit_code":0,"observations":[{"actual":[true,true,["a","c"],false,false,false],"check":"workspace regression 0","expected":[true,true,["a","c"],false,false,false],"passed":true},{"actual":[false,true,["a","b","c"],false,false,false],"check":"workspace regression 1","expected":[false,true,["a","b","c"],false,false,false],"passed":true},{"actual":[true,false,["a","b","c"],false,true,false],"check":"workspace regression 2","expected":[true,false,["a","b","c"],false,true,false],"passed":true},{"actual":[true,true,["a","b","c"],true,false,false],"check":"workspace regression 3","expected":[true,true,["a","b","c"],true,false,false],"passed":true},{"actual":[true,true,["b","c"],false,false,false],"check":"workspace regression 4","expected":[true,true,["b","c"],false,false,false],"passed":true},{"actual":[true,false,["a","b","c"],false,false,true],"check":"workspace regression 5","expected":[true,false,["a","b","c"],false,false,true],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [true, true, [\"a\", \"c\"], false, false, false], \"expected\": [true, true, [\"a\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [false, true, [\"a\", \"b\", \"c\"], false, false, false], \"expected\": [false, true, [\"a\", \"b\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [true, false, [\"a\", \"b\", \"c\"], false, true, false], \"expected\": [true, false, [\"a\", \"b\", \"c\"], false, true, false], \"passed\": true}, {\"check\": \"workspace regression 3\", \"actual\": [true, true, [\"a\", \"b\", \"c\"], true, false, false], \"expected\": [true, true, [\"a\", \"b\", \"c\"], true, false, false], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [true, true, [\"b\", \"c\"], false, false, false], \"expected\": [true, true, [\"b\", \"c\"], false, false, false], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [true, false, [\"a\", \"b\", \"c\"], false, false, true], \"expected\": [true, false, [\"a\", \"b\", \"c\"], false, false, true], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}