Commit graph

17 commits

Author SHA1 Message Date
Research Assistant
410151ea8e fix: reuse rebuild metadata and object extraction work 2026-06-22 22:15:25 +08:00
Research Assistant
eb070ae318 fix: project table note bands through object and render 2026-06-20 02:19:23 +08:00
Research Assistant
765cdf91f2 fix: carry owned table notes through rebuild outputs 2026-06-19 23:34:01 +08:00
Research Assistant
aeb89bd626 fix: close OCR figure and legend object gaps
Add figure legend completeness check ensuring every numbered formal
legend lands in an explicit outcome bucket (matched/held/ambiguous/
unresolved_cluster/unmatched). No legend may disappear without inventory
explanation.

Changes:
- Add compute_figure_legend_completeness() to ocr_figures.py
- Integrate completeness into build_figure_inventory() return value
- Add figure_legend_completeness fields to health report (ocr_health.py)
- Gaps degrade overall health status and add degraded reasons
- Add 9 new tests for completeness edge cases
2026-06-10 13:24:08 +08:00
Research Assistant
481874f489 feat: validate OCR table matching 2026-06-09 21:36:43 +08:00
Research Assistant
63b56689c6 feat: tighten OCR figure validation matching 2026-06-09 21:13:53 +08:00
Research Assistant
c036ef7670 fix(ocr): align object filenames with unresolved cluster IDs 2026-06-08 12:14:15 +08:00
Research Assistant
06d7abb2fa feat: unify OCR math normalization across render and objects 2026-06-06 17:02:01 +08:00
Research Assistant
463852462f fix: stop legend-only figures from using fake unmatched assets 2026-06-06 16:08:26 +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
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
cff4107633 fix: stabilize object notes, render heading sanity, health/index detection 2026-06-05 15:13:33 +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
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
1de9cc281b feat: emit OCR figure and table objects 2026-06-05 00:43:39 +08:00