mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 17:00:23 +00:00
reference_zone is the only hard boundary. Pre-ref disclosure headings (CRediT, Ethics, Declaration) are normalized as local same-column runs — they never set global boundaries. Four contracts enforced (Contract A-D in spec). - 13 new helpers in ocr_document.py: _has_verified_reference_zone, _partition_by_reference_zone, _classify_same_page_block, _normalize_reference_roles_from_partition, _normalize_pre_ref_disclosure_runs, _build_tail_boundary_from_ref_partition, etc. - infer_zones() stores effective_end_page for trimmed reference extent - normalize_document_structure(): ref-partitioned path replaces second _reconcile_tail_spread; _promote_tail_body_candidates/_assign_tail_spread_ownership skipped when active - 20 tests in test_backmatter_boundary.py - 322/322 tests pass |
||
|---|---|---|
| .. | ||
| checklists | ||
| plans | ||
| specs | ||