FA-10741 / Raster memory layout / Open access
Planar rgb interleave · case 01
Concatenating planes does not produce per-pixel interleaved storage.
ROOT CAUSE
Concatenating planes does not produce per-pixel interleaved storage.
VERIFIED REPAIR
Use the stage contract: Interleave three equal-length scalar planes into packed RGBRGB channel order.
Unsuccessful approach: Interleaving in BGR order swaps red and blue.
Case contract
Interleave three equal-length scalar planes into packed RGBRGB channel order.
Why this case matters
A deterministic software graphics stage with explicit channel and coordinate conventions; no hardware, device profile or API behavior is inferred.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
N = 1
observations = []
def solve(red, green, blue):
return list(red)+list(green)+list(blue)
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1', solve(*([1, 2], [3, 4], [5, 6])), [1, 3, 5, 2, 4, 6])
check('fixture 2', solve(*([], [], [])), [])
check('fixture 3', solve(*([9], [8], [7])), [9, 8, 7])
check('fixture 4', solve(*([0, 0], [1, 1], [2, 2])), [0, 1, 2, 0, 1, 2])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1 | [1, 2, 3, 4, 5, 6] | [1, 3, 5, 2, 4, 6] | Failed |
| fixture 2 | [] | [] | Passed |
| fixture 3 | [9, 8, 7] | [9, 8, 7] | Passed |
| fixture 4 | [0, 0, 1, 1, 2, 2] | [0, 1, 2, 0, 1, 2] | Failed |
SHA-256 / 1c173ddf6bb91bbb3621b3d66f1611dfa53d15a269f38def0f13220cc41a2105
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
N = 1
observations = []
def solve(red, green, blue):
return [channel for pixel in zip(blue,green,red) for channel in pixel]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1', solve(*([1, 2], [3, 4], [5, 6])), [1, 3, 5, 2, 4, 6])
check('fixture 2', solve(*([], [], [])), [])
check('fixture 3', solve(*([9], [8], [7])), [9, 8, 7])
check('fixture 4', solve(*([0, 0], [1, 1], [2, 2])), [0, 1, 2, 0, 1, 2])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1 | [5, 3, 1, 6, 4, 2] | [1, 3, 5, 2, 4, 6] | Failed |
| fixture 2 | [] | [] | Passed |
| fixture 3 | [7, 8, 9] | [9, 8, 7] | Failed |
| fixture 4 | [2, 1, 0, 2, 1, 0] | [0, 1, 2, 0, 1, 2] | Failed |
SHA-256 / 9835b7bd024be663ae962b7aeefcf4cb576e77dde531663544ff7150b542e325
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
import math
N = 1
observations = []
def solve(red, green, blue):
return [channel for pixel in zip(red,green,blue) for channel in pixel]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1', solve(*([1, 2], [3, 4], [5, 6])), [1, 3, 5, 2, 4, 6])
check('fixture 2', solve(*([], [], [])), [])
check('fixture 3', solve(*([9], [8], [7])), [9, 8, 7])
check('fixture 4', solve(*([0, 0], [1, 1], [2, 2])), [0, 1, 2, 0, 1, 2])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1 | [1, 3, 5, 2, 4, 6] | [1, 3, 5, 2, 4, 6] | Passed |
| fixture 2 | [] | [] | Passed |
| fixture 3 | [9, 8, 7] | [9, 8, 7] | Passed |
| fixture 4 | [0, 1, 2, 0, 1, 2] | [0, 1, 2, 0, 1, 2] | Passed |
SHA-256 / 65885a0a3d1a204ac16458a25fae79d9159716674b6def22a60d5916c8b256cd
Verification & scope
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.
Observations recorded using Python 3.12.14 at 2026-09-29T14:38:41.838400+00:00.
Case digest / f53d35a37b97703ee4d9f29fc04a49122744f651ff65190d0b787ef7c24c0a68