{"abstract":"A truncated TDM frame is reported as a valid empty channel frame.","category":"PCM sample encoding","checks":8,"contract":"Stipulated TDM PCM extractor: active mask bits name ascending physical slots; ignore mask bits above slot count and reject incomplete physical frames.","contract_signature":"frames, active_mask, slots","evaluation_group":"s3-pcm-pcm-tdm-active-slots","failed_approach":"Fabricated silence masks physical slot loss.","family":"s3-pcm-pcm-tdm-active-slots-incomplete-marker","id":"FA-50011","implementations":{"attempt":{"sha256":"1c902b92e85c7069b14d40881dda60a65493c5212ebe1c04d74a9284b7a03ebf","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(frames, active_mask, slots):\n    channels=[i for i in range(slots) if active_mask&(1<<i)]\n    out=[]\n    for frame in frames:\n        if len(frame)<slots:\n            out.append([0]*len(channels))\n            continue\n        out.append([frame[i] if i<len(frame) else None for i in channels])\n    return [channels,out]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('oracle 1', solve(*([[10, 20, 30, 40], [1, 2, 3, 4]], 10, 4)), [[1, 3], [[20, 40], [2, 4]]])\ncheck('oracle 2', solve(*([[1, 2]], 8, 4)), [[3], [None]])\ncheck('oracle 3', solve(*([[1, 2, 3]], 0, 3)), [[], [[]]])\ncheck('oracle 4', solve(*([], 3, 4)), [[0, 1], []])\ncheck('oracle 5', solve(*([[1, 2, 3, 4]], 9, 4)), [[0, 3], [[1, 4]]])\ncheck('oracle 6', solve(*([[1, 2]], 1, 2)), [[0], [[1]]])\ncheck('oracle 7', solve(*([[1, 2, 3, 4]], 16, 4)), [[], [[]]])\nif N == 1: check('variant packet 1', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 2: check('variant packet 2', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 3: check('variant packet 3', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 4: check('variant packet 4', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 5: check('variant packet 5', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\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":"ef3eef3654e72a786ff390c4e677d9b138d266c73d0594ec1f29a10536db9184","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(frames, active_mask, slots):\n    channels=[i for i in range(slots) if active_mask&(1<<i)]\n    out=[]\n    for frame in frames:\n        if len(frame)<slots:\n            out.append([])\n            continue\n        out.append([frame[i] if i<len(frame) else None for i in channels])\n    return [channels,out]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('oracle 1', solve(*([[10, 20, 30, 40], [1, 2, 3, 4]], 10, 4)), [[1, 3], [[20, 40], [2, 4]]])\ncheck('oracle 2', solve(*([[1, 2]], 8, 4)), [[3], [None]])\ncheck('oracle 3', solve(*([[1, 2, 3]], 0, 3)), [[], [[]]])\ncheck('oracle 4', solve(*([], 3, 4)), [[0, 1], []])\ncheck('oracle 5', solve(*([[1, 2, 3, 4]], 9, 4)), [[0, 3], [[1, 4]]])\ncheck('oracle 6', solve(*([[1, 2]], 1, 2)), [[0], [[1]]])\ncheck('oracle 7', solve(*([[1, 2, 3, 4]], 16, 4)), [[], [[]]])\nif N == 1: check('variant packet 1', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 2: check('variant packet 2', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 3: check('variant packet 3', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 4: check('variant packet 4', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\nif N == 5: check('variant packet 5', solve(*[[[10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4], [10, 20, 30, 40], [1, 2, 3, 4]], 10, 4]), [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4], [20, 40], [2, 4]]])\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-tdm-active-slots-incomplete-marker","generated_at":"2026-09-29T14:45:05.254644+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 truncated TDM frame is reported as a valid empty channel frame.","sha256":"fd49bc6e289c1acbe374b0849fbcfb395756e244ec817a71deb3af4e147a4535","title":"Pcm tdm active slots: incomplete marker · 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":38.508,"exit_code":1,"observations":[{"actual":[[1,3],[[20,40],[2,4]]],"check":"oracle 1","expected":[[1,3],[[20,40],[2,4]]],"passed":true},{"actual":[[3],[[0]]],"check":"oracle 2","expected":[[3],[null]],"passed":false},{"actual":[[],[[]]],"check":"oracle 3","expected":[[],[[]]],"passed":true},{"actual":[[0,1],[]],"check":"oracle 4","expected":[[0,1],[]],"passed":true},{"actual":[[0,3],[[1,4]]],"check":"oracle 5","expected":[[0,3],[[1,4]]],"passed":true},{"actual":[[0],[[1]]],"check":"oracle 6","expected":[[0],[[1]]],"passed":true},{"actual":[[],[[]]],"check":"oracle 7","expected":[[],[[]]],"passed":true},{"actual":[[1,3],[[20,40],[2,4],[20,40],[2,4]]],"check":"variant packet 1","expected":[[1,3],[[20,40],[2,4],[20,40],[2,4]]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"oracle 1\", \"actual\": [[1, 3], [[20, 40], [2, 4]]], \"expected\": [[1, 3], [[20, 40], [2, 4]]], \"passed\": true}, {\"check\": \"oracle 2\", \"actual\": [[3], [[0]]], \"expected\": [[3], [null]], \"passed\": false}, {\"check\": \"oracle 3\", \"actual\": [[], [[]]], \"expected\": [[], [[]]], \"passed\": true}, {\"check\": \"oracle 4\", \"actual\": [[0, 1], []], \"expected\": [[0, 1], []], \"passed\": true}, {\"check\": \"oracle 5\", \"actual\": [[0, 3], [[1, 4]]], \"expected\": [[0, 3], [[1, 4]]], \"passed\": true}, {\"check\": \"oracle 6\", \"actual\": [[0], [[1]]], \"expected\": [[0], [[1]]], \"passed\": true}, {\"check\": \"oracle 7\", \"actual\": [[], [[]]], \"expected\": [[], [[]]], \"passed\": true}, {\"check\": \"variant packet 1\", \"actual\": [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4]]], \"expected\": [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4]]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.046,"exit_code":1,"observations":[{"actual":[[1,3],[[20,40],[2,4]]],"check":"oracle 1","expected":[[1,3],[[20,40],[2,4]]],"passed":true},{"actual":[[3],[[]]],"check":"oracle 2","expected":[[3],[null]],"passed":false},{"actual":[[],[[]]],"check":"oracle 3","expected":[[],[[]]],"passed":true},{"actual":[[0,1],[]],"check":"oracle 4","expected":[[0,1],[]],"passed":true},{"actual":[[0,3],[[1,4]]],"check":"oracle 5","expected":[[0,3],[[1,4]]],"passed":true},{"actual":[[0],[[1]]],"check":"oracle 6","expected":[[0],[[1]]],"passed":true},{"actual":[[],[[]]],"check":"oracle 7","expected":[[],[[]]],"passed":true},{"actual":[[1,3],[[20,40],[2,4],[20,40],[2,4]]],"check":"variant packet 1","expected":[[1,3],[[20,40],[2,4],[20,40],[2,4]]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"oracle 1\", \"actual\": [[1, 3], [[20, 40], [2, 4]]], \"expected\": [[1, 3], [[20, 40], [2, 4]]], \"passed\": true}, {\"check\": \"oracle 2\", \"actual\": [[3], [[]]], \"expected\": [[3], [null]], \"passed\": false}, {\"check\": \"oracle 3\", \"actual\": [[], [[]]], \"expected\": [[], [[]]], \"passed\": true}, {\"check\": \"oracle 4\", \"actual\": [[0, 1], []], \"expected\": [[0, 1], []], \"passed\": true}, {\"check\": \"oracle 5\", \"actual\": [[0, 3], [[1, 4]]], \"expected\": [[0, 3], [[1, 4]]], \"passed\": true}, {\"check\": \"oracle 6\", \"actual\": [[0], [[1]]], \"expected\": [[0], [[1]]], \"passed\": true}, {\"check\": \"oracle 7\", \"actual\": [[], [[]]], \"expected\": [[], [[]]], \"passed\": true}, {\"check\": \"variant packet 1\", \"actual\": [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4]]], \"expected\": [[1, 3], [[20, 40], [2, 4], [20, 40], [2, 4]]], \"passed\": true}], \"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."}}