{"abstract":"The operation returns a result or retained state that violates this contract: Return whether right occurs as a contiguous sublist of left; empty right is always present.","category":"Collection algebra","checks":5,"contract":"Return whether right occurs as a contiguous sublist of left; empty right is always present. Inputs are the finite Python values shown by the executable fixtures; no concurrent execution is assumed.","contract_signature":"x, y=None","evaluation_group":"model-e5dd7d1679c5b6ae","failed_approach":"An empty haystack offers no starting position under an exclusive range.","family":"xr-contiguous-sublist-search","id":"FA-4291","implementations":{"attempt":{"sha256":"b0e629a107c7616d54435d094cbacc491ce8121ab373b8da6a7cdbc9434cb1af","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x, y=None):\n    return any(x[i:i+len(y)]==y for i in range(len(x)))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('both empty', solve([], []), True)\ncheck('empty right operand', solve(['a'], []), True)\ncheck('empty left operand', solve([], ['b']), False)\ncheck('overlap and multiplicity', solve(['b', 'a', 'b'], ['b', 'c', 'c']), False)\ncheck('gaps are not contiguous', solve(['a','b','c'], ['a','c']), False)\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":"65c9aaba8f9871a9a8c1afb9745b26a2166e8e3a3ceaca22fa4cdc44c0570e2a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x, y=None):\n    return all(v in x for v in y)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('both empty', solve([], []), True)\ncheck('empty right operand', solve(['a'], []), True)\ncheck('empty left operand', solve([], ['b']), False)\ncheck('overlap and multiplicity', solve(['b', 'a', 'b'], ['b', 'c', 'c']), False)\ncheck('gaps are not contiguous', solve(['a','b','c'], ['a','c']), False)\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-contiguous-sublist-search","generated_at":"2026-09-29T14:37:37.656347+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":"Independent membership tests ignore contiguity and positional order.","sha256":"ce712d4581c56ac9a47eeaf2979c0e666bfff64d9a7a1d7723626d892e70c320","title":"Contiguous sublist search · 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":38.866,"exit_code":1,"observations":[{"actual":false,"check":"both empty","expected":true,"passed":false},{"actual":true,"check":"empty right operand","expected":true,"passed":true},{"actual":false,"check":"empty left operand","expected":false,"passed":true},{"actual":false,"check":"overlap and multiplicity","expected":false,"passed":true},{"actual":false,"check":"gaps are not contiguous","expected":false,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"both empty\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"empty right operand\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"empty left operand\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"overlap and multiplicity\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"gaps are not contiguous\", \"actual\": false, \"expected\": false, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":35.933,"exit_code":1,"observations":[{"actual":true,"check":"both empty","expected":true,"passed":true},{"actual":true,"check":"empty right operand","expected":true,"passed":true},{"actual":false,"check":"empty left operand","expected":false,"passed":true},{"actual":false,"check":"overlap and multiplicity","expected":false,"passed":true},{"actual":true,"check":"gaps are not contiguous","expected":false,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"both empty\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"empty right operand\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"empty left operand\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"overlap and multiplicity\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"gaps are not contiguous\", \"actual\": true, \"expected\": false, \"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."}}