Commit graph

215 commits

Author SHA1 Message Date
Research Assistant
94de2dbbc7 feat: persist role_span_profiles.json and wire into rebuild pipeline 2026-06-06 11:16:43 +08:00
Research Assistant
5320e825ee fix: remove dead constants, tighten profile quality test assertion 2026-06-06 11:15:41 +08:00
Research Assistant
2604a1c5cf feat: create ocr_profiles.py with span extraction, profile aggregation, and cross-validation 2026-06-06 11:13:01 +08:00
Research Assistant
f67c7d5ac0 feat: carry span_metadata through raw and structured block pipeline 2026-06-06 11:08:44 +08:00
Research Assistant
7c278fbc60 fix(ocr): properly cluster multi-panel figures — role assignment, cluster bbox crop, render visibility 2026-06-06 10:08:42 +08:00
Research Assistant
c235dbdc68 feat(ocr): journal layout generalization, OCR diagnostics, and debug scripts 2026-06-06 00:46:49 +08:00
Research Assistant
d52ea37e92 feat(ocr): tail regime remediation + style-aware heading profiles + boundary detection
- Task: Bidirectional body/backmatter boundary detection (forward/backward spine + tail spread reconciliation)
- Task: Style-aware heading profiles from PDF span_metadata (extract, cluster, disambiguate)
- Task: Lock tests for tail-candidate overreach, cross-page continuation, style-aware heading detection
- 296/296 tests pass, real-paper 7C8829BD verified
2026-06-05 22:47:13 +08:00
Research Assistant
2e2e8cb8e4 Revert "revert: restore original Phase 2 figure/table matching logic"
This reverts commit 0a2988b89f.
2026-06-05 15:38:04 +08:00
Research Assistant
0a2988b89f revert: restore original Phase 2 figure/table matching logic 2026-06-05 15:36:59 +08:00
Research Assistant
cff4107633 fix: stabilize object notes, render heading sanity, health/index detection 2026-06-05 15:13:33 +08:00
Research Assistant
174d2e8ccd fix: stabilize OCR table matching and image-first rendering 2026-06-05 15:11:20 +08:00
Research Assistant
0e41454748 fix: harden OCR figure legend detection and matching 2026-06-05 15:09:47 +08:00
Research Assistant
0d9725808f fix: strengthen tests, clean object-note format, fix assets_path compat 2026-06-05 15:04:21 +08:00
Research Assistant
009be8c958 fix: stop paper_title pollution, text-to-heading, table HTML leak, author recovery 2026-06-05 15:02:00 +08:00
Research Assistant
e7c942f68b fix: correct title via Zotero frontmatter, anchor figure/table placement, fix page markers and wikilinks 2026-06-05 13:50:26 +08:00
Research Assistant
0fa6dd19a9 fix: correct OCR object asset wikilinks for Obsidian 2026-06-05 13:35:52 +08:00
Research Assistant
f3fec67469 test: lock OCR render stabilization regressions 2026-06-05 13:31:50 +08:00
Research Assistant
b64c9ed130 test: add legacy OCR backfill e2e smoke test procedure 2026-06-05 13:01:15 +08:00
Research Assistant
76c8d3fc1b chore: update status JSON snapshot for legacy backfilled fields 2026-06-05 13:00:40 +08:00
Research Assistant
491f09854d feat: surface legacy OCR backfill state in doctor and status diagnostics 2026-06-05 13:00:35 +08:00
Research Assistant
3790460847 feat: add legacy OCR backfill-from-result rebuild path 2026-06-05 12:57:01 +08:00
Research Assistant
3f51dc9d82 feat: classify legacy OCR papers without version state 2026-06-05 12:55:19 +08:00
Research Assistant
151a762cac test: lock legacy OCR classification contract
All 5 tests fail as expected:
- 4 ImportError (classify_legacy_ocr_state does not exist)
- 1 KeyError (legacy_count not in summarize_ocr_runtime_followups)
2026-06-05 12:52:43 +08:00
Research Assistant
2c21926444 feat: add OCR evidence-aware query routing for phase5
- Add evidence_query class to build_query_plan() for intent='evidence'
- Add ocr_evidence_available to enrich_query_plan_with_runtime()
- Add OCR evidence enrichment in search.py and retrieve.py
- Add routing contract tests (3 routing + 1 evidence hit)
- All pre-existing tests pass
2026-06-05 12:22:15 +08:00
Research Assistant
aa342c3e6a test: lock OCR phase5 evidence object contract 2026-06-05 12:14:18 +08:00
Research Assistant
4f6b250ca3 test: lock OCR phase5 role index contract 2026-06-05 12:11:51 +08:00
Research Assistant
5744e67c0e test: lock OCR phase4.1 runtime cleanup semantics 2026-06-05 12:08:14 +08:00
Research Assistant
1e3b15397b test: finalize OCR structured pipeline phase4 runtime integration 2026-06-05 11:32:46 +08:00
Research Assistant
0c3ecb2bc3 feat: surface OCR version runtime state in status and doctor 2026-06-05 11:28:34 +08:00
Research Assistant
5efb4435b4 feat: integrate OCR version state into sync runtime 2026-06-05 11:24:05 +08:00
Research Assistant
6c58212db3 test: lock OCR phase4 rebuild orchestration contract 2026-06-05 11:17:04 +08:00
Research Assistant
0bc6b15291 test: lock OCR phase4 version state contract 2026-06-05 11:08:13 +08:00
Research Assistant
5a8460aae0 feat: add OCR runtime preflight warnings for auto-rebuild 2026-06-05 11:03:22 +08:00
Research Assistant
635c50ab2e refactor: preserve OCR compatibility through renderer v2 2026-06-05 10:42:20 +08:00
Research Assistant
22d189e69e feat: surface OCR structured health in doctor and status 2026-06-05 10:35:23 +08:00
Research Assistant
d2ce229162 test: lock OCR phase3 health contract 2026-06-05 10:24:56 +08:00
Research Assistant
fd15d074c9 test: preserve OCR render regressions through structured renderer 2026-06-05 10:22:18 +08:00
Research Assistant
4263cb4100 test: lock OCR phase3 renderer contract 2026-06-05 10:12:48 +08:00
Research Assistant
34ea581fe5 test: preserve OCR compatibility while adding phase2 artifacts 2026-06-05 00:48:11 +08:00
Research Assistant
1de9cc281b feat: emit OCR figure and table objects 2026-06-05 00:43:39 +08:00
Research Assistant
5f9855c2f8 test: lock OCR phase2 table inventory contract 2026-06-05 00:22:45 +08:00
Research Assistant
28f0772adc feat: add OCR figure inventory 2026-06-05 00:20:21 +08:00
Research Assistant
a38e41ba78 test: lock OCR phase2 figure inventory contract 2026-06-05 00:08:30 +08:00
Research Assistant
d4380f6b9d test: lock OCR phase2 metadata resolver contract 2026-06-04 23:54:32 +08:00
Research Assistant
5bfed8d6f2 fix: route OCR artifact paths through configured OCR root 2026-06-04 23:50:20 +08:00
Research Assistant
c522f27c3b test: cover OCR redo rebuilding phase1 artifacts 2026-06-04 23:31:36 +08:00
Research Assistant
cfc8c973a7 refactor: preserve OCR compatibility while adding phase1 artifacts
- Fix postprocess_ocr_result to use resolved vault path from paths dict
- Add test_sync_reads_enriched_meta_without_breaking_ocr_status
- Add test_postprocess_preserves_compatibility_outputs
- Fix test isolation: pre-import ocr module before mock patches
- Add vault key to mock paths in test_selection_sync_pdf
2026-06-04 23:29:32 +08:00
Research Assistant
86569fe01c feat: emit OCR structured block artifacts 2026-06-04 23:20:49 +08:00
Research Assistant
b20d2c0cff feat: emit canonical OCR raw blocks 2026-06-04 23:16:10 +08:00
Research Assistant
d9168f81f9 feat: persist OCR raw metadata and version payloads 2026-06-04 23:12:31 +08:00