{"abstract":"The operation returns a result or retained state that violates this contract: Pair each element with its original zero-based position.","category":"Sequence semantics","checks":4,"contract":"Pair each element with its original zero-based position. Inputs are the finite Python values shown by the executable fixtures; no concurrent execution is assumed.","contract_signature":"x, y=None","evaluation_group":"model-01fbc0d26bf38928","failed_approach":"Value lookup returns the first equal occurrence instead of the current position.","family":"xr-enumeration-original-position","id":"FA-4191","implementations":{"attempt":{"sha256":"6e92dd9c7c40c409ff0b708024778460ce979bba96bea9ba364006160db3d560","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x, y=None):\n    return [[x.index(v),v] for v in x]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('empty collection', solve([]), [])\ncheck('singleton collection', solve(['a']), [[0, 'a']])\ncheck('two distinct elements', solve(['a', 'b']), [[0, 'a'], [1, 'b']])\ncheck('nonadjacent duplicate and unsorted order', solve(['b', 'a', 'b', 'c']), [[0, 'b'], [1, 'a'], [2, 'b'], [3, 'c']])\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":"3b49eb0c6ba48354328cba5aed80d33ad3d8f1ba4ea4981a5ecf8eb43e2ae238","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x, y=None):\n    return [[i+1,v] for i,v in enumerate(x)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('empty collection', solve([]), [])\ncheck('singleton collection', solve(['a']), [[0, 'a']])\ncheck('two distinct elements', solve(['a', 'b']), [[0, 'a'], [1, 'b']])\ncheck('nonadjacent duplicate and unsorted order', solve(['b', 'a', 'b', 'c']), [[0, 'b'], [1, 'a'], [2, 'b'], [3, 'c']])\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":" 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":"xr-enumeration-original-position","generated_at":"2026-09-29T14:37:36.549912+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A controlled local-runtime regression for collection APIs, language semantics, or ownership wrappers. Fixtures include boundary and interaction cases.","root_cause":"Enumeration starts at one although the positional contract starts at zero.","sha256":"885a0807b3d99229b96f6466fa8c5237c4e1b5fa90fcab56b61bf2dd41d95707","title":"Enumeration original position · case 01","variant":1,"variant_policy":"Five execution reruns of a fixed adversarial fixture suite; variant number does not alter semantic inputs.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":37.225,"exit_code":1,"observations":[{"actual":[],"check":"empty collection","expected":[],"passed":true},{"actual":[[0,"a"]],"check":"singleton collection","expected":[[0,"a"]],"passed":true},{"actual":[[0,"a"],[1,"b"]],"check":"two distinct elements","expected":[[0,"a"],[1,"b"]],"passed":true},{"actual":[[0,"b"],[1,"a"],[0,"b"],[3,"c"]],"check":"nonadjacent duplicate and unsorted order","expected":[[0,"b"],[1,"a"],[2,"b"],[3,"c"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"empty collection\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"singleton collection\", \"actual\": [[0, \"a\"]], \"expected\": [[0, \"a\"]], \"passed\": true}, {\"check\": \"two distinct elements\", \"actual\": [[0, \"a\"], [1, \"b\"]], \"expected\": [[0, \"a\"], [1, \"b\"]], \"passed\": true}, {\"check\": \"nonadjacent duplicate and unsorted order\", \"actual\": [[0, \"b\"], [1, \"a\"], [0, \"b\"], [3, \"c\"]], \"expected\": [[0, \"b\"], [1, \"a\"], [2, \"b\"], [3, \"c\"]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.17,"exit_code":1,"observations":[{"actual":[],"check":"empty collection","expected":[],"passed":true},{"actual":[[1,"a"]],"check":"singleton collection","expected":[[0,"a"]],"passed":false},{"actual":[[1,"a"],[2,"b"]],"check":"two distinct elements","expected":[[0,"a"],[1,"b"]],"passed":false},{"actual":[[1,"b"],[2,"a"],[3,"b"],[4,"c"]],"check":"nonadjacent duplicate and unsorted order","expected":[[0,"b"],[1,"a"],[2,"b"],[3,"c"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"empty collection\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"singleton collection\", \"actual\": [[1, \"a\"]], \"expected\": [[0, \"a\"]], \"passed\": false}, {\"check\": \"two distinct elements\", \"actual\": [[1, \"a\"], [2, \"b\"]], \"expected\": [[0, \"a\"], [1, \"b\"]], \"passed\": false}, {\"check\": \"nonadjacent duplicate and unsorted order\", \"actual\": [[1, \"b\"], [2, \"a\"], [3, \"b\"], [4, \"c\"]], \"expected\": [[0, \"b\"], [1, \"a\"], [2, \"b\"], [3, \"c\"]], \"passed\": false}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}