chore: bump fig-extract to v2.9.3 - #27
Conversation
엔진 repo(figure-preview-test)의 v2.9.0~v2.9.3을 벤더링. 네 릴리스 모두 [계약 무변경]— 출력 필드·좌표계·(num,page) 식별 키·공개 export 전부 불변이라 fig-engine.ts·fig-extract.d.ts는 수정이 필요 없다. src/core/fig-extract.js는 엔진 repo 원본과 byte-identical(md5 c4a809a9…). 엔진 변경 요약 (상세는 엔진 repo의 fig-extract.js 헤더 체인지로그가 정본): - v2.9.0 서브패널 라벨 stopper 면제 — figure 내부 "(a) …" 서브캡션이 본문으로 오인돼 후보가 전멸하고 figure가 통째로 사라지던 문제 - v2.9.1 soft 캡션 앵커 + 문서 수준 게이트 — 번호 뒤 구분자가 없는 표기 (RSC·Springer "Fig. 1 본문…", Wiley 자간 분리 "F I G U R E 1 본문…") 지원 - v2.9.2 임베디드 캡션 앵커 — 나란한 figure의 캡션이 한 줄로 병합된 경우 분해 - v2.9.3 줄끝 종결형 가드에서 접두어 길이 제외 — "Extended Data Fig. 1" 미인식 수정 엔진 repo 게이트: 네 릴리스 전부 critical 회귀 0·신규 0. gate sCritical 0.7781 -> 0.8503, 미탐지 59 -> 31건. docs/fig-extract-integration.md: v2.9.x 캡션 표기 확대 범위와, 번호 글리프에 ToUnicode 매핑이 없는 PDF는 원리상 미탐지라는 점(사용자에겐 "번호가 보이는데 안 잡힘"으로 보임)을 추가. 검증: byte-identical diff 0건 · npm run typecheck 통과 · npm run build 통과 · [사람] 스모크 정상 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough캡션 접두어 길이 계산, 소프트 앵커 승격, 임베디드 캡션 분해, 서브패널 stopper 예외 처리가 Changes캡션 앵커 엔진 업데이트
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant extract
participant captionAnchors
participant promoteSoftAnchors
participant detectPage
extract->>captionAnchors: 페이지 라인에서 hard 및 soft 캡션 후보 생성
captionAnchors-->>extract: 페이지별 앵커와 후보 반환
extract->>promoteSoftAnchors: 문서 전체 pageData 전달
promoteSoftAnchors-->>extract: 승격된 anchors 재구성
extract->>detectPage: 페이지 데이터와 서브패널 stopper 전달
detectPage-->>extract: 캡션 영역과 BODY stop 결과 반환
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
엔진 repo(figure-preview-test)의 v2.9.0~v2.9.3을 벤더링합니다.
계약 영향: 없음
네 릴리스 모두
[계약 무변경]입니다. 출력 필드·좌표계·(num, page)식별 키·공개 export가 전부 불변이라fig-engine.ts·fig-extract.d.ts는 수정하지 않았습니다. Margin 쪽 코드 변경도 없습니다.src/core/fig-extract.js는 엔진 repo 원본과 byte-identical입니다 (md5c4a809a9b98190243001aa85452988e6).엔진 변경 요약
체인지로그 정본은 엔진 repo의
fig-extract.js헤더입니다.(a) …서브캡션이 본문으로 오인돼 후보가 전멸하고 figure가 통째로 사라지던 문제Fig. 1 본문…, Wiley 자간 분리F I G U R E 1 본문…) 지원Extended Data Fig. 1미인식 수정사용자 체감
지금까지 감지 0개로 나오던 논문들이 잡힙니다. 특히 RSC·Springer·Wiley 계열에서 문서 전체가 통째로 미탐지되던 케이스가 해소됐습니다 (예: 8개 figure 논문이 0개 → 8개).
엔진 repo 검증
sCritical0.7781 → 0.8503, 미탐지 59 → 31건알려진 한계 (문서에 추가)
번호 글리프에 ToUnicode 매핑이 없는 PDF(Wiley 일부)는 원리상 미탐지입니다. 번호가 화면에는 정상으로 보이는데 텍스트 레이어에 문자가 없어서, 사용자에겐 "번호가 멀쩡히 보이는데 안 잡힌다"로 보입니다. 문의가 오면 수동 크롭 안내가 맞습니다.
docs/fig-extract-integration.md에 적어뒀습니다.검증
npm run typecheck통과npm run build통과🤖 Generated with Claude Code
Summary by CodeRabbit
개선 사항
문서