SIGN IN SIGN UP

chore: address stale TODO comments across codebase (#3108)

* chore: address stale TODO comments across codebase

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>

* refactor: extract list marker helper and add no-pipeline test coverage

- Extract duplicated "set marker + add list item" logic in
  _add_list_item() into _add_list_item_with_marker() helper method
- Add tests for defensive "no pipeline" code path in _execute_pipeline()

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>

* style: fix ruff formatting in list marker helper

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>

* fix: skip bbox validation in fuzzy mode and increase tolerance

Fuzzy tests (OCR, image) have inherent coordinate variability, so bbox
checks are skipped. For non-fuzzy tests, increase tolerance from 0.01
to 0.5 to account for cross-platform numeric variance.

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>

* test: use reasoned bbox tolerances in verify utils

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>

* test: scale bbox tolerance by page extent

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>

* test: assert bbox presence in verification

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>

---------

Signed-off-by: Hassan Raza <raihassanraza10@gmail.com>
Signed-off-by: Peter W. J. Staar <91719829+PeterStaar-IBM@users.noreply.github.com>
Co-authored-by: Peter W. J. Staar <91719829+PeterStaar-IBM@users.noreply.github.com>
M
Muhammad Hassan Raza committed
6238aa35d00a86aa3812d7930ee34a0626cf8ee8
Parent: cbe3db4
Committed by GitHub <noreply@github.com> on 3/14/2026, 1:01:25 PM