{"abstract":"Concatenating planes does not produce per-pixel interleaved storage.","category":"Raster memory layout","checks":4,"contract":"Interleave three equal-length scalar planes into packed RGBRGB channel order.","evaluation_group":"xg-planar-rgb-interleave","failed_approach":"Interleaving in BGR order swaps red and blue.","family":"xg-planar-rgb-interleave","id":"FA-10741","implementations":{"attempt":{"sha256":"9835b7bd024be663ae962b7aeefcf4cb576e77dde531663544ff7150b542e325","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(red, green, blue):\n    return [channel for pixel in zip(blue,green,red) for channel in pixel]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*([1, 2], [3, 4], [5, 6])), [1, 3, 5, 2, 4, 6])\ncheck('fixture 2', solve(*([], [], [])), [])\ncheck('fixture 3', solve(*([9], [8], [7])), [9, 8, 7])\ncheck('fixture 4', solve(*([0, 0], [1, 1], [2, 2])), [0, 1, 2, 0, 1, 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":"1c173ddf6bb91bbb3621b3d66f1611dfa53d15a269f38def0f13220cc41a2105","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(red, green, blue):\n    return list(red)+list(green)+list(blue)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*([1, 2], [3, 4], [5, 6])), [1, 3, 5, 2, 4, 6])\ncheck('fixture 2', solve(*([], [], [])), [])\ncheck('fixture 3', solve(*([9], [8], [7])), [9, 8, 7])\ncheck('fixture 4', solve(*([0, 0], [1, 1], [2, 2])), [0, 1, 2, 0, 1, 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"},"fixed":{"sha256":"65885a0a3d1a204ac16458a25fae79d9159716674b6def22a60d5916c8b256cd","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(red, green, blue):\n    return [channel for pixel in zip(red,green,blue) for channel in pixel]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*([1, 2], [3, 4], [5, 6])), [1, 3, 5, 2, 4, 6])\ncheck('fixture 2', solve(*([], [], [])), [])\ncheck('fixture 3', solve(*([9], [8], [7])), [9, 8, 7])\ncheck('fixture 4', solve(*([0, 0], [1, 1], [2, 2])), [0, 1, 2, 0, 1, 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":" 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":"xg-planar-rgb-interleave","generated_at":"2026-09-29T14:38:41.838400+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A deterministic software graphics stage with explicit channel and coordinate conventions; no hardware, device profile or API behavior is inferred.","repair":"Use the stage contract: Interleave three equal-length scalar planes into packed RGBRGB channel order.","root_cause":"Concatenating planes does not produce per-pixel interleaved storage.","sha256":"f53d35a37b97703ee4d9f29fc04a49122744f651ff65190d0b787ef7c24c0a68","title":"Planar rgb interleave · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":37.713,"exit_code":1,"observations":[{"actual":[5,3,1,6,4,2],"check":"fixture 1","expected":[1,3,5,2,4,6],"passed":false},{"actual":[],"check":"fixture 2","expected":[],"passed":true},{"actual":[7,8,9],"check":"fixture 3","expected":[9,8,7],"passed":false},{"actual":[2,1,0,2,1,0],"check":"fixture 4","expected":[0,1,2,0,1,2],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [5, 3, 1, 6, 4, 2], \"expected\": [1, 3, 5, 2, 4, 6], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [7, 8, 9], \"expected\": [9, 8, 7], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [2, 1, 0, 2, 1, 0], \"expected\": [0, 1, 2, 0, 1, 2], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.956,"exit_code":1,"observations":[{"actual":[1,2,3,4,5,6],"check":"fixture 1","expected":[1,3,5,2,4,6],"passed":false},{"actual":[],"check":"fixture 2","expected":[],"passed":true},{"actual":[9,8,7],"check":"fixture 3","expected":[9,8,7],"passed":true},{"actual":[0,0,1,1,2,2],"check":"fixture 4","expected":[0,1,2,0,1,2],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [1, 2, 3, 4, 5, 6], \"expected\": [1, 3, 5, 2, 4, 6], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [9, 8, 7], \"expected\": [9, 8, 7], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0, 0, 1, 1, 2, 2], \"expected\": [0, 1, 2, 0, 1, 2], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.895,"exit_code":0,"observations":[{"actual":[1,3,5,2,4,6],"check":"fixture 1","expected":[1,3,5,2,4,6],"passed":true},{"actual":[],"check":"fixture 2","expected":[],"passed":true},{"actual":[9,8,7],"check":"fixture 3","expected":[9,8,7],"passed":true},{"actual":[0,1,2,0,1,2],"check":"fixture 4","expected":[0,1,2,0,1,2],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [1, 3, 5, 2, 4, 6], \"expected\": [1, 3, 5, 2, 4, 6], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [9, 8, 7], \"expected\": [9, 8, 7], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0, 1, 2, 0, 1, 2], \"expected\": [0, 1, 2, 0, 1, 2], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}