openreader/compute
Richard R bc5388af6b fix(pdf): add strict validation for layout model output shapes and extend test coverage
Add explicit error handling for invalid or inconsistent pred_boxes and logits array lengths in runLayoutModel to prevent silent failures. Expand test suite to verify correct region filtering and error scenarios, ensuring only labeled regions are returned and malformed outputs are handled robustly.
2026-06-03 04:35:27 -06:00
..
core fix(pdf): add strict validation for layout model output shapes and extend test coverage 2026-06-03 04:35:27 -06:00
worker refactor(pdf): streamline layout model region extraction and update test coverage 2026-06-03 04:19:10 -06:00