Denis Samatov

Results issues of Denis Samatov

## Summary This PR addresses the automated Copilot review comments left on the `feature/utils-split` PR. ## Changes ### `pageindex/core/pdf.py` - **Fix `KeyError` crash**: `get_page_tokens()` now wraps `tiktoken.encoding_for_model()` in `try/except KeyError`...

This PR addresses the feedback from previous reviews by splitting the monolithic [utils.py](cci:7://file:///Users/denissamatov/Projects/Project%20python/rag_tree_index/PageIndex/pageindex/utils.py:0:0-0:0) into smaller, focused modules to improve maintainability. **Changes:** - Extracted logic from [utils.py](cci:7://file:///Users/denissamatov/Projects/Project%20python/rag_tree_index/PageIndex/pageindex/utils.py:0:0-0:0) into a new `pageindex/core/`...

Building on the modularization of the core logic, this PR introduces `Pydantic` for robust, type-safe configuration loading and validation. **Changes:** - Added [pageindex/config.py](cci:7://file:///Users/denissamatov/Projects/Project%20python/rag_tree_index/PageIndex/src/pageindex/config.py:0:0-0:0) leveraging Pydantic to validate settings. - Updated...

### Bug On the single-page PDF from #4255, `TableFormerMode.FAST` preserves the checked amounts but splits the final logical closing-balance row into two exported rows. The English label is in R19;...

bug
priority:medium
pdf

## Reproduction (fully synthetic) With `pdfmux==1.8.7`, a one-page digital PDF and a page-aligned JSON extraction both pass `verify --strict` after one financial amount disappears from the extraction. I understand that...