tts-voice-creator-clone-and.../tests
mARTin-B78 55f147d7a7
Some checks are pending
Test and SonarQube / quality (push) Waiting to run
fix(magazine): derive figure boundaries from the page render
A vision OCR engine grounds a figure far less precisely than it
transcribes one. Over all 138 figure regions of a 204-page issue the
transcribed contents were right while the boxes were routinely offset,
undersized, or sitting on the neighbouring text column -- page 23's card
grid was reported at x 0.24-0.54 where the graphic runs 0.41-0.95.

snap_visual_bboxes() reduces the page render to an ink-coverage grid,
seeds a connected-component search with the engine's box, and re-joins
tiles a gutter apart so a card grid comes back as one figure. Text
blocks are excluded from the mask, which is what stops a figure
swallowing the column beside it. A candidate must be solidly inked or
framed on nearly all of its rows and columns (admitting a white-interior
screenshot), may not shrink below 30% of the seed, and reverts when two
figures land on the same graphic; anything else keeps the box it had.

Runs before the figure crop in both OCR paths, so the images shown
during playback are framed correctly too. Replaces refine_picture_
bounds(), which only recognised coloured panels and had no text fence.

Also adds "Fix figure boundaries" in review and POST
/api/magazine/{id}/figures/refine behind it, so an issue ingested before
this pass can be corrected without re-running OCR. Verified live against
c't KI Wissen 2026: 78 of 138 boxes corrected, the rest declined.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-12 10:17:00 +02:00
..
fixtures test: add book two attribution fixture 2026-09-04 09:18:41 +02:00
bundle.spec.js Release v1.6.0: a11y (WCAG AA), i18n (DE), PWA, perf, tests, Cast UX 2026-06-03 14:23:35 +02:00
characters.spec.js perf: lazy-load section feature modules 2026-09-04 10:23:20 +02:00
constrained.spec.js test: measure constrained character workloads 2026-09-04 10:34:27 +02:00
i18n.spec.js Stabilize browser smoke tests for current UI 2026-08-19 16:59:39 +02:00
lazy-loading.spec.js fix: preserve audiobook dialogue boundaries 2026-09-04 15:36:26 +02:00
magazine.spec.js Release v1.26.13: Fix drag-and-drop file opening in tab & improve magazine dropzone reliability 2026-09-10 14:31:16 +02:00
rehearser.spec.js refactor: extract rehearser voice matching 2026-09-04 11:47:51 +02:00
smoke.spec.js Release v1.26.1 2026-09-08 23:39:44 +02:00
test_conversation.py fix: recover character sheet requests from gateway 405 2026-09-09 06:49:52 +02:00
test_magazine_routes.py fix(magazine): derive figure boundaries from the page render 2026-09-12 10:17:00 +02:00
test_magazine.py fix(magazine): derive figure boundaries from the page render 2026-09-12 10:17:00 +02:00
test_provider_health.py refactor: centralize provider health probes 2026-09-04 10:25:55 +02:00
test_security.py feat: distinguish provider configuration and health 2026-09-04 11:35:52 +02:00