{"abstract":"A citation split across chunks is discarded.","category":"Chunk citation alignment","checks":6,"contract":"Return IDs of all chunks with a nonempty intersection with citation [s,e), in input order.","contract_signature":"chunks, span","evaluation_group":"w3-cca-multi_chunk","failed_approach":"Selecting only the first overlapping chunk loses the continuation.","family":"w3-chunk-citation-alignment-multi-chunk-citation","id":"FA-99681","implementations":{"attempt":{"sha256":"08aa53e7f2ec222a35c471f025cef3ef5bab01cde58f028f60db19a6dbaf6468","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(chunks, span):\n    s,e=span\n    return [i for i,(a,b) in enumerate(chunks) if a<e and s<b][:1]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('cross boundary',solve([[0,4],[4,8]],[2,6]),[0,1])\ncheck('one chunk',solve([[0,9]],[2,6]),[0])\ncheck('gap untouched',solve([[0,2],[5,8]],[2,5]),[])\ncheck('empty chunks',solve([],[1,2]),[])\ncheck('touch no overlap',solve([[0,3],[7,9]],[3,7]),[])\ncheck('three pieces',solve([[0,2],[2,4],[4,6]],[1,5]),[0,1,2])\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":"1e33244b8014bcb7e28904831f3996a86293fea9dc6999a53985ec5128ff80d4","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(chunks, span):\n    s,e=span\n    return [i for i,(a,b) in enumerate(chunks) if a<=s and e<=b]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('cross boundary',solve([[0,4],[4,8]],[2,6]),[0,1])\ncheck('one chunk',solve([[0,9]],[2,6]),[0])\ncheck('gap untouched',solve([[0,2],[5,8]],[2,5]),[])\ncheck('empty chunks',solve([],[1,2]),[])\ncheck('touch no overlap',solve([[0,3],[7,9]],[3,7]),[])\ncheck('three pieces',solve([[0,2],[2,4],[4,6]],[1,5]),[0,1,2])\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-multi-chunk-citation","generated_at":"2026-09-30T16:48:27.159028+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":"The assembly requires one chunk to contain the full source interval.","sha256":"f41151787f4e994d527219fdb5dc9a2cda8171a5bc6ec59a1d244eca24ac595b","title":"A citation split across chunks is discarded · case 01","variant":1,"variant_policy":"The same explicitly authored fixtures repeat across all five numbered records; runtime N is unused. These records share one mechanism and must remain together in evaluation splits.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":29.167,"exit_code":1,"observations":[{"actual":[0],"check":"cross boundary","expected":[0,1],"passed":false},{"actual":[0],"check":"one chunk","expected":[0],"passed":true},{"actual":[],"check":"gap untouched","expected":[],"passed":true},{"actual":[],"check":"empty chunks","expected":[],"passed":true},{"actual":[],"check":"touch no overlap","expected":[],"passed":true},{"actual":[0],"check":"three pieces","expected":[0,1,2],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"cross boundary\", \"actual\": [0], \"expected\": [0, 1], \"passed\": false}, {\"check\": \"one chunk\", \"actual\": [0], \"expected\": [0], \"passed\": true}, {\"check\": \"gap untouched\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"empty chunks\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"touch no overlap\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"three pieces\", \"actual\": [0], \"expected\": [0, 1, 2], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":29.257,"exit_code":1,"observations":[{"actual":[],"check":"cross boundary","expected":[0,1],"passed":false},{"actual":[0],"check":"one chunk","expected":[0],"passed":true},{"actual":[],"check":"gap untouched","expected":[],"passed":true},{"actual":[],"check":"empty chunks","expected":[],"passed":true},{"actual":[],"check":"touch no overlap","expected":[],"passed":true},{"actual":[],"check":"three pieces","expected":[0,1,2],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"cross boundary\", \"actual\": [], \"expected\": [0, 1], \"passed\": false}, {\"check\": \"one chunk\", \"actual\": [0], \"expected\": [0], \"passed\": true}, {\"check\": \"gap untouched\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"empty chunks\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"touch no overlap\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"three pieces\", \"actual\": [], \"expected\": [0, 1, 2], \"passed\": false}], \"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."}}