{"abstract":"The horizontal subimage origin is ignored.","category":"Raster memory layout","checks":4,"contract":"Extract an in-bounds nonnegative integer rectangular subimage from rectangular row storage, retaining selected row and column offsets.","evaluation_group":"xg-subimage-row-offset","failed_approach":"Correcting columns while dropping the vertical origin reads the wrong scanlines.","family":"xg-subimage-row-offset","id":"FA-10746","implementations":{"attempt":{"sha256":"147ede46717469fc1cf41f13f2d48e98ad1bdba78df11650771d3852c90de123","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(rows, x, y, width, height):\n    return [list(row[x:x+width]) for row in rows[:height]]\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], [7, 8, 9]], 1, 1, 2, 2)), [[5, 6], [8, 9]])\ncheck('fixture 2', solve(*([[1, 2], [3, 4]], 0, 0, 1, 1)), [[1]])\ncheck('fixture 3', solve(*([[1, 2]], 1, 0, 1, 1)), [[2]])\ncheck('fixture 4', solve(*([[1]], 0, 0, 0, 1)), [[]])\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":"1faa8efc320175d9748f26108ee649a5e29e894a514ca99610cc0d14007a17e1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(rows, x, y, width, height):\n    return [list(row[:width]) for row in rows[y:y+height]]\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], [7, 8, 9]], 1, 1, 2, 2)), [[5, 6], [8, 9]])\ncheck('fixture 2', solve(*([[1, 2], [3, 4]], 0, 0, 1, 1)), [[1]])\ncheck('fixture 3', solve(*([[1, 2]], 1, 0, 1, 1)), [[2]])\ncheck('fixture 4', solve(*([[1]], 0, 0, 0, 1)), [[]])\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":"c43a6d9b684b7d47d4a56144ae0e9a24203e9c3ac35c9c361a4fb6a2dde4c788","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(rows, x, y, width, height):\n    return [list(row[x:x+width]) for row in rows[y:y+height]]\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], [7, 8, 9]], 1, 1, 2, 2)), [[5, 6], [8, 9]])\ncheck('fixture 2', solve(*([[1, 2], [3, 4]], 0, 0, 1, 1)), [[1]])\ncheck('fixture 3', solve(*([[1, 2]], 1, 0, 1, 1)), [[2]])\ncheck('fixture 4', solve(*([[1]], 0, 0, 0, 1)), [[]])\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-subimage-row-offset","generated_at":"2026-09-29T14:38:41.839179+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: Extract an in-bounds nonnegative integer rectangular subimage from rectangular row storage, retaining selected row and column offsets.","root_cause":"The horizontal subimage origin is ignored.","sha256":"421fcbbc3ff636db4d7c6f9232544192ebf1f7e30bb2eabf29e23a1931e37f2b","title":"Subimage row offset · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.481,"exit_code":1,"observations":[{"actual":[[2,3],[5,6]],"check":"fixture 1","expected":[[5,6],[8,9]],"passed":false},{"actual":[[1]],"check":"fixture 2","expected":[[1]],"passed":true},{"actual":[[2]],"check":"fixture 3","expected":[[2]],"passed":true},{"actual":[[]],"check":"fixture 4","expected":[[]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[2, 3], [5, 6]], \"expected\": [[5, 6], [8, 9]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[1]], \"expected\": [[1]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [[2]], \"expected\": [[2]], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[]], \"expected\": [[]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.923,"exit_code":1,"observations":[{"actual":[[4,5],[7,8]],"check":"fixture 1","expected":[[5,6],[8,9]],"passed":false},{"actual":[[1]],"check":"fixture 2","expected":[[1]],"passed":true},{"actual":[[1]],"check":"fixture 3","expected":[[2]],"passed":false},{"actual":[[]],"check":"fixture 4","expected":[[]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[4, 5], [7, 8]], \"expected\": [[5, 6], [8, 9]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[1]], \"expected\": [[1]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [[1]], \"expected\": [[2]], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [[]], \"expected\": [[]], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":40.539,"exit_code":0,"observations":[{"actual":[[5,6],[8,9]],"check":"fixture 1","expected":[[5,6],[8,9]],"passed":true},{"actual":[[1]],"check":"fixture 2","expected":[[1]],"passed":true},{"actual":[[2]],"check":"fixture 3","expected":[[2]],"passed":true},{"actual":[[]],"check":"fixture 4","expected":[[]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[5, 6], [8, 9]], \"expected\": [[5, 6], [8, 9]], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[1]], \"expected\": [[1]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [[2]], \"expected\": [[2]], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[]], \"expected\": [[]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}