{"abstract":"The operation returns a result or retained state that violates this contract: Return all nonempty prefixes in increasing length, including the complete list.","category":"Sequence semantics","checks":4,"contract":"Return all nonempty prefixes in increasing length, including the complete list. Inputs are the finite Python values shown by the executable fixtures; no concurrent execution is assumed.","contract_signature":"x, y=None","evaluation_group":"model-9045fa5c93cd1575","failed_approach":"The exclusive upper bound still omits the full sequence.","family":"xr-all-nonempty-prefixes","id":"FA-4181","implementations":{"attempt":{"sha256":"7f31a1dec67b9d71d56a38a5bf25dc8b21c5f41907b945fb680b0cd2a19cca4d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x, y=None):\n    return [x[:i] for i in range(1,len(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']), [['a']])\ncheck('two distinct elements', solve(['a', 'b']), [['a'], ['a', 'b']])\ncheck('nonadjacent duplicate and unsorted order', solve(['b', 'a', 'b', 'c']), [['b'], ['b', 'a'], ['b', 'a', 'b'], ['b', 'a', 'b', '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":"c23345f12877158f90fe71a455537ce3c953106e065b30d16c6be33e58fd1a53","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x, y=None):\n    return [x[:i] for i in range(len(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']), [['a']])\ncheck('two distinct elements', solve(['a', 'b']), [['a'], ['a', 'b']])\ncheck('nonadjacent duplicate and unsorted order', solve(['b', 'a', 'b', 'c']), [['b'], ['b', 'a'], ['b', 'a', 'b'], ['b', 'a', 'b', '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-all-nonempty-prefixes","generated_at":"2026-09-29T14:37:36.502711+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":"The prefix range includes the empty prefix and excludes the full sequence.","sha256":"c0054ddfcd5003ce6a2a8c22d6473f3e422222142c4cfa4e51812e32afe96aa0","title":"All nonempty prefixes · 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.008,"exit_code":1,"observations":[{"actual":[],"check":"empty collection","expected":[],"passed":true},{"actual":[],"check":"singleton collection","expected":[["a"]],"passed":false},{"actual":[["a"]],"check":"two distinct elements","expected":[["a"],["a","b"]],"passed":false},{"actual":[["b"],["b","a"],["b","a","b"]],"check":"nonadjacent duplicate and unsorted order","expected":[["b"],["b","a"],["b","a","b"],["b","a","b","c"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"empty collection\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"singleton collection\", \"actual\": [], \"expected\": [[\"a\"]], \"passed\": false}, {\"check\": \"two distinct elements\", \"actual\": [[\"a\"]], \"expected\": [[\"a\"], [\"a\", \"b\"]], \"passed\": false}, {\"check\": \"nonadjacent duplicate and unsorted order\", \"actual\": [[\"b\"], [\"b\", \"a\"], [\"b\", \"a\", \"b\"]], \"expected\": [[\"b\"], [\"b\", \"a\"], [\"b\", \"a\", \"b\"], [\"b\", \"a\", \"b\", \"c\"]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":121.57,"exit_code":1,"observations":[{"actual":[],"check":"empty collection","expected":[],"passed":true},{"actual":[[]],"check":"singleton collection","expected":[["a"]],"passed":false},{"actual":[[],["a"]],"check":"two distinct elements","expected":[["a"],["a","b"]],"passed":false},{"actual":[[],["b"],["b","a"],["b","a","b"]],"check":"nonadjacent duplicate and unsorted order","expected":[["b"],["b","a"],["b","a","b"],["b","a","b","c"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"empty collection\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"singleton collection\", \"actual\": [[]], \"expected\": [[\"a\"]], \"passed\": false}, {\"check\": \"two distinct elements\", \"actual\": [[], [\"a\"]], \"expected\": [[\"a\"], [\"a\", \"b\"]], \"passed\": false}, {\"check\": \"nonadjacent duplicate and unsorted order\", \"actual\": [[], [\"b\"], [\"b\", \"a\"], [\"b\", \"a\", \"b\"]], \"expected\": [[\"b\"], [\"b\", \"a\"], [\"b\", \"a\", \"b\"], [\"b\", \"a\", \"b\", \"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."}}