{"abstract":"Chunk-local offsets omit the chunk base.","category":"Chunk citation alignment","checks":6,"contract":"Given chunk start b and local half-open span [s,e), return global [b+s,b+e).","contract_signature":"base, span","evaluation_group":"w3-cca-local_global","failed_approach":"Adding the base only to the start leaves the end local.","family":"w3-chunk-citation-alignment-local-to-global","id":"FA-99641","implementations":{"attempt":{"sha256":"e9c353666c867d9fd2b68233483e7444c2a9b0cdfb607ad1e3760dc3c275a16b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(base, span):\n    s,e=span\n    return [base+s,e]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('offset',solve(N,[2,5]),[N+2,N+5])\ncheck('zero local',solve(N,[0,1]),[N,N+1])\ncheck('nonzero base',solve(7,[3,4]),[10,11])\ncheck('empty span',solve(N,[2,2]),[N+2,N+2])\ncheck('wide span',solve(2,[1,8]),[3,10])\ncheck('base zero',solve(0,[4,6]),[4,6])\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":"cef6adcba993d5835d10c535a2e9dfd91c2016c6134892c7406672cc02029f37","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(base, span):\n    s,e=span\n    return [s,e]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('offset',solve(N,[2,5]),[N+2,N+5])\ncheck('zero local',solve(N,[0,1]),[N,N+1])\ncheck('nonzero base',solve(7,[3,4]),[10,11])\ncheck('empty span',solve(N,[2,2]),[N+2,N+2])\ncheck('wide span',solve(2,[1,8]),[3,10])\ncheck('base zero',solve(0,[4,6]),[4,6])\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":"Inputs are small integer offsets and identifiers under the stated toy contract; this does not define a document format or production citation API. 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":"w3-chunk-citation-alignment-local-to-global","generated_at":"2026-09-30T16:48:26.712558+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A deterministic citation bookkeeping model isolates source attribution from rendering and retrieval.","root_cause":"A local span is treated as a document offset.","sha256":"c3884cbfe013a8247a5a9321ec7575c739563b23121ef1e6d5b7f3c4798a067a","title":"Chunk-local offsets omit the chunk base · case 01","variant":1,"variant_policy":"The fixture code references N, supplied as 1 through 5. Fixed boundary checks may repeat. These records share one mechanism and must remain together in evaluation splits.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":27.317,"exit_code":1,"observations":[{"actual":[3,5],"check":"offset","expected":[3,6],"passed":false},{"actual":[1,1],"check":"zero local","expected":[1,2],"passed":false},{"actual":[10,4],"check":"nonzero base","expected":[10,11],"passed":false},{"actual":[3,2],"check":"empty span","expected":[3,3],"passed":false},{"actual":[3,8],"check":"wide span","expected":[3,10],"passed":false},{"actual":[4,6],"check":"base zero","expected":[4,6],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"offset\", \"actual\": [3, 5], \"expected\": [3, 6], \"passed\": false}, {\"check\": \"zero local\", \"actual\": [1, 1], \"expected\": [1, 2], \"passed\": false}, {\"check\": \"nonzero base\", \"actual\": [10, 4], \"expected\": [10, 11], \"passed\": false}, {\"check\": \"empty span\", \"actual\": [3, 2], \"expected\": [3, 3], \"passed\": false}, {\"check\": \"wide span\", \"actual\": [3, 8], \"expected\": [3, 10], \"passed\": false}, {\"check\": \"base zero\", \"actual\": [4, 6], \"expected\": [4, 6], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":28.348,"exit_code":1,"observations":[{"actual":[2,5],"check":"offset","expected":[3,6],"passed":false},{"actual":[0,1],"check":"zero local","expected":[1,2],"passed":false},{"actual":[3,4],"check":"nonzero base","expected":[10,11],"passed":false},{"actual":[2,2],"check":"empty span","expected":[3,3],"passed":false},{"actual":[1,8],"check":"wide span","expected":[3,10],"passed":false},{"actual":[4,6],"check":"base zero","expected":[4,6],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"offset\", \"actual\": [2, 5], \"expected\": [3, 6], \"passed\": false}, {\"check\": \"zero local\", \"actual\": [0, 1], \"expected\": [1, 2], \"passed\": false}, {\"check\": \"nonzero base\", \"actual\": [3, 4], \"expected\": [10, 11], \"passed\": false}, {\"check\": \"empty span\", \"actual\": [2, 2], \"expected\": [3, 3], \"passed\": false}, {\"check\": \"wide span\", \"actual\": [1, 8], \"expected\": [3, 10], \"passed\": false}, {\"check\": \"base zero\", \"actual\": [4, 6], \"expected\": [4, 6], \"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."}}