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

bramp / build-along / 20010055824
89%

Build:
DEFAULT BRANCH: main
Ran 07 Dec 2025 08:44PM UTC
Jobs 1
Files 150
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

07 Dec 2025 06:18PM UTC coverage: 90.316% (-0.02%) from 90.333%
20010055824

push

github

bramp
refactor(subassembly): simplify scoring and defer child discovery to build time

SubAssemblyClassifier changes:
- Simplify _SubAssemblyScore to use boolean flags instead of candidate refs
- Move child element discovery (step_count, diagrams, images) to build time
- Remove arrow dependency (arrows not part of subassembly scoring)
- Add max size filtering (max 50% of page width/height)
- Require subassemblies to contain at least one diagram
- Simplify _find_all_diagrams_inside to require full containment

PartsListClassifier changes:
- Add early filtering for candidates below min_score threshold
- Claim multiple Drawing blocks with similar bboxes as source blocks
  (parts lists often have overlapping border/fill drawings)

SubAssemblyConfig changes:
- Add max_page_width_ratio and max_page_height_ratio configs

Update tests and fixtures to reflect scoring changes.

67 of 68 new or added lines in 4 files covered. (98.53%)

93 existing lines in 8 files now uncovered.

10604 of 11741 relevant lines covered (90.32%)

0.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.13
-1.01% src/build_a_long/pdf_extract/classifier/steps/subassembly_classifier.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.12
-0.71% src/build_a_long/pdf_extract/classifier/parts/parts_list_classifier.py
2
81.42
0.0% src/build_a_long/pdf_extract/classifier/parts/piece_length_classifier.py
3
92.44
-0.17% src/build_a_long/pdf_extract/extractor/bbox.py
5
92.86
1.09% src/build_a_long/pdf_extract/classifier/pages/page_classifier.py
13
85.13
-1.01% src/build_a_long/pdf_extract/classifier/steps/subassembly_classifier.py
17
93.86
-0.66% src/build_a_long/pdf_extract/classifier/steps/arrow_classifier.py
24
88.29
-1.71% src/build_a_long/pdf_extract/classifier/classification_result.py
28
90.16
-0.48% src/build_a_long/pdf_extract/classifier/steps/step_classifier.py
Jobs
ID Job ID Ran Files Coverage
1 20010055824.1 07 Dec 2025 08:44PM UTC 150
90.32
GitHub Action Run
Source Files on build 20010055824
  • Tree
  • List 150
  • Changed 14
  • Source Changed 14
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20010055824
  • 87c93f53 on github
  • Prev Build on main (#19996847631)
  • Next Build on main (#20010582393)
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