FA-53197 / Raster memory layout / Member archive
Heterogeneous Channel Records: Pixel record pitch omits footer or pads all channels to largest width · case 02
The returned physical layout descriptor disagrees with the declared buffer mapping at pixel_pitch.
Case contract
A toy pixel record stores channels with widths [1,2,1,4] bytes and a two-byte per-pixel footer. A view remaps logical channel indices through [2,0,3,1], and image rows have a three-byte guard. Return byte ranges without numeric interpretation. Return the named intermediate layout descriptor and final address fields; all quantities are integer byte offsets unless explicitly stated.
Why this case matters
Offline raster resource, upload, readback, and storage-layout regression model.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| layout fixture 1 | {"channel_end": 26, "channel_offsets": [0, 1, 3, 4], "channel_size": 1, "channel_start": 25, "footer_start": 30, "other_channel_ranges": [[22, 23], [23, 25], [26, 30]], "physical_channel": 2, "pixel_origin": 22, "pixel_pitch": 8, "row_pitch": 11} | {"channel_end": 26, "channel_offsets": [0, 1, 3, 4], "channel_size": 1, "channel_start": 25, "footer_start": 30, "other_channel_ranges": [[22, 23], [23, 25], [26, 30]], "physical_channel": 2, "pixel_origin": 22, "pixel_pitch": 10, "row_pitch": 13} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗