{"abstract":"The tab workspace reports an incorrect same gap noop.","category":"Tab interfaces","checks":6,"contract":"A strip drag uses pre-removal boundary indices: remove the dragged view, decrement later boundaries, clamp and insert while retaining active identity.","evaluation_group":"s3-tabs-reorder-drop","failed_approach":"The partial repair x['boundary']==x['index'] still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-reorder-drop-same-gap-noop","id":"FA-35566","implementations":{"attempt":{"sha256":"85970c66ba716333d817a5ae3574c1a137245527a14af66c94d54a84bae25ffc","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = x['tabs'][x['index']]\n    r1 = x['tabs'][:x['index']]+x['tabs'][x['index']+1:]\n    r2 = x['boundary']-(x['boundary']>x['index'])\n    r3 = x['boundary']==x['index']\n    r4 = abs(x['boundary']-(x['boundary']>x['index'])-x['index'])\n    r5 = x['active']\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: [({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd'], 3, False, 2, 'b'])], 2: [({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0'], 3, False, 2, 'b'])], 3: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 3, False, 2, 'b'])], 4: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1', 'background2'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1', 'background2'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 3, False, 2, 'b'])], 5: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 3, False, 2, '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":"7764acfe6a15774c66805ce21615a12ad1992365cfdcfeb798731c6ab33345fd","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = x['tabs'][x['index']]\n    r1 = x['tabs'][:x['index']]+x['tabs'][x['index']+1:]\n    r2 = x['boundary']-(x['boundary']>x['index'])\n    r3 = False\n    r4 = abs(x['boundary']-(x['boundary']>x['index'])-x['index'])\n    r5 = x['active']\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: [({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd'], 3, False, 2, 'b'])], 2: [({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0'], 3, False, 2, 'b'])], 3: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 3, False, 2, 'b'])], 4: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1', 'background2'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1', 'background2'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 3, False, 2, 'b'])], 5: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 3, False, 2, '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":"81dde98bc703caa1fe7b9ec79a1c2afa8cb607368520ab450691eca9c245e565","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = x['tabs'][x['index']]\n    r1 = x['tabs'][:x['index']]+x['tabs'][x['index']+1:]\n    r2 = x['boundary']-(x['boundary']>x['index'])\n    r3 = x['boundary'] in (x['index'],x['index']+1)\n    r4 = abs(x['boundary']-(x['boundary']>x['index'])-x['index'])\n    r5 = x['active']\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: [({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd'], 3, False, 2, 'b'])], 2: [({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0'], 3, False, 2, 'b'])], 3: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1'], 3, False, 2, 'b'])], 4: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1', 'background2'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1', 'background2'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2'], 3, False, 2, 'b'])], 5: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 4, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 3, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 0, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 0, False, 1, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 2, 'active': 'c'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 1, True, 0, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 0, 'boundary': 3, 'active': 'c'}, ['a', ['b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 2, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 3, 'boundary': 1, 'active': 'c'}, ['d', ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 1, False, 2, 'c']), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'index': 1, 'boundary': 4, 'active': 'b'}, ['b', ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 3, False, 2, '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-reorder-drop-same-gap-noop","generated_at":"2026-09-29T14:42:42.874714+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['boundary'] in (x['index'],x['index']+1).","root_cause":"The same gap noop decision uses False instead of x['boundary'] in (x['index'],x['index']+1).","sha256":"100b0ddbb70da3d073d78d8454c85ce327d7a744aa03d46ea53f9c484215b718","title":"Reorder drop: same gap noop · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":45.735,"exit_code":1,"observations":[{"actual":["b",["a","c","d"],3,false,2,"c"],"check":"workspace regression 0","expected":["b",["a","c","d"],3,false,2,"c"],"passed":true},{"actual":["b",["a","c","d"],0,false,1,"c"],"check":"workspace regression 1","expected":["b",["a","c","d"],0,false,1,"c"],"passed":true},{"actual":["b",["a","c","d"],1,false,0,"c"],"check":"workspace regression 2","expected":["b",["a","c","d"],1,true,0,"c"],"passed":false},{"actual":["a",["b","c","d"],2,false,2,"c"],"check":"workspace regression 3","expected":["a",["b","c","d"],2,false,2,"c"],"passed":true},{"actual":["d",["a","b","c"],1,false,2,"c"],"check":"workspace regression 4","expected":["d",["a","b","c"],1,false,2,"c"],"passed":true},{"actual":["b",["a","c","d"],3,false,2,"b"],"check":"workspace regression 5","expected":["b",["a","c","d"],3,false,2,"b"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 0, false, 1, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 0, false, 1, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 1, false, 0, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 1, true, 0, \"c\"], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [\"a\", [\"b\", \"c\", \"d\"], 2, false, 2, \"c\"], \"expected\": [\"a\", [\"b\", \"c\", \"d\"], 2, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [\"d\", [\"a\", \"b\", \"c\"], 1, false, 2, \"c\"], \"expected\": [\"d\", [\"a\", \"b\", \"c\"], 1, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"b\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"b\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.279,"exit_code":1,"observations":[{"actual":["b",["a","c","d"],3,false,2,"c"],"check":"workspace regression 0","expected":["b",["a","c","d"],3,false,2,"c"],"passed":true},{"actual":["b",["a","c","d"],0,false,1,"c"],"check":"workspace regression 1","expected":["b",["a","c","d"],0,false,1,"c"],"passed":true},{"actual":["b",["a","c","d"],1,false,0,"c"],"check":"workspace regression 2","expected":["b",["a","c","d"],1,true,0,"c"],"passed":false},{"actual":["a",["b","c","d"],2,false,2,"c"],"check":"workspace regression 3","expected":["a",["b","c","d"],2,false,2,"c"],"passed":true},{"actual":["d",["a","b","c"],1,false,2,"c"],"check":"workspace regression 4","expected":["d",["a","b","c"],1,false,2,"c"],"passed":true},{"actual":["b",["a","c","d"],3,false,2,"b"],"check":"workspace regression 5","expected":["b",["a","c","d"],3,false,2,"b"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 0, false, 1, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 0, false, 1, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 1, false, 0, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 1, true, 0, \"c\"], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [\"a\", [\"b\", \"c\", \"d\"], 2, false, 2, \"c\"], \"expected\": [\"a\", [\"b\", \"c\", \"d\"], 2, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [\"d\", [\"a\", \"b\", \"c\"], 1, false, 2, \"c\"], \"expected\": [\"d\", [\"a\", \"b\", \"c\"], 1, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"b\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"b\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.966,"exit_code":0,"observations":[{"actual":["b",["a","c","d"],3,false,2,"c"],"check":"workspace regression 0","expected":["b",["a","c","d"],3,false,2,"c"],"passed":true},{"actual":["b",["a","c","d"],0,false,1,"c"],"check":"workspace regression 1","expected":["b",["a","c","d"],0,false,1,"c"],"passed":true},{"actual":["b",["a","c","d"],1,true,0,"c"],"check":"workspace regression 2","expected":["b",["a","c","d"],1,true,0,"c"],"passed":true},{"actual":["a",["b","c","d"],2,false,2,"c"],"check":"workspace regression 3","expected":["a",["b","c","d"],2,false,2,"c"],"passed":true},{"actual":["d",["a","b","c"],1,false,2,"c"],"check":"workspace regression 4","expected":["d",["a","b","c"],1,false,2,"c"],"passed":true},{"actual":["b",["a","c","d"],3,false,2,"b"],"check":"workspace regression 5","expected":["b",["a","c","d"],3,false,2,"b"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 0, false, 1, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 0, false, 1, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 1, true, 0, \"c\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 1, true, 0, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 3\", \"actual\": [\"a\", [\"b\", \"c\", \"d\"], 2, false, 2, \"c\"], \"expected\": [\"a\", [\"b\", \"c\", \"d\"], 2, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [\"d\", [\"a\", \"b\", \"c\"], 1, false, 2, \"c\"], \"expected\": [\"d\", [\"a\", \"b\", \"c\"], 1, false, 2, \"c\"], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"b\"], \"expected\": [\"b\", [\"a\", \"c\", \"d\"], 3, false, 2, \"b\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}