PageIndex/pageindex/index
Ray 6d42559284 fix: harden indexing and query paths against malformed inputs
- process_toc_with_page_numbers: an unresolvable page offset (no
  TOC/body title matches) returned None and crashed with TypeError;
  now returns items without physical_index so meta_processor falls
  back to the no-page-number mode
- process_none_page_numbers: tolerate malformed add_page_number_to_toc
  output ({}, non-dict items, non-numeric physical_index tags) instead
  of KeyError/AttributeError/ValueError
- validate_and_truncate_physical_indices: invalidate non-int
  physical_index values instead of raising on str > int
- wrap_with_doc_context: doc_name=None no longer crashes _defang_delimiters
- build_tree_from_levels: level=0 is a valid level; stop coercing it
  to 1 via falsy-or, which flattened one level of tree depth
2026-07-16 06:20:36 +08:00
..
__init__.py feat: add PageIndex SDK with local/cloud dual-mode support (#207) 2026-04-08 20:21:58 +08:00
page_index.py fix: harden indexing and query paths against malformed inputs 2026-07-16 06:20:36 +08:00
page_index_md.py refactor: move _coerce_bool to index/utils as the shared home 2026-07-16 02:24:52 +08:00
pipeline.py fix: harden indexing and query paths against malformed inputs 2026-07-16 06:20:36 +08:00
utils.py refactor: move _coerce_bool to index/utils as the shared home 2026-07-16 02:24:52 +08:00