Spaces:
Sleeping
Sleeping
Commit History
-
Sprint 13: comprehensive test fixtures and end-to-end hardeningβ
ClaudeUnverified signature6 test fixtures covering all scenarios from Β§28.5: - paddle_ocr_sample.json: simple page (existing) - double_column.json: 4 items in 2 columns β tests reading order inference - noisy_page.json: negative coords, low confidence, skewed polygons β tests bbox clamping and repair - title_body.json: title + body paragraphs - hyphenation_sample.json: "patri-" + "moine" β tests hyphenation detection - text_only_blocks.json: structured text without geometry β tests text_only adapter, ALTO refusal, viewer degraded mode End-to-end tests run full pipeline for each fixture: raw β normalize β enrich β validate β ALTO + PAGE + viewer Bug fix: word_box_json adapter now clamps negative coordinates from noisy OCR data before creating Geometry objects (real-world PaddleOCR can produce bbox vertices outside image bounds). 20 new tests. 497 total passing. https://claude.ai/code/session_01Cuzvc9Pjfo5u46eT3ta2Cg84ced9b