{"abstract":"The returned physical layout descriptor disagrees with the declared buffer mapping at physical_channel.","category":"Raster memory layout","checks":6,"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.","evaluation_group":"s3-raster-memory-layout-heterogeneous-channel-records","failed_approach":"The attempted repair uses p[\"remap\"].index(p[\"channel\"]) and still violates the layout contract.","family":"s3-raster-memory-layout-heterogeneous-channel-records-physical-channel","id":"FA-53201","implementations":{"attempt":{"sha256":"9fb680fbb2e948baa8d7facfee635bcd7a5f5a1ec95df2d3b0025f935bdd121d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(p):\n    p = dict(p)\n    channel_offsets = [sum(p[\"widths\"][:i]) for i in range(4)]\n    pixel_pitch = sum(p[\"widths\"])+2\n    physical_channel = p[\"remap\"].index(p[\"channel\"])\n    row_pitch = p[\"w\"]*pixel_pitch+3\n    pixel_origin = p[\"base\"]+p[\"y\"]*row_pitch+p[\"x\"]*pixel_pitch\n    channel_start = pixel_origin+channel_offsets[physical_channel]\n    channel_size = p[\"widths\"][physical_channel]\n    channel_end = channel_start+channel_size\n    footer_start = pixel_origin+sum(p[\"widths\"])\n    other_channel_ranges = [[pixel_origin+channel_offsets[i],pixel_origin+channel_offsets[i]+p[\"widths\"][i]] for i in range(4) if i!=physical_channel]\n    return {'channel_offsets': channel_offsets, 'pixel_pitch': pixel_pitch, 'physical_channel': physical_channel, 'row_pitch': row_pitch, 'pixel_origin': pixel_origin, 'channel_start': channel_start, 'channel_size': channel_size, 'channel_end': channel_end, 'footer_start': footer_start, 'other_channel_ranges': other_channel_ranges}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = {1: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 2, 'base': 11, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 11, 'channel_start': 14, 'channel_size': 1, 'channel_end': 15, 'footer_start': 19, 'other_channel_ranges': [[11, 12], [12, 14], [15, 19]]}), ({'w': 6, 'h': 4, 'x': 1, 'y': 2, 'b': 2, 'base': 11, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 63, 'pixel_origin': 147, 'channel_start': 147, 'channel_size': 1, 'channel_end': 148, 'footer_start': 155, 'other_channel_ranges': [[148, 150], [150, 151], [151, 155]]}), ({'w': 10, 'h': 8, 'x': 8, 'y': 6, 'b': 2, 'base': 11, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 103, 'pixel_origin': 709, 'channel_start': 713, 'channel_size': 4, 'channel_end': 717, 'footer_start': 717, 'other_channel_ranges': [[709, 710], [710, 712], [712, 713]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 2, 'base': 11, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1302, 'channel_start': 1303, 'channel_size': 2, 'channel_end': 1305, 'footer_start': 1310, 'other_channel_ranges': [[1302, 1303], [1305, 1306], [1306, 1310]]}), ({'w': 18, 'h': 10, 'x': 16, 'y': 8, 'b': 2, 'base': 11, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 183, 'pixel_origin': 1635, 'channel_start': 1638, 'channel_size': 1, 'channel_end': 1639, 'footer_start': 1643, 'other_channel_ranges': [[1635, 1636], [1636, 1638], [1639, 1643]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 2, 'base': 11, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 917, 'channel_start': 917, 'channel_size': 1, 'channel_end': 918, 'footer_start': 925, 'other_channel_ranges': [[918, 920], [920, 921], [921, 925]]})], 2: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 3, 'base': 22, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 22, 'channel_start': 25, 'channel_size': 1, 'channel_end': 26, 'footer_start': 30, 'other_channel_ranges': [[22, 23], [23, 25], [26, 30]]}), ({'w': 7, 'h': 5, 'x': 1, 'y': 2, 'b': 3, 'base': 22, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 178, 'channel_start': 178, 'channel_size': 1, 'channel_end': 179, 'footer_start': 186, 'other_channel_ranges': [[179, 181], [181, 182], [182, 186]]}), ({'w': 11, 'h': 9, 'x': 8, 'y': 6, 'b': 3, 'base': 22, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 113, 'pixel_origin': 780, 'channel_start': 784, 'channel_size': 4, 'channel_end': 788, 'footer_start': 788, 'other_channel_ranges': [[780, 781], [781, 783], [783, 784]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 3, 'base': 22, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1313, 'channel_start': 1314, 'channel_size': 2, 'channel_end': 1316, 'footer_start': 1321, 'other_channel_ranges': [[1313, 1314], [1316, 1317], [1317, 1321]]}), ({'w': 19, 'h': 11, 'x': 16, 'y': 8, 'b': 3, 'base': 22, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 193, 'pixel_origin': 1726, 'channel_start': 1729, 'channel_size': 1, 'channel_end': 1730, 'footer_start': 1734, 'other_channel_ranges': [[1726, 1727], [1727, 1729], [1730, 1734]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 3, 'base': 22, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 928, 'channel_start': 928, 'channel_size': 1, 'channel_end': 929, 'footer_start': 936, 'other_channel_ranges': [[929, 931], [931, 932], [932, 936]]})], 3: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 4, 'base': 33, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 33, 'channel_start': 36, 'channel_size': 1, 'channel_end': 37, 'footer_start': 41, 'other_channel_ranges': [[33, 34], [34, 36], [37, 41]]}), ({'w': 8, 'h': 6, 'x': 1, 'y': 2, 'b': 4, 'base': 33, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 83, 'pixel_origin': 209, 'channel_start': 209, 'channel_size': 1, 'channel_end': 210, 'footer_start': 217, 'other_channel_ranges': [[210, 212], [212, 213], [213, 217]]}), ({'w': 12, 'h': 10, 'x': 8, 'y': 6, 'b': 4, 'base': 33, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 123, 'pixel_origin': 851, 'channel_start': 855, 'channel_size': 4, 'channel_end': 859, 'footer_start': 859, 'other_channel_ranges': [[851, 852], [852, 854], [854, 855]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 4, 'base': 33, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1324, 'channel_start': 1325, 'channel_size': 2, 'channel_end': 1327, 'footer_start': 1332, 'other_channel_ranges': [[1324, 1325], [1327, 1328], [1328, 1332]]}), ({'w': 20, 'h': 12, 'x': 16, 'y': 8, 'b': 4, 'base': 33, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 203, 'pixel_origin': 1817, 'channel_start': 1820, 'channel_size': 1, 'channel_end': 1821, 'footer_start': 1825, 'other_channel_ranges': [[1817, 1818], [1818, 1820], [1821, 1825]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 4, 'base': 33, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 939, 'channel_start': 939, 'channel_size': 1, 'channel_end': 940, 'footer_start': 947, 'other_channel_ranges': [[940, 942], [942, 943], [943, 947]]})], 4: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 5, 'base': 44, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 44, 'channel_start': 47, 'channel_size': 1, 'channel_end': 48, 'footer_start': 52, 'other_channel_ranges': [[44, 45], [45, 47], [48, 52]]}), ({'w': 9, 'h': 7, 'x': 1, 'y': 2, 'b': 5, 'base': 44, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 93, 'pixel_origin': 240, 'channel_start': 240, 'channel_size': 1, 'channel_end': 241, 'footer_start': 248, 'other_channel_ranges': [[241, 243], [243, 244], [244, 248]]}), ({'w': 13, 'h': 11, 'x': 8, 'y': 6, 'b': 5, 'base': 44, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 133, 'pixel_origin': 922, 'channel_start': 926, 'channel_size': 4, 'channel_end': 930, 'footer_start': 930, 'other_channel_ranges': [[922, 923], [923, 925], [925, 926]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 5, 'base': 44, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1335, 'channel_start': 1336, 'channel_size': 2, 'channel_end': 1338, 'footer_start': 1343, 'other_channel_ranges': [[1335, 1336], [1338, 1339], [1339, 1343]]}), ({'w': 21, 'h': 13, 'x': 16, 'y': 8, 'b': 5, 'base': 44, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 213, 'pixel_origin': 1908, 'channel_start': 1911, 'channel_size': 1, 'channel_end': 1912, 'footer_start': 1916, 'other_channel_ranges': [[1908, 1909], [1909, 1911], [1912, 1916]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 5, 'base': 44, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 950, 'channel_start': 950, 'channel_size': 1, 'channel_end': 951, 'footer_start': 958, 'other_channel_ranges': [[951, 953], [953, 954], [954, 958]]})], 5: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 6, 'base': 55, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 55, 'channel_start': 58, 'channel_size': 1, 'channel_end': 59, 'footer_start': 63, 'other_channel_ranges': [[55, 56], [56, 58], [59, 63]]}), ({'w': 10, 'h': 8, 'x': 1, 'y': 2, 'b': 6, 'base': 55, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 103, 'pixel_origin': 271, 'channel_start': 271, 'channel_size': 1, 'channel_end': 272, 'footer_start': 279, 'other_channel_ranges': [[272, 274], [274, 275], [275, 279]]}), ({'w': 14, 'h': 12, 'x': 8, 'y': 6, 'b': 6, 'base': 55, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 143, 'pixel_origin': 993, 'channel_start': 997, 'channel_size': 4, 'channel_end': 1001, 'footer_start': 1001, 'other_channel_ranges': [[993, 994], [994, 996], [996, 997]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 6, 'base': 55, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1346, 'channel_start': 1347, 'channel_size': 2, 'channel_end': 1349, 'footer_start': 1354, 'other_channel_ranges': [[1346, 1347], [1349, 1350], [1350, 1354]]}), ({'w': 22, 'h': 14, 'x': 16, 'y': 8, 'b': 6, 'base': 55, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 223, 'pixel_origin': 1999, 'channel_start': 2002, 'channel_size': 1, 'channel_end': 2003, 'footer_start': 2007, 'other_channel_ranges': [[1999, 2000], [2000, 2002], [2003, 2007]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 6, 'base': 55, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 961, 'channel_start': 961, 'channel_size': 1, 'channel_end': 962, 'footer_start': 969, 'other_channel_ranges': [[962, 964], [964, 965], [965, 969]]})]}\nfor i, (p, expected) in enumerate(cases[N]):\n    check(\"layout fixture \" + str(i + 1), solve(p), expected)\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":"4b8fa06c0e02e5eca7c57323282005515ba678fd3cfd24af833bb3b71447ff10","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(p):\n    p = dict(p)\n    channel_offsets = [sum(p[\"widths\"][:i]) for i in range(4)]\n    pixel_pitch = sum(p[\"widths\"])+2\n    physical_channel = p[\"channel\"]\n    row_pitch = p[\"w\"]*pixel_pitch+3\n    pixel_origin = p[\"base\"]+p[\"y\"]*row_pitch+p[\"x\"]*pixel_pitch\n    channel_start = pixel_origin+channel_offsets[physical_channel]\n    channel_size = p[\"widths\"][physical_channel]\n    channel_end = channel_start+channel_size\n    footer_start = pixel_origin+sum(p[\"widths\"])\n    other_channel_ranges = [[pixel_origin+channel_offsets[i],pixel_origin+channel_offsets[i]+p[\"widths\"][i]] for i in range(4) if i!=physical_channel]\n    return {'channel_offsets': channel_offsets, 'pixel_pitch': pixel_pitch, 'physical_channel': physical_channel, 'row_pitch': row_pitch, 'pixel_origin': pixel_origin, 'channel_start': channel_start, 'channel_size': channel_size, 'channel_end': channel_end, 'footer_start': footer_start, 'other_channel_ranges': other_channel_ranges}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = {1: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 2, 'base': 11, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 11, 'channel_start': 14, 'channel_size': 1, 'channel_end': 15, 'footer_start': 19, 'other_channel_ranges': [[11, 12], [12, 14], [15, 19]]}), ({'w': 6, 'h': 4, 'x': 1, 'y': 2, 'b': 2, 'base': 11, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 63, 'pixel_origin': 147, 'channel_start': 147, 'channel_size': 1, 'channel_end': 148, 'footer_start': 155, 'other_channel_ranges': [[148, 150], [150, 151], [151, 155]]}), ({'w': 10, 'h': 8, 'x': 8, 'y': 6, 'b': 2, 'base': 11, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 103, 'pixel_origin': 709, 'channel_start': 713, 'channel_size': 4, 'channel_end': 717, 'footer_start': 717, 'other_channel_ranges': [[709, 710], [710, 712], [712, 713]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 2, 'base': 11, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1302, 'channel_start': 1303, 'channel_size': 2, 'channel_end': 1305, 'footer_start': 1310, 'other_channel_ranges': [[1302, 1303], [1305, 1306], [1306, 1310]]}), ({'w': 18, 'h': 10, 'x': 16, 'y': 8, 'b': 2, 'base': 11, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 183, 'pixel_origin': 1635, 'channel_start': 1638, 'channel_size': 1, 'channel_end': 1639, 'footer_start': 1643, 'other_channel_ranges': [[1635, 1636], [1636, 1638], [1639, 1643]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 2, 'base': 11, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 917, 'channel_start': 917, 'channel_size': 1, 'channel_end': 918, 'footer_start': 925, 'other_channel_ranges': [[918, 920], [920, 921], [921, 925]]})], 2: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 3, 'base': 22, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 22, 'channel_start': 25, 'channel_size': 1, 'channel_end': 26, 'footer_start': 30, 'other_channel_ranges': [[22, 23], [23, 25], [26, 30]]}), ({'w': 7, 'h': 5, 'x': 1, 'y': 2, 'b': 3, 'base': 22, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 178, 'channel_start': 178, 'channel_size': 1, 'channel_end': 179, 'footer_start': 186, 'other_channel_ranges': [[179, 181], [181, 182], [182, 186]]}), ({'w': 11, 'h': 9, 'x': 8, 'y': 6, 'b': 3, 'base': 22, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 113, 'pixel_origin': 780, 'channel_start': 784, 'channel_size': 4, 'channel_end': 788, 'footer_start': 788, 'other_channel_ranges': [[780, 781], [781, 783], [783, 784]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 3, 'base': 22, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1313, 'channel_start': 1314, 'channel_size': 2, 'channel_end': 1316, 'footer_start': 1321, 'other_channel_ranges': [[1313, 1314], [1316, 1317], [1317, 1321]]}), ({'w': 19, 'h': 11, 'x': 16, 'y': 8, 'b': 3, 'base': 22, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 193, 'pixel_origin': 1726, 'channel_start': 1729, 'channel_size': 1, 'channel_end': 1730, 'footer_start': 1734, 'other_channel_ranges': [[1726, 1727], [1727, 1729], [1730, 1734]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 3, 'base': 22, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 928, 'channel_start': 928, 'channel_size': 1, 'channel_end': 929, 'footer_start': 936, 'other_channel_ranges': [[929, 931], [931, 932], [932, 936]]})], 3: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 4, 'base': 33, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 33, 'channel_start': 36, 'channel_size': 1, 'channel_end': 37, 'footer_start': 41, 'other_channel_ranges': [[33, 34], [34, 36], [37, 41]]}), ({'w': 8, 'h': 6, 'x': 1, 'y': 2, 'b': 4, 'base': 33, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 83, 'pixel_origin': 209, 'channel_start': 209, 'channel_size': 1, 'channel_end': 210, 'footer_start': 217, 'other_channel_ranges': [[210, 212], [212, 213], [213, 217]]}), ({'w': 12, 'h': 10, 'x': 8, 'y': 6, 'b': 4, 'base': 33, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 123, 'pixel_origin': 851, 'channel_start': 855, 'channel_size': 4, 'channel_end': 859, 'footer_start': 859, 'other_channel_ranges': [[851, 852], [852, 854], [854, 855]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 4, 'base': 33, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1324, 'channel_start': 1325, 'channel_size': 2, 'channel_end': 1327, 'footer_start': 1332, 'other_channel_ranges': [[1324, 1325], [1327, 1328], [1328, 1332]]}), ({'w': 20, 'h': 12, 'x': 16, 'y': 8, 'b': 4, 'base': 33, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 203, 'pixel_origin': 1817, 'channel_start': 1820, 'channel_size': 1, 'channel_end': 1821, 'footer_start': 1825, 'other_channel_ranges': [[1817, 1818], [1818, 1820], [1821, 1825]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 4, 'base': 33, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 939, 'channel_start': 939, 'channel_size': 1, 'channel_end': 940, 'footer_start': 947, 'other_channel_ranges': [[940, 942], [942, 943], [943, 947]]})], 4: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 5, 'base': 44, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 44, 'channel_start': 47, 'channel_size': 1, 'channel_end': 48, 'footer_start': 52, 'other_channel_ranges': [[44, 45], [45, 47], [48, 52]]}), ({'w': 9, 'h': 7, 'x': 1, 'y': 2, 'b': 5, 'base': 44, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 93, 'pixel_origin': 240, 'channel_start': 240, 'channel_size': 1, 'channel_end': 241, 'footer_start': 248, 'other_channel_ranges': [[241, 243], [243, 244], [244, 248]]}), ({'w': 13, 'h': 11, 'x': 8, 'y': 6, 'b': 5, 'base': 44, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 133, 'pixel_origin': 922, 'channel_start': 926, 'channel_size': 4, 'channel_end': 930, 'footer_start': 930, 'other_channel_ranges': [[922, 923], [923, 925], [925, 926]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 5, 'base': 44, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1335, 'channel_start': 1336, 'channel_size': 2, 'channel_end': 1338, 'footer_start': 1343, 'other_channel_ranges': [[1335, 1336], [1338, 1339], [1339, 1343]]}), ({'w': 21, 'h': 13, 'x': 16, 'y': 8, 'b': 5, 'base': 44, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 213, 'pixel_origin': 1908, 'channel_start': 1911, 'channel_size': 1, 'channel_end': 1912, 'footer_start': 1916, 'other_channel_ranges': [[1908, 1909], [1909, 1911], [1912, 1916]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 5, 'base': 44, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 950, 'channel_start': 950, 'channel_size': 1, 'channel_end': 951, 'footer_start': 958, 'other_channel_ranges': [[951, 953], [953, 954], [954, 958]]})], 5: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 6, 'base': 55, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 55, 'channel_start': 58, 'channel_size': 1, 'channel_end': 59, 'footer_start': 63, 'other_channel_ranges': [[55, 56], [56, 58], [59, 63]]}), ({'w': 10, 'h': 8, 'x': 1, 'y': 2, 'b': 6, 'base': 55, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 103, 'pixel_origin': 271, 'channel_start': 271, 'channel_size': 1, 'channel_end': 272, 'footer_start': 279, 'other_channel_ranges': [[272, 274], [274, 275], [275, 279]]}), ({'w': 14, 'h': 12, 'x': 8, 'y': 6, 'b': 6, 'base': 55, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 143, 'pixel_origin': 993, 'channel_start': 997, 'channel_size': 4, 'channel_end': 1001, 'footer_start': 1001, 'other_channel_ranges': [[993, 994], [994, 996], [996, 997]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 6, 'base': 55, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1346, 'channel_start': 1347, 'channel_size': 2, 'channel_end': 1349, 'footer_start': 1354, 'other_channel_ranges': [[1346, 1347], [1349, 1350], [1350, 1354]]}), ({'w': 22, 'h': 14, 'x': 16, 'y': 8, 'b': 6, 'base': 55, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 223, 'pixel_origin': 1999, 'channel_start': 2002, 'channel_size': 1, 'channel_end': 2003, 'footer_start': 2007, 'other_channel_ranges': [[1999, 2000], [2000, 2002], [2003, 2007]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 6, 'base': 55, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 961, 'channel_start': 961, 'channel_size': 1, 'channel_end': 962, 'footer_start': 969, 'other_channel_ranges': [[962, 964], [964, 965], [965, 969]]})]}\nfor i, (p, expected) in enumerate(cases[N]):\n    check(\"layout fixture \" + str(i + 1), solve(p), expected)\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":"016a9bda869b72e8f1ae3876ea0ebcbafac9412f7f10d42db3a3ac415526f4c2","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(p):\n    p = dict(p)\n    channel_offsets = [sum(p[\"widths\"][:i]) for i in range(4)]\n    pixel_pitch = sum(p[\"widths\"])+2\n    physical_channel = p[\"remap\"][p[\"channel\"]]\n    row_pitch = p[\"w\"]*pixel_pitch+3\n    pixel_origin = p[\"base\"]+p[\"y\"]*row_pitch+p[\"x\"]*pixel_pitch\n    channel_start = pixel_origin+channel_offsets[physical_channel]\n    channel_size = p[\"widths\"][physical_channel]\n    channel_end = channel_start+channel_size\n    footer_start = pixel_origin+sum(p[\"widths\"])\n    other_channel_ranges = [[pixel_origin+channel_offsets[i],pixel_origin+channel_offsets[i]+p[\"widths\"][i]] for i in range(4) if i!=physical_channel]\n    return {'channel_offsets': channel_offsets, 'pixel_pitch': pixel_pitch, 'physical_channel': physical_channel, 'row_pitch': row_pitch, 'pixel_origin': pixel_origin, 'channel_start': channel_start, 'channel_size': channel_size, 'channel_end': channel_end, 'footer_start': footer_start, 'other_channel_ranges': other_channel_ranges}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = {1: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 2, 'base': 11, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 11, 'channel_start': 14, 'channel_size': 1, 'channel_end': 15, 'footer_start': 19, 'other_channel_ranges': [[11, 12], [12, 14], [15, 19]]}), ({'w': 6, 'h': 4, 'x': 1, 'y': 2, 'b': 2, 'base': 11, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 63, 'pixel_origin': 147, 'channel_start': 147, 'channel_size': 1, 'channel_end': 148, 'footer_start': 155, 'other_channel_ranges': [[148, 150], [150, 151], [151, 155]]}), ({'w': 10, 'h': 8, 'x': 8, 'y': 6, 'b': 2, 'base': 11, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 103, 'pixel_origin': 709, 'channel_start': 713, 'channel_size': 4, 'channel_end': 717, 'footer_start': 717, 'other_channel_ranges': [[709, 710], [710, 712], [712, 713]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 2, 'base': 11, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1302, 'channel_start': 1303, 'channel_size': 2, 'channel_end': 1305, 'footer_start': 1310, 'other_channel_ranges': [[1302, 1303], [1305, 1306], [1306, 1310]]}), ({'w': 18, 'h': 10, 'x': 16, 'y': 8, 'b': 2, 'base': 11, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 183, 'pixel_origin': 1635, 'channel_start': 1638, 'channel_size': 1, 'channel_end': 1639, 'footer_start': 1643, 'other_channel_ranges': [[1635, 1636], [1636, 1638], [1639, 1643]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 2, 'base': 11, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 917, 'channel_start': 917, 'channel_size': 1, 'channel_end': 918, 'footer_start': 925, 'other_channel_ranges': [[918, 920], [920, 921], [921, 925]]})], 2: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 3, 'base': 22, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 22, 'channel_start': 25, 'channel_size': 1, 'channel_end': 26, 'footer_start': 30, 'other_channel_ranges': [[22, 23], [23, 25], [26, 30]]}), ({'w': 7, 'h': 5, 'x': 1, 'y': 2, 'b': 3, 'base': 22, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 178, 'channel_start': 178, 'channel_size': 1, 'channel_end': 179, 'footer_start': 186, 'other_channel_ranges': [[179, 181], [181, 182], [182, 186]]}), ({'w': 11, 'h': 9, 'x': 8, 'y': 6, 'b': 3, 'base': 22, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 113, 'pixel_origin': 780, 'channel_start': 784, 'channel_size': 4, 'channel_end': 788, 'footer_start': 788, 'other_channel_ranges': [[780, 781], [781, 783], [783, 784]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 3, 'base': 22, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1313, 'channel_start': 1314, 'channel_size': 2, 'channel_end': 1316, 'footer_start': 1321, 'other_channel_ranges': [[1313, 1314], [1316, 1317], [1317, 1321]]}), ({'w': 19, 'h': 11, 'x': 16, 'y': 8, 'b': 3, 'base': 22, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 193, 'pixel_origin': 1726, 'channel_start': 1729, 'channel_size': 1, 'channel_end': 1730, 'footer_start': 1734, 'other_channel_ranges': [[1726, 1727], [1727, 1729], [1730, 1734]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 3, 'base': 22, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 928, 'channel_start': 928, 'channel_size': 1, 'channel_end': 929, 'footer_start': 936, 'other_channel_ranges': [[929, 931], [931, 932], [932, 936]]})], 3: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 4, 'base': 33, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 33, 'channel_start': 36, 'channel_size': 1, 'channel_end': 37, 'footer_start': 41, 'other_channel_ranges': [[33, 34], [34, 36], [37, 41]]}), ({'w': 8, 'h': 6, 'x': 1, 'y': 2, 'b': 4, 'base': 33, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 83, 'pixel_origin': 209, 'channel_start': 209, 'channel_size': 1, 'channel_end': 210, 'footer_start': 217, 'other_channel_ranges': [[210, 212], [212, 213], [213, 217]]}), ({'w': 12, 'h': 10, 'x': 8, 'y': 6, 'b': 4, 'base': 33, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 123, 'pixel_origin': 851, 'channel_start': 855, 'channel_size': 4, 'channel_end': 859, 'footer_start': 859, 'other_channel_ranges': [[851, 852], [852, 854], [854, 855]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 4, 'base': 33, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1324, 'channel_start': 1325, 'channel_size': 2, 'channel_end': 1327, 'footer_start': 1332, 'other_channel_ranges': [[1324, 1325], [1327, 1328], [1328, 1332]]}), ({'w': 20, 'h': 12, 'x': 16, 'y': 8, 'b': 4, 'base': 33, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 203, 'pixel_origin': 1817, 'channel_start': 1820, 'channel_size': 1, 'channel_end': 1821, 'footer_start': 1825, 'other_channel_ranges': [[1817, 1818], [1818, 1820], [1821, 1825]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 4, 'base': 33, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 939, 'channel_start': 939, 'channel_size': 1, 'channel_end': 940, 'footer_start': 947, 'other_channel_ranges': [[940, 942], [942, 943], [943, 947]]})], 4: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 5, 'base': 44, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 44, 'channel_start': 47, 'channel_size': 1, 'channel_end': 48, 'footer_start': 52, 'other_channel_ranges': [[44, 45], [45, 47], [48, 52]]}), ({'w': 9, 'h': 7, 'x': 1, 'y': 2, 'b': 5, 'base': 44, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 93, 'pixel_origin': 240, 'channel_start': 240, 'channel_size': 1, 'channel_end': 241, 'footer_start': 248, 'other_channel_ranges': [[241, 243], [243, 244], [244, 248]]}), ({'w': 13, 'h': 11, 'x': 8, 'y': 6, 'b': 5, 'base': 44, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 133, 'pixel_origin': 922, 'channel_start': 926, 'channel_size': 4, 'channel_end': 930, 'footer_start': 930, 'other_channel_ranges': [[922, 923], [923, 925], [925, 926]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 5, 'base': 44, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1335, 'channel_start': 1336, 'channel_size': 2, 'channel_end': 1338, 'footer_start': 1343, 'other_channel_ranges': [[1335, 1336], [1338, 1339], [1339, 1343]]}), ({'w': 21, 'h': 13, 'x': 16, 'y': 8, 'b': 5, 'base': 44, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 213, 'pixel_origin': 1908, 'channel_start': 1911, 'channel_size': 1, 'channel_end': 1912, 'footer_start': 1916, 'other_channel_ranges': [[1908, 1909], [1909, 1911], [1912, 1916]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 5, 'base': 44, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 950, 'channel_start': 950, 'channel_size': 1, 'channel_end': 951, 'footer_start': 958, 'other_channel_ranges': [[951, 953], [953, 954], [954, 958]]})], 5: [({'w': 1, 'h': 1, 'x': 0, 'y': 0, 'b': 6, 'base': 55, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 13, 'pixel_origin': 55, 'channel_start': 58, 'channel_size': 1, 'channel_end': 59, 'footer_start': 63, 'other_channel_ranges': [[55, 56], [56, 58], [59, 63]]}), ({'w': 10, 'h': 8, 'x': 1, 'y': 2, 'b': 6, 'base': 55, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 103, 'pixel_origin': 271, 'channel_start': 271, 'channel_size': 1, 'channel_end': 272, 'footer_start': 279, 'other_channel_ranges': [[272, 274], [274, 275], [275, 279]]}), ({'w': 14, 'h': 12, 'x': 8, 'y': 6, 'b': 6, 'base': 55, 'channel': 2, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 3, 'row_pitch': 143, 'pixel_origin': 993, 'channel_start': 997, 'channel_size': 4, 'channel_end': 1001, 'footer_start': 1001, 'other_channel_ranges': [[993, 994], [994, 996], [996, 997]]}), ({'w': 16, 'h': 8, 'x': 15, 'y': 7, 'b': 6, 'base': 55, 'channel': 3, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 1, 'row_pitch': 163, 'pixel_origin': 1346, 'channel_start': 1347, 'channel_size': 2, 'channel_end': 1349, 'footer_start': 1354, 'other_channel_ranges': [[1346, 1347], [1349, 1350], [1350, 1354]]}), ({'w': 22, 'h': 14, 'x': 16, 'y': 8, 'b': 6, 'base': 55, 'channel': 0, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 2, 'row_pitch': 223, 'pixel_origin': 1999, 'channel_start': 2002, 'channel_size': 1, 'channel_end': 2003, 'footer_start': 2007, 'other_channel_ranges': [[1999, 2000], [2000, 2002], [2003, 2007]]}), ({'w': 7, 'h': 13, 'x': 3, 'y': 12, 'b': 6, 'base': 55, 'channel': 1, 'remap': [2, 0, 3, 1], 'widths': [1, 2, 1, 4]}, {'channel_offsets': [0, 1, 3, 4], 'pixel_pitch': 10, 'physical_channel': 0, 'row_pitch': 73, 'pixel_origin': 961, 'channel_start': 961, 'channel_size': 1, 'channel_end': 962, 'footer_start': 969, 'other_channel_ranges': [[962, 964], [964, 965], [965, 969]]})]}\nfor i, (p, expected) in enumerate(cases[N]):\n    check(\"layout fixture \" + str(i + 1), solve(p), expected)\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":"Stipulated deterministic toy buffer layout; not a graphics API, codec, GPU vendor tiling specification, or hardware-conformance claim. Inputs satisfy the dimensions and bounds stated by the model. 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":"s3-raster-memory-layout-heterogeneous-channel-records-physical-channel","generated_at":"2026-09-29T14:45:36.602047+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline raster resource, upload, readback, and storage-layout regression model.","repair":"Apply the stipulated layout rule at physical_channel: p[\"remap\"][p[\"channel\"]].","root_cause":"View channel mapping ignored or inverse permutation applied The faulty expression is p[\"channel\"].","sha256":"e49500a8205c1b14233a35713d4b9b169535ef2c32a4dfef1e88a3c3c6d444fc","title":"Heterogeneous Channel Records: View channel mapping ignored or inverse permutation applied · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.631,"exit_code":1,"observations":[{"actual":{"channel_end":14,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":12,"footer_start":19,"other_channel_ranges":[[11,12],[14,15],[15,19]],"physical_channel":1,"pixel_origin":11,"pixel_pitch":10,"row_pitch":13},"check":"layout fixture 1","expected":{"channel_end":15,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":14,"footer_start":19,"other_channel_ranges":[[11,12],[12,14],[15,19]],"physical_channel":2,"pixel_origin":11,"pixel_pitch":10,"row_pitch":13},"passed":false},{"actual":{"channel_end":155,"channel_offsets":[0,1,3,4],"channel_size":4,"channel_start":151,"footer_start":155,"other_channel_ranges":[[147,148],[148,150],[150,151]],"physical_channel":3,"pixel_origin":147,"pixel_pitch":10,"row_pitch":63},"check":"layout fixture 2","expected":{"channel_end":148,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":147,"footer_start":155,"other_channel_ranges":[[148,150],[150,151],[151,155]],"physical_channel":0,"pixel_origin":147,"pixel_pitch":10,"row_pitch":63},"passed":false},{"actual":{"channel_end":710,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":709,"footer_start":717,"other_channel_ranges":[[710,712],[712,713],[713,717]],"physical_channel":0,"pixel_origin":709,"pixel_pitch":10,"row_pitch":103},"check":"layout fixture 3","expected":{"channel_end":717,"channel_offsets":[0,1,3,4],"channel_size":4,"channel_start":713,"footer_start":717,"other_channel_ranges":[[709,710],[710,712],[712,713]],"physical_channel":3,"pixel_origin":709,"pixel_pitch":10,"row_pitch":103},"passed":false},{"actual":{"channel_end":1306,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":1305,"footer_start":1310,"other_channel_ranges":[[1302,1303],[1303,1305],[1306,1310]],"physical_channel":2,"pixel_origin":1302,"pixel_pitch":10,"row_pitch":163},"check":"layout fixture 4","expected":{"channel_end":1305,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":1303,"footer_start":1310,"other_channel_ranges":[[1302,1303],[1305,1306],[1306,1310]],"physical_channel":1,"pixel_origin":1302,"pixel_pitch":10,"row_pitch":163},"passed":false},{"actual":{"channel_end":1638,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":1636,"footer_start":1643,"other_channel_ranges":[[1635,1636],[1638,1639],[1639,1643]],"physical_channel":1,"pixel_origin":1635,"pixel_pitch":10,"row_pitch":183},"check":"layout fixture 5","expected":{"channel_end":1639,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":1638,"footer_start":1643,"other_channel_ranges":[[1635,1636],[1636,1638],[1639,1643]],"physical_channel":2,"pixel_origin":1635,"pixel_pitch":10,"row_pitch":183},"passed":false},{"actual":{"channel_end":925,"channel_offsets":[0,1,3,4],"channel_size":4,"channel_start":921,"footer_start":925,"other_channel_ranges":[[917,918],[918,920],[920,921]],"physical_channel":3,"pixel_origin":917,"pixel_pitch":10,"row_pitch":73},"check":"layout fixture 6","expected":{"channel_end":918,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":917,"footer_start":925,"other_channel_ranges":[[918,920],[920,921],[921,925]],"physical_channel":0,"pixel_origin":917,"pixel_pitch":10,"row_pitch":73},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"layout fixture 1\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 13, \"pixel_origin\": 11, \"channel_start\": 12, \"channel_size\": 2, \"channel_end\": 14, \"footer_start\": 19, \"other_channel_ranges\": [[11, 12], [14, 15], [15, 19]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 13, \"pixel_origin\": 11, \"channel_start\": 14, \"channel_size\": 1, \"channel_end\": 15, \"footer_start\": 19, \"other_channel_ranges\": [[11, 12], [12, 14], [15, 19]]}, \"passed\": false}, {\"check\": \"layout fixture 2\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 3, \"row_pitch\": 63, \"pixel_origin\": 147, \"channel_start\": 151, \"channel_size\": 4, \"channel_end\": 155, \"footer_start\": 155, \"other_channel_ranges\": [[147, 148], [148, 150], [150, 151]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 63, \"pixel_origin\": 147, \"channel_start\": 147, \"channel_size\": 1, \"channel_end\": 148, \"footer_start\": 155, \"other_channel_ranges\": [[148, 150], [150, 151], [151, 155]]}, \"passed\": false}, {\"check\": \"layout fixture 3\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 103, \"pixel_origin\": 709, \"channel_start\": 709, \"channel_size\": 1, \"channel_end\": 710, \"footer_start\": 717, \"other_channel_ranges\": [[710, 712], [712, 713], [713, 717]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 3, \"row_pitch\": 103, \"pixel_origin\": 709, \"channel_start\": 713, \"channel_size\": 4, \"channel_end\": 717, \"footer_start\": 717, \"other_channel_ranges\": [[709, 710], [710, 712], [712, 713]]}, \"passed\": false}, {\"check\": \"layout fixture 4\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 163, \"pixel_origin\": 1302, \"channel_start\": 1305, \"channel_size\": 1, \"channel_end\": 1306, \"footer_start\": 1310, \"other_channel_ranges\": [[1302, 1303], [1303, 1305], [1306, 1310]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 163, \"pixel_origin\": 1302, \"channel_start\": 1303, \"channel_size\": 2, \"channel_end\": 1305, \"footer_start\": 1310, \"other_channel_ranges\": [[1302, 1303], [1305, 1306], [1306, 1310]]}, \"passed\": false}, {\"check\": \"layout fixture 5\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 183, \"pixel_origin\": 1635, \"channel_start\": 1636, \"channel_size\": 2, \"channel_end\": 1638, \"footer_start\": 1643, \"other_channel_ranges\": [[1635, 1636], [1638, 1639], [1639, 1643]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 183, \"pixel_origin\": 1635, \"channel_start\": 1638, \"channel_size\": 1, \"channel_end\": 1639, \"footer_start\": 1643, \"other_channel_ranges\": [[1635, 1636], [1636, 1638], [1639, 1643]]}, \"passed\": false}, {\"check\": \"layout fixture 6\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 3, \"row_pitch\": 73, \"pixel_origin\": 917, \"channel_start\": 921, \"channel_size\": 4, \"channel_end\": 925, \"footer_start\": 925, \"other_channel_ranges\": [[917, 918], [918, 920], [920, 921]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 73, \"pixel_origin\": 917, \"channel_start\": 917, \"channel_size\": 1, \"channel_end\": 918, \"footer_start\": 925, \"other_channel_ranges\": [[918, 920], [920, 921], [921, 925]]}, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.613,"exit_code":1,"observations":[{"actual":{"channel_end":12,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":11,"footer_start":19,"other_channel_ranges":[[12,14],[14,15],[15,19]],"physical_channel":0,"pixel_origin":11,"pixel_pitch":10,"row_pitch":13},"check":"layout fixture 1","expected":{"channel_end":15,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":14,"footer_start":19,"other_channel_ranges":[[11,12],[12,14],[15,19]],"physical_channel":2,"pixel_origin":11,"pixel_pitch":10,"row_pitch":13},"passed":false},{"actual":{"channel_end":150,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":148,"footer_start":155,"other_channel_ranges":[[147,148],[150,151],[151,155]],"physical_channel":1,"pixel_origin":147,"pixel_pitch":10,"row_pitch":63},"check":"layout fixture 2","expected":{"channel_end":148,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":147,"footer_start":155,"other_channel_ranges":[[148,150],[150,151],[151,155]],"physical_channel":0,"pixel_origin":147,"pixel_pitch":10,"row_pitch":63},"passed":false},{"actual":{"channel_end":713,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":712,"footer_start":717,"other_channel_ranges":[[709,710],[710,712],[713,717]],"physical_channel":2,"pixel_origin":709,"pixel_pitch":10,"row_pitch":103},"check":"layout fixture 3","expected":{"channel_end":717,"channel_offsets":[0,1,3,4],"channel_size":4,"channel_start":713,"footer_start":717,"other_channel_ranges":[[709,710],[710,712],[712,713]],"physical_channel":3,"pixel_origin":709,"pixel_pitch":10,"row_pitch":103},"passed":false},{"actual":{"channel_end":1310,"channel_offsets":[0,1,3,4],"channel_size":4,"channel_start":1306,"footer_start":1310,"other_channel_ranges":[[1302,1303],[1303,1305],[1305,1306]],"physical_channel":3,"pixel_origin":1302,"pixel_pitch":10,"row_pitch":163},"check":"layout fixture 4","expected":{"channel_end":1305,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":1303,"footer_start":1310,"other_channel_ranges":[[1302,1303],[1305,1306],[1306,1310]],"physical_channel":1,"pixel_origin":1302,"pixel_pitch":10,"row_pitch":163},"passed":false},{"actual":{"channel_end":1636,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":1635,"footer_start":1643,"other_channel_ranges":[[1636,1638],[1638,1639],[1639,1643]],"physical_channel":0,"pixel_origin":1635,"pixel_pitch":10,"row_pitch":183},"check":"layout fixture 5","expected":{"channel_end":1639,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":1638,"footer_start":1643,"other_channel_ranges":[[1635,1636],[1636,1638],[1639,1643]],"physical_channel":2,"pixel_origin":1635,"pixel_pitch":10,"row_pitch":183},"passed":false},{"actual":{"channel_end":920,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":918,"footer_start":925,"other_channel_ranges":[[917,918],[920,921],[921,925]],"physical_channel":1,"pixel_origin":917,"pixel_pitch":10,"row_pitch":73},"check":"layout fixture 6","expected":{"channel_end":918,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":917,"footer_start":925,"other_channel_ranges":[[918,920],[920,921],[921,925]],"physical_channel":0,"pixel_origin":917,"pixel_pitch":10,"row_pitch":73},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"layout fixture 1\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 13, \"pixel_origin\": 11, \"channel_start\": 11, \"channel_size\": 1, \"channel_end\": 12, \"footer_start\": 19, \"other_channel_ranges\": [[12, 14], [14, 15], [15, 19]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 13, \"pixel_origin\": 11, \"channel_start\": 14, \"channel_size\": 1, \"channel_end\": 15, \"footer_start\": 19, \"other_channel_ranges\": [[11, 12], [12, 14], [15, 19]]}, \"passed\": false}, {\"check\": \"layout fixture 2\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 63, \"pixel_origin\": 147, \"channel_start\": 148, \"channel_size\": 2, \"channel_end\": 150, \"footer_start\": 155, \"other_channel_ranges\": [[147, 148], [150, 151], [151, 155]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 63, \"pixel_origin\": 147, \"channel_start\": 147, \"channel_size\": 1, \"channel_end\": 148, \"footer_start\": 155, \"other_channel_ranges\": [[148, 150], [150, 151], [151, 155]]}, \"passed\": false}, {\"check\": \"layout fixture 3\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 103, \"pixel_origin\": 709, \"channel_start\": 712, \"channel_size\": 1, \"channel_end\": 713, \"footer_start\": 717, \"other_channel_ranges\": [[709, 710], [710, 712], [713, 717]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 3, \"row_pitch\": 103, \"pixel_origin\": 709, \"channel_start\": 713, \"channel_size\": 4, \"channel_end\": 717, \"footer_start\": 717, \"other_channel_ranges\": [[709, 710], [710, 712], [712, 713]]}, \"passed\": false}, {\"check\": \"layout fixture 4\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 3, \"row_pitch\": 163, \"pixel_origin\": 1302, \"channel_start\": 1306, \"channel_size\": 4, \"channel_end\": 1310, \"footer_start\": 1310, \"other_channel_ranges\": [[1302, 1303], [1303, 1305], [1305, 1306]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 163, \"pixel_origin\": 1302, \"channel_start\": 1303, \"channel_size\": 2, \"channel_end\": 1305, \"footer_start\": 1310, \"other_channel_ranges\": [[1302, 1303], [1305, 1306], [1306, 1310]]}, \"passed\": false}, {\"check\": \"layout fixture 5\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 183, \"pixel_origin\": 1635, \"channel_start\": 1635, \"channel_size\": 1, \"channel_end\": 1636, \"footer_start\": 1643, \"other_channel_ranges\": [[1636, 1638], [1638, 1639], [1639, 1643]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 183, \"pixel_origin\": 1635, \"channel_start\": 1638, \"channel_size\": 1, \"channel_end\": 1639, \"footer_start\": 1643, \"other_channel_ranges\": [[1635, 1636], [1636, 1638], [1639, 1643]]}, \"passed\": false}, {\"check\": \"layout fixture 6\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 73, \"pixel_origin\": 917, \"channel_start\": 918, \"channel_size\": 2, \"channel_end\": 920, \"footer_start\": 925, \"other_channel_ranges\": [[917, 918], [920, 921], [921, 925]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 73, \"pixel_origin\": 917, \"channel_start\": 917, \"channel_size\": 1, \"channel_end\": 918, \"footer_start\": 925, \"other_channel_ranges\": [[918, 920], [920, 921], [921, 925]]}, \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":40.538,"exit_code":0,"observations":[{"actual":{"channel_end":15,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":14,"footer_start":19,"other_channel_ranges":[[11,12],[12,14],[15,19]],"physical_channel":2,"pixel_origin":11,"pixel_pitch":10,"row_pitch":13},"check":"layout fixture 1","expected":{"channel_end":15,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":14,"footer_start":19,"other_channel_ranges":[[11,12],[12,14],[15,19]],"physical_channel":2,"pixel_origin":11,"pixel_pitch":10,"row_pitch":13},"passed":true},{"actual":{"channel_end":148,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":147,"footer_start":155,"other_channel_ranges":[[148,150],[150,151],[151,155]],"physical_channel":0,"pixel_origin":147,"pixel_pitch":10,"row_pitch":63},"check":"layout fixture 2","expected":{"channel_end":148,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":147,"footer_start":155,"other_channel_ranges":[[148,150],[150,151],[151,155]],"physical_channel":0,"pixel_origin":147,"pixel_pitch":10,"row_pitch":63},"passed":true},{"actual":{"channel_end":717,"channel_offsets":[0,1,3,4],"channel_size":4,"channel_start":713,"footer_start":717,"other_channel_ranges":[[709,710],[710,712],[712,713]],"physical_channel":3,"pixel_origin":709,"pixel_pitch":10,"row_pitch":103},"check":"layout fixture 3","expected":{"channel_end":717,"channel_offsets":[0,1,3,4],"channel_size":4,"channel_start":713,"footer_start":717,"other_channel_ranges":[[709,710],[710,712],[712,713]],"physical_channel":3,"pixel_origin":709,"pixel_pitch":10,"row_pitch":103},"passed":true},{"actual":{"channel_end":1305,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":1303,"footer_start":1310,"other_channel_ranges":[[1302,1303],[1305,1306],[1306,1310]],"physical_channel":1,"pixel_origin":1302,"pixel_pitch":10,"row_pitch":163},"check":"layout fixture 4","expected":{"channel_end":1305,"channel_offsets":[0,1,3,4],"channel_size":2,"channel_start":1303,"footer_start":1310,"other_channel_ranges":[[1302,1303],[1305,1306],[1306,1310]],"physical_channel":1,"pixel_origin":1302,"pixel_pitch":10,"row_pitch":163},"passed":true},{"actual":{"channel_end":1639,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":1638,"footer_start":1643,"other_channel_ranges":[[1635,1636],[1636,1638],[1639,1643]],"physical_channel":2,"pixel_origin":1635,"pixel_pitch":10,"row_pitch":183},"check":"layout fixture 5","expected":{"channel_end":1639,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":1638,"footer_start":1643,"other_channel_ranges":[[1635,1636],[1636,1638],[1639,1643]],"physical_channel":2,"pixel_origin":1635,"pixel_pitch":10,"row_pitch":183},"passed":true},{"actual":{"channel_end":918,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":917,"footer_start":925,"other_channel_ranges":[[918,920],[920,921],[921,925]],"physical_channel":0,"pixel_origin":917,"pixel_pitch":10,"row_pitch":73},"check":"layout fixture 6","expected":{"channel_end":918,"channel_offsets":[0,1,3,4],"channel_size":1,"channel_start":917,"footer_start":925,"other_channel_ranges":[[918,920],[920,921],[921,925]],"physical_channel":0,"pixel_origin":917,"pixel_pitch":10,"row_pitch":73},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"layout fixture 1\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 13, \"pixel_origin\": 11, \"channel_start\": 14, \"channel_size\": 1, \"channel_end\": 15, \"footer_start\": 19, \"other_channel_ranges\": [[11, 12], [12, 14], [15, 19]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 13, \"pixel_origin\": 11, \"channel_start\": 14, \"channel_size\": 1, \"channel_end\": 15, \"footer_start\": 19, \"other_channel_ranges\": [[11, 12], [12, 14], [15, 19]]}, \"passed\": true}, {\"check\": \"layout fixture 2\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 63, \"pixel_origin\": 147, \"channel_start\": 147, \"channel_size\": 1, \"channel_end\": 148, \"footer_start\": 155, \"other_channel_ranges\": [[148, 150], [150, 151], [151, 155]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 63, \"pixel_origin\": 147, \"channel_start\": 147, \"channel_size\": 1, \"channel_end\": 148, \"footer_start\": 155, \"other_channel_ranges\": [[148, 150], [150, 151], [151, 155]]}, \"passed\": true}, {\"check\": \"layout fixture 3\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 3, \"row_pitch\": 103, \"pixel_origin\": 709, \"channel_start\": 713, \"channel_size\": 4, \"channel_end\": 717, \"footer_start\": 717, \"other_channel_ranges\": [[709, 710], [710, 712], [712, 713]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 3, \"row_pitch\": 103, \"pixel_origin\": 709, \"channel_start\": 713, \"channel_size\": 4, \"channel_end\": 717, \"footer_start\": 717, \"other_channel_ranges\": [[709, 710], [710, 712], [712, 713]]}, \"passed\": true}, {\"check\": \"layout fixture 4\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 163, \"pixel_origin\": 1302, \"channel_start\": 1303, \"channel_size\": 2, \"channel_end\": 1305, \"footer_start\": 1310, \"other_channel_ranges\": [[1302, 1303], [1305, 1306], [1306, 1310]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 1, \"row_pitch\": 163, \"pixel_origin\": 1302, \"channel_start\": 1303, \"channel_size\": 2, \"channel_end\": 1305, \"footer_start\": 1310, \"other_channel_ranges\": [[1302, 1303], [1305, 1306], [1306, 1310]]}, \"passed\": true}, {\"check\": \"layout fixture 5\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 183, \"pixel_origin\": 1635, \"channel_start\": 1638, \"channel_size\": 1, \"channel_end\": 1639, \"footer_start\": 1643, \"other_channel_ranges\": [[1635, 1636], [1636, 1638], [1639, 1643]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 2, \"row_pitch\": 183, \"pixel_origin\": 1635, \"channel_start\": 1638, \"channel_size\": 1, \"channel_end\": 1639, \"footer_start\": 1643, \"other_channel_ranges\": [[1635, 1636], [1636, 1638], [1639, 1643]]}, \"passed\": true}, {\"check\": \"layout fixture 6\", \"actual\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 73, \"pixel_origin\": 917, \"channel_start\": 917, \"channel_size\": 1, \"channel_end\": 918, \"footer_start\": 925, \"other_channel_ranges\": [[918, 920], [920, 921], [921, 925]]}, \"expected\": {\"channel_offsets\": [0, 1, 3, 4], \"pixel_pitch\": 10, \"physical_channel\": 0, \"row_pitch\": 73, \"pixel_origin\": 917, \"channel_start\": 917, \"channel_size\": 1, \"channel_end\": 918, \"footer_start\": 925, \"other_channel_ranges\": [[918, 920], [920, 921], [921, 925]]}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}