chore: bump fig-extract to v2.8.0#26
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough캡션 앵커 생성과 소유관계 처리가 v2.8.0으로 갱신되었으며, 상·하·좌·우 figure 후보 탐지, prose-tail 종료, 후보 억제 및 선택 정책이 확장되었습니다. 관련 문서의 지원 범위와 제한도 수정되었습니다. ChangesFigure extraction v2.8.0
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant extract
participant captionAnchors
participant detectPage
participant CandidateScans
participant chooseCandidate
extract->>captionAnchors: 페이지 텍스트 분석
captionAnchors->>extract: captionData 반환
extract->>detectPage: 페이지와 captionData 전달
detectPage->>CandidateScans: 상하좌우 후보 생성
CandidateScans->>chooseCandidate: 후보, 증거, 거부 사유 전달
chooseCandidate->>detectPage: 선택된 후보 반환
Possibly related PRs
Suggested reviewers: Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ast-grep (0.44.1)src/core/fig-extract.jsast-grep timed out on this file Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
fig-extract 엔진 v2.8.0을 PDFViewer에 byte-identical하게 반영합니다. 공개 추출 계약은 유지하면서 캡션이 figure의 위·아래·왼쪽·오른쪽에 놓인 레이아웃 탐지 범위를 확장합니다.
Closes: N/A — 이 버전 동기화와 정확히 대응하는 PDFViewer 이슈가 없습니다.
Upstream: onetwothr1/PDFViewer-Figure-Extract@e5f986582f431fba7260f2be46c66846a832225b
Changes
src/core/fig-extract.js를 upstream v2.8.0 엔진으로 교체up/down/left/right후보 점수·선택 로직 반영docs/fig-extract-integration.md에 v2.8 지원 범위와 잔여 제한 업데이트(num, page)식별자 및 manifest 스키마 변경 없음Impact
상단·좌측·우측 캡션 레이아웃의 figure 탐지 범위가 넓어집니다. captionless figure, 약한 side 정렬, cross-page figure는 계속 보수적으로 제한됩니다. PDFViewer wrapper나 UI 계약 변경은 없습니다.
Test plan
CDB14E2F4ED075BDE0BBB1B2DD657D9DE5D658CAD242EB2B27280AEBEA659BB0npm run typechecknpm run buildChecklist
Summary by CodeRabbit
새로운 기능
버그 수정
문서