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

bramp / build-along / 19521244091
89%

Build:
DEFAULT BRANCH: main
Ran 20 Nov 2025 12:41AM UTC
Jobs 1
Files 76
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

15 Nov 2025 02:10AM UTC coverage: 90.833% (-0.4%) from 91.217%
19521244091

push

github

bramp
refactor: remove unused code and simplify domain invariant tests

Removed approximately 220 lines of unused/redundant code from classifier tests:

classifier_rules_test.py:
- Removed ClassifiedPage wrapper class (~110 lines) - never instantiated
- Removed helper functions (_parts_lists, _part_images, _part_counts,
  _print_label_counts) - never called
- Cleaned up unused imports (defaultdict, Block, ClassificationResult)
- Updated docstring to reflect remaining test coverage

domain_invariants_test.py:
- Simplified all 4 tests to use result.page property directly
- Replaced verbose 6-line get_candidates() pattern with simple property access
- Removed redundant isinstance(page, Page) assertions (~48 lines total)
- Tests now more clearly express intent: validate Page/PartsList/Part objects

All tests continue to pass. No functionality was lost.

4 of 4 new or added lines in 2 files covered. (100.0%)

151 existing lines in 7 files now uncovered.

4994 of 5498 relevant lines covered (90.83%)

0.91 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.84
0.09% src/build_a_long/pdf_extract/classifier/classifier.py
2
98.64
-0.01% src/build_a_long/pdf_extract/classifier/classification_result.py
2
97.65
-2.35% src/build_a_long/pdf_extract/extractor/hierarchy_test.py
7
84.44
1.11% src/build_a_long/pdf_extract/classifier/classifier_rules_test.py
10
86.81
0.67% src/build_a_long/pdf_extract/drawing/drawing.py
33
61.76
-14.95% src/build_a_long/pdf_extract/main.py
96
27.31
-3.57% src/build_a_long/pdf_extract/cli/reporting.py
Jobs
ID Job ID Ran Files Coverage
1 19521244091.1 20 Nov 2025 12:41AM UTC 76
90.83
GitHub Action Run
Source Files on build 19521244091
  • Tree
  • List 76
  • Changed 14
  • Source Changed 13
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19521244091
  • 094b3f84 on github
  • Prev Build on main (#19257583787)
  • Next Build on main (#19522098896)
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