• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bramp / build-along / 19774766022
89%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2025 10:15PM UTC
Jobs 1
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Nov 2025 10:02PM UTC coverage: 90.381% (+0.05%) from 90.334%
19774766022

push

github

bramp
feat: Implement background block filtering in PDF extraction

- Introduced 'filter_background_blocks' to remove full-page background elements (>=99% page size) from processing.
- Updated 'filter_duplicate_blocks' and 'filter_overlapping_text_blocks' to return 'RemovalReason' objects instead of raw block references, providing clearer context for removals.
- Modified 'classify_pages' to integrate the new background filter and handle the 'RemovalReason' based removal tracking.
- Updated 'RemovalReason' to allow 'target_block' to be optional (None), supporting background removals where there is no replacement block.
- Enhanced 'block_filter_test.py' with tests for background filtering and updated existing tests to match the new 'RemovalReason' return type.
- Updated 'reporting.py' to safely handle 'RemovalReason' with optional 'target_block' during debug output generation.
- Corrected 'classifier_test.py' to use Drawing blocks for duplicate tests to align with 'duplicate_bbox' reason type.

90 of 97 new or added lines in 6 files covered. (92.78%)

8644 of 9564 relevant lines covered (90.38%)

0.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
22.81
-0.22% src/build_a_long/pdf_extract/cli/reporting.py
Jobs
ID Job ID Ran Files Coverage
1 19774766022.1 28 Nov 2025 10:15PM UTC 128
90.38
GitHub Action Run
Source Files on build 19774766022
  • Tree
  • List 128
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19774766022
  • 994e8040 on github
  • Prev Build on main (#19773248084)
  • Next Build on main (#19776697116)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc