lllin000_PaperForge/scripts/dev
LLLin000 914acd6aa5 feat: enable OCR_PIPELINE_V3 by default
The V3 pipeline has been tested against the full 555-paper vault vs legacy:

  No diff: 547 (98.6%)
  Diff:     5 (0.9%) — all in v3's favor: 3 papers find 1 more figure
                        (v3 softens role before matching), 2 papers shift
                        1 block boundary (body_paragraph vs frontmatter_noise)
  Error:    3 (0.5%) — 2 missing raw data, 1 pre-existing v3 pipeline edge case

The 5 diffs are marginal improvements, not regressions. V3's shadow-normalize
approach defers role commit until after figure/table matching, so captions
that legacy normalize prematurely hardened to 'body_paragraph' are correctly
found as figure captions.

Changes:
- _ocr_pipeline_v3_enabled() defaults to True now; set OCR_PIPELINE_V3=0 to
  revert to legacy normalize-then-match order
- Test updated to assert default=True
- Full vault corpus diff script + result report archived
2026-07-04 20:04:39 +08:00
..
batch_comparison_errors.json fix: appendix numbering cross-cutting bugs (TABLE regex, int block_id, table alpha prefix, weak-caption tie-break) 2026-07-04 01:29:06 +08:00
batch_comparison_results.json fix: appendix numbering cross-cutting bugs (TABLE regex, int block_id, table alpha prefix, weak-caption tie-break) 2026-07-04 01:29:06 +08:00
caption_pattern_analysis.json fix: appendix numbering cross-cutting bugs (TABLE regex, int block_id, table alpha prefix, weak-caption tie-break) 2026-07-04 01:29:06 +08:00
caption_pattern_analysis.py fix: appendix numbering cross-cutting bugs (TABLE regex, int block_id, table alpha prefix, weak-caption tie-break) 2026-07-04 01:29:06 +08:00
caption_pattern_full.json fix: appendix numbering cross-cutting bugs (TABLE regex, int block_id, table alpha prefix, weak-caption tie-break) 2026-07-04 01:29:06 +08:00
compare_figure_inventory_corpus.py fix(ocr): fix verdict false positives - 26->8 regression, add noise_cleanup/consolidated verdicts 2026-07-03 18:20:00 +08:00
compare_figure_inventory_legacy_vs_vnext.py fix(ocr): fix verdict false positives - 26->8 regression, add noise_cleanup/consolidated verdicts 2026-07-03 18:20:00 +08:00
compare_figure_inventory_vnext_baseline.py test(ocr): lock figure vnext extraction baseline 2026-07-03 19:38:19 +08:00
compare_table_inventory_legacy_vs_vnext.py fix(ocr): unblock pairing framework merge 2026-07-03 22:50:15 +08:00
corpus_v3_diff_full.py feat: enable OCR_PIPELINE_V3 by default 2026-07-04 20:04:39 +08:00
figure_truth_audit_results.json fix: appendix numbering cross-cutting bugs (TABLE regex, int block_id, table alpha prefix, weak-caption tie-break) 2026-07-04 01:29:06 +08:00
ocr_deep_dive_analysis.py fix: complete reference detection fixes — 5 problem families 2026-07-03 01:46:27 +08:00
ocr_rebuild_paper.py docs: update PROJECT-MANAGEMENT with rebuild script docs, review fixes, table ordering 2026-06-14 23:20:01 +08:00
ocr_rebuild_verify.py chore: remove root debug scripts, relocate rebuild_verify to scripts/dev 2026-06-08 12:15:17 +08:00
ocr_reference_zone_audit.py fix: complete reference detection fixes — 5 problem families 2026-07-03 01:46:27 +08:00
ocr_render_annotated_pages.py test: lock OCR readiness baseline and restore coverage ledger 2026-06-18 22:10:52 +08:00
ocr_zone_role_audit.py fix: complete reference detection fixes — 5 problem families 2026-07-03 01:46:27 +08:00