{"abstract":"Negative clipping coordinates are interpreted as Python indices from the row end.","category":"Raster clipping","checks":4,"contract":"Clip integer half-open horizontal coverage [start,end) against a row extent [0,len(row)); return covered pixels in order.","contract_signature":"row, start, end","evaluation_group":"xg-clip-row-both-ends","failed_approach":"Adding one to the exclusive end shades an extra pixel.","family":"xg-clip-row-both-ends","id":"FA-10641","implementations":{"attempt":{"sha256":"83f8d8ef3da21eef89441a3f5e43f81dd2cd415f3a2518712d433ce906e4b55d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(row, start, end):\n    return row[max(0,start):min(len(row),end)+1]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*([0, 1, 2, 3], -2, 2)), [0, 1])\ncheck('fixture 2', solve(*([0, 1, 2, 3], 1, 3)), [1, 2])\ncheck('fixture 3', solve(*([0, 1], 4, 8)), [])\ncheck('fixture 4', solve(*([0, 1], 0, 0)), [])\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":"ffbc9966c88936cdfb836918801d9bf47acc19b2cf12530654b2d1567718adb5","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(row, start, end):\n    return row[start:end]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*([0, 1, 2, 3], -2, 2)), [0, 1])\ncheck('fixture 2', solve(*([0, 1, 2, 3], 1, 3)), [1, 2])\ncheck('fixture 3', solve(*([0, 1], 4, 8)), [])\ncheck('fixture 4', solve(*([0, 1], 0, 0)), [])\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-clip-row-both-ends","generated_at":"2026-09-29T14:38:40.900005+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.","root_cause":"Negative clipping coordinates are interpreted as Python indices from the row end.","sha256":"81cf85e90c229be10ca2699b8c78f5fdd917509ec28d8a2226c54933a5a327e0","title":"Clip row both ends · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":50.365,"exit_code":1,"observations":[{"actual":[0,1,2],"check":"fixture 1","expected":[0,1],"passed":false},{"actual":[1,2,3],"check":"fixture 2","expected":[1,2],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[0],"check":"fixture 4","expected":[],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0, 1, 2], \"expected\": [0, 1], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [1, 2, 3], \"expected\": [1, 2], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0], \"expected\": [], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.827,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[0,1],"passed":false},{"actual":[1,2],"check":"fixture 2","expected":[1,2],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[],"check":"fixture 4","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [0, 1], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [1, 2], \"expected\": [1, 2], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}