{"abstract":"The tab workspace reports an incorrect document binding.","category":"Tab interfaces","checks":6,"contract":"Moving a tab removes its source view and inserts it exactly once in the target pane at a clamped slot, preserving document and view state.","evaluation_group":"s3-tabs-cross-pane-move","failed_approach":"The partial repair None still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-cross-pane-move-document-binding","id":"FA-35476","implementations":{"attempt":{"sha256":"dd1926c6a3503cef636b1ebeb94062e644e09f28242ab12460c1df73ae4d1d21","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['source'] if t!=x['moving']]\n    r1 = x['target'][:min(x['slot'],len(x['target']))]+[x['moving']]+x['target'][min(x['slot'],len(x['target'])):]\n    r2 = {'view':x['moving'],'document':x['doc'],'scroll':x['scroll']}\n    r3 = None\n    r4 = x['scroll']\n    r5 = x['moving']\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: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 28}, 'db', 28, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 2: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 56}, 'db', 56, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 3: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 84}, 'db', 84, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 4: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 112}, 'db', 112, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 5: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 140}, 'db', 140, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])]}\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":"9c614ee0c6a9c005e57eae9789d4f2f11213023219bfa5ed705b103a423f61a4","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['source'] if t!=x['moving']]\n    r1 = x['target'][:min(x['slot'],len(x['target']))]+[x['moving']]+x['target'][min(x['slot'],len(x['target'])):]\n    r2 = {'view':x['moving'],'document':x['doc'],'scroll':x['scroll']}\n    r3 = x['moving']\n    r4 = x['scroll']\n    r5 = x['moving']\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: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 28}, 'db', 28, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 2: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 56}, 'db', 56, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 3: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 84}, 'db', 84, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 4: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 112}, 'db', 112, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 5: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 140}, 'db', 140, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])]}\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":"51b2215e588db949913a824d320373a288a25365f426087bc3fe508bece55db4","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['source'] if t!=x['moving']]\n    r1 = x['target'][:min(x['slot'],len(x['target']))]+[x['moving']]+x['target'][min(x['slot'],len(x['target'])):]\n    r2 = {'view':x['moving'],'document':x['doc'],'scroll':x['scroll']}\n    r3 = x['doc']\n    r4 = x['scroll']\n    r5 = x['moving']\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: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 28}, 'db', 28, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 28}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 28}, 'db', 28, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 2: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 56}, 'db', 56, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 56}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 56}, 'db', 56, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 3: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 84}, 'db', 84, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 84}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 84}, 'db', 84, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 4: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 112}, 'db', 112, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 112}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 112}, 'db', 112, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])], 5: [({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 0, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['b', 'd', 'e'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 5, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['d', 'e', 'b'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'a', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['b', 'c'], ['d', 'a', 'e'], {'view': 'a', 'document': 'db', 'scroll': 140}, 'db', 140, 'a']), ({'source': ['a', 'b', 'c'], 'target': [], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 140}, [['a', 'c'], ['b'], {'view': 'b', 'document': 'db', 'scroll': 140}, 'db', 140, 'b']), ({'source': ['a', 'b', 'c'], 'target': ['d', 'e'], 'moving': 'b', 'slot': 1, 'doc': 'db', 'scroll': 0}, [['a', 'c'], ['d', 'b', 'e'], {'view': 'b', 'document': 'db', 'scroll': 0}, 'db', 0, 'b'])]}\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-cross-pane-move-document-binding","generated_at":"2026-09-29T14:42:41.985470+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['doc'].","root_cause":"The document binding decision uses x['moving'] instead of x['doc'].","sha256":"01f21a88e6cf506cba55b73a2e441abb8013f45cff4b009c12148ff769eff16c","title":"Cross pane move: document binding · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.925,"exit_code":1,"observations":[{"actual":[["a","c"],["d","b","e"],{"document":"db","scroll":28,"view":"b"},null,28,"b"],"check":"workspace regression 0","expected":[["a","c"],["d","b","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["a","c"],["b","d","e"],{"document":"db","scroll":28,"view":"b"},null,28,"b"],"check":"workspace regression 1","expected":[["a","c"],["b","d","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["a","c"],["d","e","b"],{"document":"db","scroll":28,"view":"b"},null,28,"b"],"check":"workspace regression 2","expected":[["a","c"],["d","e","b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["b","c"],["d","a","e"],{"document":"db","scroll":28,"view":"a"},null,28,"a"],"check":"workspace regression 3","expected":[["b","c"],["d","a","e"],{"document":"db","scroll":28,"view":"a"},"db",28,"a"],"passed":false},{"actual":[["a","c"],["b"],{"document":"db","scroll":28,"view":"b"},null,28,"b"],"check":"workspace regression 4","expected":[["a","c"],["b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["a","c"],["d","b","e"],{"document":"db","scroll":0,"view":"b"},null,0,"b"],"check":"workspace regression 5","expected":[["a","c"],["d","b","e"],{"document":"db","scroll":0,"view":"b"},"db",0,"b"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, null, 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [[\"a\", \"c\"], [\"b\", \"d\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, null, 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"b\", \"d\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [[\"a\", \"c\"], [\"d\", \"e\", \"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, null, 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"e\", \"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"b\", \"c\"], [\"d\", \"a\", \"e\"], {\"view\": \"a\", \"document\": \"db\", \"scroll\": 28}, null, 28, \"a\"], \"expected\": [[\"b\", \"c\"], [\"d\", \"a\", \"e\"], {\"view\": \"a\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"a\"], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\", \"c\"], [\"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, null, 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 0}, null, 0, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 0}, \"db\", 0, \"b\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":45.675,"exit_code":1,"observations":[{"actual":[["a","c"],["d","b","e"],{"document":"db","scroll":28,"view":"b"},"b",28,"b"],"check":"workspace regression 0","expected":[["a","c"],["d","b","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["a","c"],["b","d","e"],{"document":"db","scroll":28,"view":"b"},"b",28,"b"],"check":"workspace regression 1","expected":[["a","c"],["b","d","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["a","c"],["d","e","b"],{"document":"db","scroll":28,"view":"b"},"b",28,"b"],"check":"workspace regression 2","expected":[["a","c"],["d","e","b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["b","c"],["d","a","e"],{"document":"db","scroll":28,"view":"a"},"a",28,"a"],"check":"workspace regression 3","expected":[["b","c"],["d","a","e"],{"document":"db","scroll":28,"view":"a"},"db",28,"a"],"passed":false},{"actual":[["a","c"],["b"],{"document":"db","scroll":28,"view":"b"},"b",28,"b"],"check":"workspace regression 4","expected":[["a","c"],["b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":false},{"actual":[["a","c"],["d","b","e"],{"document":"db","scroll":0,"view":"b"},"b",0,"b"],"check":"workspace regression 5","expected":[["a","c"],["d","b","e"],{"document":"db","scroll":0,"view":"b"},"db",0,"b"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"b\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [[\"a\", \"c\"], [\"b\", \"d\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"b\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"b\", \"d\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [[\"a\", \"c\"], [\"d\", \"e\", \"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"b\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"e\", \"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"b\", \"c\"], [\"d\", \"a\", \"e\"], {\"view\": \"a\", \"document\": \"db\", \"scroll\": 28}, \"a\", 28, \"a\"], \"expected\": [[\"b\", \"c\"], [\"d\", \"a\", \"e\"], {\"view\": \"a\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"a\"], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\", \"c\"], [\"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"b\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": false}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 0}, \"b\", 0, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 0}, \"db\", 0, \"b\"], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":40.283,"exit_code":0,"observations":[{"actual":[["a","c"],["d","b","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"check":"workspace regression 0","expected":[["a","c"],["d","b","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":true},{"actual":[["a","c"],["b","d","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"check":"workspace regression 1","expected":[["a","c"],["b","d","e"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":true},{"actual":[["a","c"],["d","e","b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"check":"workspace regression 2","expected":[["a","c"],["d","e","b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":true},{"actual":[["b","c"],["d","a","e"],{"document":"db","scroll":28,"view":"a"},"db",28,"a"],"check":"workspace regression 3","expected":[["b","c"],["d","a","e"],{"document":"db","scroll":28,"view":"a"},"db",28,"a"],"passed":true},{"actual":[["a","c"],["b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"check":"workspace regression 4","expected":[["a","c"],["b"],{"document":"db","scroll":28,"view":"b"},"db",28,"b"],"passed":true},{"actual":[["a","c"],["d","b","e"],{"document":"db","scroll":0,"view":"b"},"db",0,"b"],"check":"workspace regression 5","expected":[["a","c"],["d","b","e"],{"document":"db","scroll":0,"view":"b"},"db",0,"b"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [[\"a\", \"c\"], [\"b\", \"d\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"b\", \"d\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [[\"a\", \"c\"], [\"d\", \"e\", \"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"e\", \"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": true}, {\"check\": \"workspace regression 3\", \"actual\": [[\"b\", \"c\"], [\"d\", \"a\", \"e\"], {\"view\": \"a\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"a\"], \"expected\": [[\"b\", \"c\"], [\"d\", \"a\", \"e\"], {\"view\": \"a\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\", \"c\"], [\"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"expected\": [[\"a\", \"c\"], [\"b\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 28}, \"db\", 28, \"b\"], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 0}, \"db\", 0, \"b\"], \"expected\": [[\"a\", \"c\"], [\"d\", \"b\", \"e\"], {\"view\": \"b\", \"document\": \"db\", \"scroll\": 0}, \"db\", 0, \"b\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}