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
|
||
|---|---|---|
| .. | ||
| adapters | ||
| command_files | ||
| commands | ||
| core | ||
| doctor | ||
| embedding | ||
| memory | ||
| plugin | ||
| schema | ||
| services | ||
| setup | ||
| skills | ||
| worker | ||
| __init__.py | ||
| __main__.py | ||
| cli.py | ||
| config.py | ||
| logging_config.py | ||
| ocr_diagnostics.py | ||
| pdf_resolver.py | ||
| query_planning.py | ||
| setup_wizard.py | ||