mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
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
|
||
|---|---|---|
| .. | ||
| batch_comparison_errors.json | ||
| batch_comparison_results.json | ||
| caption_pattern_analysis.json | ||
| caption_pattern_analysis.py | ||
| caption_pattern_full.json | ||
| compare_figure_inventory_corpus.py | ||
| compare_figure_inventory_legacy_vs_vnext.py | ||
| compare_figure_inventory_vnext_baseline.py | ||
| compare_table_inventory_legacy_vs_vnext.py | ||
| corpus_v3_diff_full.py | ||
| figure_truth_audit_results.json | ||
| ocr_deep_dive_analysis.py | ||
| ocr_rebuild_paper.py | ||
| ocr_rebuild_verify.py | ||
| ocr_reference_zone_audit.py | ||
| ocr_render_annotated_pages.py | ||
| ocr_zone_role_audit.py | ||