{"abstract":"The RGB blend factor is reused for a separately configured alpha factor.","category":"Rendering state","checks":4,"contract":"Apply independent normalized scalar blend factors to one RGB channel and the alpha channel.","evaluation_group":"xg-blend-state-separate-alpha","failed_approach":"Using the alpha factor for both channels reverses which configured state is lost.","family":"xg-blend-state-separate-alpha","id":"FA-10716","implementations":{"attempt":{"sha256":"028204a10fe489ba4da65b4982929f4eb0edf13e78a7cfaf5ddb67c75fccfb59","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(rgb_factor, alpha_factor, rgb, alpha):\n    return [rgb*alpha_factor,alpha*alpha_factor]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*(0.5, 1, 0.5, 0.5)), [0.25, 0.5])\ncheck('fixture 2', solve(*(1, 0.5, 0.5, 0.5)), [0.5, 0.25])\ncheck('fixture 3', solve(*(0, 0, 1, 1)), [0, 0])\ncheck('fixture 4', solve(*(1, 1, 0.25, 0.75)), [0.25, 0.75])\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":"8f6ee3740af4b6632551119b53b16d904be4dade137bb113c922e298d3d773d2","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(rgb_factor, alpha_factor, rgb, alpha):\n    return [rgb*rgb_factor,alpha*rgb_factor]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*(0.5, 1, 0.5, 0.5)), [0.25, 0.5])\ncheck('fixture 2', solve(*(1, 0.5, 0.5, 0.5)), [0.5, 0.25])\ncheck('fixture 3', solve(*(0, 0, 1, 1)), [0, 0])\ncheck('fixture 4', solve(*(1, 1, 0.25, 0.75)), [0.25, 0.75])\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":"3e5b7c528e4cac4e3b58cfc84883e35b8cbf3a1ff0e0fd2b484e4e650547cb5c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(rgb_factor, alpha_factor, rgb, alpha):\n    return [rgb*rgb_factor,alpha*alpha_factor]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*(0.5, 1, 0.5, 0.5)), [0.25, 0.5])\ncheck('fixture 2', solve(*(1, 0.5, 0.5, 0.5)), [0.5, 0.25])\ncheck('fixture 3', solve(*(0, 0, 1, 1)), [0, 0])\ncheck('fixture 4', solve(*(1, 1, 0.25, 0.75)), [0.25, 0.75])\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-blend-state-separate-alpha","generated_at":"2026-09-29T14:38:41.606031+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: Apply independent normalized scalar blend factors to one RGB channel and the alpha channel.","root_cause":"The RGB blend factor is reused for a separately configured alpha factor.","sha256":"f5c1282bdabd5c9abefb5514f10ada30799a8f2d3cff02a8cd09e2c5189d46d4","title":"Blend state separate alpha · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.252,"exit_code":1,"observations":[{"actual":[0.5,0.5],"check":"fixture 1","expected":[0.25,0.5],"passed":false},{"actual":[0.25,0.25],"check":"fixture 2","expected":[0.5,0.25],"passed":false},{"actual":[0,0],"check":"fixture 3","expected":[0,0],"passed":true},{"actual":[0.25,0.75],"check":"fixture 4","expected":[0.25,0.75],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0.5, 0.5], \"expected\": [0.25, 0.5], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [0.25, 0.25], \"expected\": [0.5, 0.25], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0.25, 0.75], \"expected\": [0.25, 0.75], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.627,"exit_code":1,"observations":[{"actual":[0.25,0.25],"check":"fixture 1","expected":[0.25,0.5],"passed":false},{"actual":[0.5,0.5],"check":"fixture 2","expected":[0.5,0.25],"passed":false},{"actual":[0,0],"check":"fixture 3","expected":[0,0],"passed":true},{"actual":[0.25,0.75],"check":"fixture 4","expected":[0.25,0.75],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0.25, 0.25], \"expected\": [0.25, 0.5], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [0.5, 0.5], \"expected\": [0.5, 0.25], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0.25, 0.75], \"expected\": [0.25, 0.75], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":38.319,"exit_code":0,"observations":[{"actual":[0.25,0.5],"check":"fixture 1","expected":[0.25,0.5],"passed":true},{"actual":[0.5,0.25],"check":"fixture 2","expected":[0.5,0.25],"passed":true},{"actual":[0,0],"check":"fixture 3","expected":[0,0],"passed":true},{"actual":[0.25,0.75],"check":"fixture 4","expected":[0.25,0.75],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0.25, 0.5], \"expected\": [0.25, 0.5], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [0.5, 0.25], \"expected\": [0.5, 0.25], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0.25, 0.75], \"expected\": [0.25, 0.75], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}