{"abstract":"The loop stopping bound omits the final complete pixel.","category":"Raster memory layout","checks":4,"contract":"Split a packed RGB channel sequence whose length is divisible by three into complete RGB pixels.","contract_signature":"channels","evaluation_group":"xg-rgb-triplet-count","failed_approach":"Using RGBA stride corrupts RGB pixel boundaries.","family":"xg-rgb-triplet-count","id":"FA-10761","implementations":{"attempt":{"sha256":"e5e62fd677983c99f51acc5aece872a77e3f51699ff9f65bb5a33532b53c81e3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(channels):\n    return [list(channels[i:i+4]) for i in range(0,len(channels),4)]\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, 2, 3], [4, 5, 6]])\ncheck('fixture 2', solve(*([1, 2, 3],)), [[1, 2, 3]])\ncheck('fixture 3', solve(*([],)), [])\ncheck('fixture 4', solve(*([0, 0, 0, 1, 1, 1, 2, 2, 2],)), [[0, 0, 0], [1, 1, 1], [2, 2, 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":"760ad42fc4658b7f6be7d2e702a02a4e6b1775bc226576020c782df28d3c1222","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(channels):\n    return [list(channels[i:i+3]) for i in range(0,len(channels)-3,3)]\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, 2, 3], [4, 5, 6]])\ncheck('fixture 2', solve(*([1, 2, 3],)), [[1, 2, 3]])\ncheck('fixture 3', solve(*([],)), [])\ncheck('fixture 4', solve(*([0, 0, 0, 1, 1, 1, 2, 2, 2],)), [[0, 0, 0], [1, 1, 1], [2, 2, 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-rgb-triplet-count","generated_at":"2026-09-29T14:38:41.884936+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.","root_cause":"The loop stopping bound omits the final complete pixel.","sha256":"f5a67d9a08ed38cd2e2d19051495fabe02d8f5f65d390e49538c56c9e10b5ac0","title":"Rgb triplet count · 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.45,"exit_code":1,"observations":[{"actual":[[1,2,3,4],[5,6]],"check":"fixture 1","expected":[[1,2,3],[4,5,6]],"passed":false},{"actual":[[1,2,3]],"check":"fixture 2","expected":[[1,2,3]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[0,0,0,1],[1,1,2,2],[2]],"check":"fixture 4","expected":[[0,0,0],[1,1,1],[2,2,2]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 2, 3, 4], [5, 6]], \"expected\": [[1, 2, 3], [4, 5, 6]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[1, 2, 3]], \"expected\": [[1, 2, 3]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[0, 0, 0, 1], [1, 1, 2, 2], [2]], \"expected\": [[0, 0, 0], [1, 1, 1], [2, 2, 2]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.112,"exit_code":1,"observations":[{"actual":[[1,2,3]],"check":"fixture 1","expected":[[1,2,3],[4,5,6]],"passed":false},{"actual":[],"check":"fixture 2","expected":[[1,2,3]],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[0,0,0],[1,1,1]],"check":"fixture 4","expected":[[0,0,0],[1,1,1],[2,2,2]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 2, 3]], \"expected\": [[1, 2, 3], [4, 5, 6]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [], \"expected\": [[1, 2, 3]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[0, 0, 0], [1, 1, 1]], \"expected\": [[0, 0, 0], [1, 1, 1], [2, 2, 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."}}