{"abstract":"A hardware byte-lane map is sorted instead of honored.","category":"PCM sample encoding","checks":8,"contract":"Repack each fixed-size sample container using an explicit byte-lane map, retain duplicate selections and validate only declared zero-pad lanes.","contract_signature":"packets, lanes, ignored","evaluation_group":"s3-pcm-pcm-byte-lane-shuffle","failed_approach":"Reversing the map still emits different physical lanes than requested.","family":"s3-pcm-pcm-byte-lane-shuffle-lane-permutation","id":"FA-49066","implementations":{"attempt":{"sha256":"4dddb3d2690387dafb3152b331263d1638c2d28a5a40f983ed06da819abe4d7f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(packets, lanes, ignored):\n    out=[]\n    for packet in packets:\n        selected=[packet[i] for i in reversed(lanes)]\n        ignored_values=[packet[i] for i in ignored]\n        good=all(value==0 for value in ignored_values)\n        out.append([selected,good,len(selected)])\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('oracle 1', solve(*([[1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3])), [[[2, 1], True, 2], [[4, 3], False, 2]])\ncheck('oracle 2', solve(*([[8, 9]], [1, 0, 1], [])), [[[9, 8, 9], True, 3]])\ncheck('oracle 3', solve(*([], [], [])), [])\ncheck('oracle 4', solve(*([[0, 1, 0]], [1], [0, 2])), [[[1], True, 1]])\ncheck('oracle 5', solve(*([[0, 0]], [], [0, 1])), [[[], True, 0]])\ncheck('oracle 6', solve(*([[4, 3, 2, 1]], [3, 1, 0], [2])), [[[1, 3, 4], False, 3]])\ncheck('oracle 7', solve(*([[1]], [0], [])), [[[1], True, 1]])\nif N == 1: check('variant packet 1', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 2: check('variant packet 2', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 3: check('variant packet 3', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 4: check('variant packet 4', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 5: check('variant packet 5', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\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":"2062bce14eb460c0a46636f467e1d1688d7a5142843919acb984ad1c34cdfc1f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(packets, lanes, ignored):\n    out=[]\n    for packet in packets:\n        selected=[packet[i] for i in sorted(lanes)]\n        ignored_values=[packet[i] for i in ignored]\n        good=all(value==0 for value in ignored_values)\n        out.append([selected,good,len(selected)])\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('oracle 1', solve(*([[1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3])), [[[2, 1], True, 2], [[4, 3], False, 2]])\ncheck('oracle 2', solve(*([[8, 9]], [1, 0, 1], [])), [[[9, 8, 9], True, 3]])\ncheck('oracle 3', solve(*([], [], [])), [])\ncheck('oracle 4', solve(*([[0, 1, 0]], [1], [0, 2])), [[[1], True, 1]])\ncheck('oracle 5', solve(*([[0, 0]], [], [0, 1])), [[[], True, 0]])\ncheck('oracle 6', solve(*([[4, 3, 2, 1]], [3, 1, 0], [2])), [[[1, 3, 4], False, 3]])\ncheck('oracle 7', solve(*([[1]], [0], [])), [[[1], True, 1]])\nif N == 1: check('variant packet 1', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 2: check('variant packet 2', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 3: check('variant packet 3', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 4: check('variant packet 4', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\nif N == 5: check('variant packet 5', solve(*[[[1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5], [1, 0, 2, 0], [3, 0, 4, 5]], [2, 0], [1, 3]]), [[[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2], [[2, 1], True, 2], [[4, 3], False, 2]])\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":"Stipulated finite model; no claim of hardware timing or full file-format conformance. 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-pcm-pcm-byte-lane-shuffle-lane-permutation","generated_at":"2026-09-29T14:44:56.612156+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline PCM interchange uses these exact bounded packet and sample representation decisions.","root_cause":"A hardware byte-lane map is sorted instead of honored.","sha256":"c570c6a1bfad2bd1b80e8f75fc7143a55b3892fb45f5668e6c516b7bb7f00e20","title":"Pcm byte lane shuffle: lane permutation · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":43.998,"exit_code":1,"observations":[{"actual":[[[1,2],true,2],[[3,4],false,2]],"check":"oracle 1","expected":[[[2,1],true,2],[[4,3],false,2]],"passed":false},{"actual":[[[9,8,9],true,3]],"check":"oracle 2","expected":[[[9,8,9],true,3]],"passed":true},{"actual":[],"check":"oracle 3","expected":[],"passed":true},{"actual":[[[1],true,1]],"check":"oracle 4","expected":[[[1],true,1]],"passed":true},{"actual":[[[],true,0]],"check":"oracle 5","expected":[[[],true,0]],"passed":true},{"actual":[[[4,3,1],false,3]],"check":"oracle 6","expected":[[[1,3,4],false,3]],"passed":false},{"actual":[[[1],true,1]],"check":"oracle 7","expected":[[[1],true,1]],"passed":true},{"actual":[[[1,2],true,2],[[3,4],false,2],[[1,2],true,2],[[3,4],false,2]],"check":"variant packet 1","expected":[[[2,1],true,2],[[4,3],false,2],[[2,1],true,2],[[4,3],false,2]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"oracle 1\", \"actual\": [[[1, 2], true, 2], [[3, 4], false, 2]], \"expected\": [[[2, 1], true, 2], [[4, 3], false, 2]], \"passed\": false}, {\"check\": \"oracle 2\", \"actual\": [[[9, 8, 9], true, 3]], \"expected\": [[[9, 8, 9], true, 3]], \"passed\": true}, {\"check\": \"oracle 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"oracle 4\", \"actual\": [[[1], true, 1]], \"expected\": [[[1], true, 1]], \"passed\": true}, {\"check\": \"oracle 5\", \"actual\": [[[], true, 0]], \"expected\": [[[], true, 0]], \"passed\": true}, {\"check\": \"oracle 6\", \"actual\": [[[4, 3, 1], false, 3]], \"expected\": [[[1, 3, 4], false, 3]], \"passed\": false}, {\"check\": \"oracle 7\", \"actual\": [[[1], true, 1]], \"expected\": [[[1], true, 1]], \"passed\": true}, {\"check\": \"variant packet 1\", \"actual\": [[[1, 2], true, 2], [[3, 4], false, 2], [[1, 2], true, 2], [[3, 4], false, 2]], \"expected\": [[[2, 1], true, 2], [[4, 3], false, 2], [[2, 1], true, 2], [[4, 3], false, 2]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.426,"exit_code":1,"observations":[{"actual":[[[1,2],true,2],[[3,4],false,2]],"check":"oracle 1","expected":[[[2,1],true,2],[[4,3],false,2]],"passed":false},{"actual":[[[8,9,9],true,3]],"check":"oracle 2","expected":[[[9,8,9],true,3]],"passed":false},{"actual":[],"check":"oracle 3","expected":[],"passed":true},{"actual":[[[1],true,1]],"check":"oracle 4","expected":[[[1],true,1]],"passed":true},{"actual":[[[],true,0]],"check":"oracle 5","expected":[[[],true,0]],"passed":true},{"actual":[[[4,3,1],false,3]],"check":"oracle 6","expected":[[[1,3,4],false,3]],"passed":false},{"actual":[[[1],true,1]],"check":"oracle 7","expected":[[[1],true,1]],"passed":true},{"actual":[[[1,2],true,2],[[3,4],false,2],[[1,2],true,2],[[3,4],false,2]],"check":"variant packet 1","expected":[[[2,1],true,2],[[4,3],false,2],[[2,1],true,2],[[4,3],false,2]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"oracle 1\", \"actual\": [[[1, 2], true, 2], [[3, 4], false, 2]], \"expected\": [[[2, 1], true, 2], [[4, 3], false, 2]], \"passed\": false}, {\"check\": \"oracle 2\", \"actual\": [[[8, 9, 9], true, 3]], \"expected\": [[[9, 8, 9], true, 3]], \"passed\": false}, {\"check\": \"oracle 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"oracle 4\", \"actual\": [[[1], true, 1]], \"expected\": [[[1], true, 1]], \"passed\": true}, {\"check\": \"oracle 5\", \"actual\": [[[], true, 0]], \"expected\": [[[], true, 0]], \"passed\": true}, {\"check\": \"oracle 6\", \"actual\": [[[4, 3, 1], false, 3]], \"expected\": [[[1, 3, 4], false, 3]], \"passed\": false}, {\"check\": \"oracle 7\", \"actual\": [[[1], true, 1]], \"expected\": [[[1], true, 1]], \"passed\": true}, {\"check\": \"variant packet 1\", \"actual\": [[[1, 2], true, 2], [[3, 4], false, 2], [[1, 2], true, 2], [[3, 4], false, 2]], \"expected\": [[[2, 1], true, 2], [[4, 3], false, 2], [[2, 1], true, 2], [[4, 3], false, 2]], \"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."}}