{"abstract":"A damage interval ending on a tile boundary invalidates the following clean tile.","category":"Raster clipping","checks":4,"contract":"For nonnegative integer damaged span [start,end) with end>=start and positive tile size, list every intersected tile index once.","evaluation_group":"xg-damage-tiles-exclusive-end","failed_approach":"Excluding the final quotient omits a partially covered ending tile.","family":"xg-damage-tiles-exclusive-end","id":"FA-10666","implementations":{"attempt":{"sha256":"015bad4efc8bc8bf5cc597ebc4cc5a62883cfb2f0f6a00b0f82a7a6c58cca8a7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(start, end, tile):\n    return list(range(start//tile,end//tile))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*(0, 8, 4)), [0, 1])\ncheck('fixture 2', solve(*(1, 5, 4)), [0, 1])\ncheck('fixture 3', solve(*(4, 4, 4)), [])\ncheck('fixture 4', solve(*(4, 8, 4)), [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":"6cc5a4e106a3699fd731ad3d04352a8434580ce66fc797b8afa7165eaa15c68e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(start, end, tile):\n    return list(range(start//tile,end//tile+1))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*(0, 8, 4)), [0, 1])\ncheck('fixture 2', solve(*(1, 5, 4)), [0, 1])\ncheck('fixture 3', solve(*(4, 4, 4)), [])\ncheck('fixture 4', solve(*(4, 8, 4)), [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":"518593d0fcfa7bffc96f7fca039ac08fd738685ea0ffc3a55df9c78725aa8442","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(start, end, tile):\n    return list(range(start//tile,(end-1)//tile+1)) if end>start else []\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve(*(0, 8, 4)), [0, 1])\ncheck('fixture 2', solve(*(1, 5, 4)), [0, 1])\ncheck('fixture 3', solve(*(4, 4, 4)), [])\ncheck('fixture 4', solve(*(4, 8, 4)), [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-damage-tiles-exclusive-end","generated_at":"2026-09-29T14:38:41.166904+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: For nonnegative integer damaged span [start,end) with end>=start and positive tile size, list every intersected tile index once.","root_cause":"A damage interval ending on a tile boundary invalidates the following clean tile.","sha256":"35293da91be04a553ee71c4325f8db28065dfa4ec3f5087bf9d46619975461cb","title":"Damage tiles exclusive end · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.789,"exit_code":1,"observations":[{"actual":[0,1],"check":"fixture 1","expected":[0,1],"passed":true},{"actual":[0],"check":"fixture 2","expected":[0,1],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[1],"check":"fixture 4","expected":[1],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0, 1], \"expected\": [0, 1], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [0], \"expected\": [0, 1], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [1], \"expected\": [1], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.375,"exit_code":1,"observations":[{"actual":[0,1,2],"check":"fixture 1","expected":[0,1],"passed":false},{"actual":[0,1],"check":"fixture 2","expected":[0,1],"passed":true},{"actual":[1],"check":"fixture 3","expected":[],"passed":false},{"actual":[1,2],"check":"fixture 4","expected":[1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0, 1, 2], \"expected\": [0, 1], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [0, 1], \"expected\": [0, 1], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [1], \"expected\": [], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [1, 2], \"expected\": [1], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.157,"exit_code":0,"observations":[{"actual":[0,1],"check":"fixture 1","expected":[0,1],"passed":true},{"actual":[0,1],"check":"fixture 2","expected":[0,1],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[1],"check":"fixture 4","expected":[1],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0, 1], \"expected\": [0, 1], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [0, 1], \"expected\": [0, 1], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [1], \"expected\": [1], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}