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

bramp / build-along / 19724286935
89%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2025 03:32AM UTC
Jobs 1
Files 105
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

27 Nov 2025 03:27AM UTC coverage: 89.068% (-2.2%) from 91.307%
19724286935

push

github

bramp
test(pdf_extract:classifier): Refactor tests to use fixtures and remove integration test

This commit refactors the classifier test suite to improve maintainability and isolation.

Key changes:
- **Fixtures:** Introduced `conftest.py` with `classifier` and `candidate_factory` fixtures to streamline test setup and candidate creation.
- **Unit Test Conversion:** Updated `parts_classifier_test.py`, `step_classifier_test.py`, `page_number_classifier_test.py`, `part_count_classifier_test.py`, and `step_number_classifier_test.py` to use these fixtures, removing dependency on `classify_elements` and making them true unit tests.
- **Integration Test Removal:** Deleted `test_font_size_integration.py` (and its temporary rename `font_size_scoring_test.py`) as its logic has been moved into the respective classifier unit tests.
- **Cleanup:** Removed debug prints and ensured strict type checking compliance.

382 of 389 new or added lines in 9 files covered. (98.2%)

291 existing lines in 28 files now uncovered.

7585 of 8516 relevant lines covered (89.07%)

0.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.21
-5.1% src/build_a_long/pdf_extract/classifier/label_classifier.py
2
96.61
-0.61% src/build_a_long/pdf_extract/classifier/part_count_classifier_test.py
4
90.24
src/build_a_long/pdf_extract/classifier/conftest.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.96
0.56% src/build_a_long/pdf_extract/classifier/classifier.py
1
99.48
-0.01% src/build_a_long/pdf_extract/extractor/extractor_test.py
1
98.57
-1.43% src/build_a_long/pdf_extract/extractor/page_blocks.py
1
99.01
0.34% src/build_a_long/pdf_extract/extractor/page_blocks_test.py
2
97.47
-1.23% src/build_a_long/pdf_extract/cli/io.py
3
89.58
-0.42% src/build_a_long/pdf_extract/classifier/conflict_resolution.py
3
86.21
-5.1% src/build_a_long/pdf_extract/classifier/label_classifier.py
3
97.71
0.55% src/build_a_long/pdf_extract/classifier/piece_length_classifier_test.py
5
89.29
-5.95% src/build_a_long/pdf_extract/classifier/bag_number_classifier.py
5
91.86
-4.14% src/build_a_long/pdf_extract/classifier/page_classifier.py
5
87.67
-5.48% src/build_a_long/pdf_extract/classifier/part_count_classifier.py
5
86.89
-8.2% src/build_a_long/pdf_extract/classifier/part_number_classifier.py
5
77.6
-4.0% src/build_a_long/pdf_extract/classifier/piece_length_classifier.py
5
86.89
-8.2% src/build_a_long/pdf_extract/classifier/step_number_classifier.py
6
92.55
-5.36% src/build_a_long/pdf_extract/classifier/progress_bar_classifier.py
8
90.91
-4.85% src/build_a_long/pdf_extract/classifier/diagram_classifier.py
9
86.59
-8.48% src/build_a_long/pdf_extract/classifier/parts_list_classifier.py
10
92.76
-2.08% src/build_a_long/pdf_extract/classifier/step_classifier.py
13
86.0
-10.94% src/build_a_long/pdf_extract/classifier/page_number_classifier.py
13
87.16
-0.58% src/build_a_long/pdf_extract/main.py
14
88.89
-5.89% src/build_a_long/pdf_extract/extractor/bbox.py
15
89.36
-5.45% src/build_a_long/pdf_extract/classifier/parts_classifier.py
16
92.16
-4.74% src/build_a_long/pdf_extract/classifier/classification_result.py
16
84.96
-3.18% src/build_a_long/pdf_extract/classifier/new_bag_classifier.py
17
75.0
-12.06% src/build_a_long/pdf_extract/classifier/parts_image_classifier.py
18
82.86
-3.0% src/build_a_long/pdf_extract/drawing/drawing.py
22
87.71
0.57% src/build_a_long/pdf_extract/extractor/lego_page_elements.py
69
66.18
-30.97% src/build_a_long/pdf_extract/extractor/extractor.py
Jobs
ID Job ID Ran Files Coverage
1 19724286935.1 27 Nov 2025 03:32AM UTC 105
89.07
GitHub Action Run
Source Files on build 19724286935
  • Tree
  • List 105
  • Changed 43
  • Source Changed 43
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19724286935
  • 0be0b7a0 on github
  • Prev Build on main (#19692306590)
  • Next Build on main (#19724622651)
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