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

bramp / build-along / 19155446196
89%

Build:
DEFAULT BRANCH: main
Ran 07 Nov 2025 01:41AM UTC
Jobs 1
Files 61
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

06 Nov 2025 04:44AM UTC coverage: 85.36% (-0.02%) from 85.381%
19155446196

push

github

bramp
refactor: complete Block rename and terminology cleanup

Renamed page_elements.py → page_blocks.py and systematically updated all
references to use 'block' terminology for raw PDF primitives throughout
the codebase.

Key changes:
- Renamed Element class → Block in page_blocks.py
- Updated all imports and type references across 40+ files
- Renamed internal variables and method parameters:
  - _element_winners → _block_winners
  - _validate_element_in_page_data() → _validate_block_in_page_data()
  - element_to_labels → block_to_labels
  - total_elements → total_blocks
  - And many more variable renames in main.py, tests, and classifiers
- Updated all docstrings, comments, and error messages
- Updated JSON fixtures to use 'blocks' instead of 'elements'
- Updated documentation (README files)

Terminology is now consistent:
- Block = raw PDF primitive (Text, Image, Drawing from pymupdf)
- Element = LEGO semantic component (Part, StepNumber, PartsList, etc.)

All 20 tests passing.

472 of 535 new or added lines in 34 files covered. (88.22%)

6 existing lines in 3 files now uncovered.

4064 of 4761 relevant lines covered (85.36%)

0.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
14.55
0.0% src/build_a_long/pdf_extract/classifier/classifier_golden_test.py
1
96.3
0.0% src/build_a_long/pdf_extract/classifier/part_count_classifier.py
1
57.97
0.0% src/build_a_long/pdf_extract/classifier/parts_list_classifier_test.py
1
92.5
0.0% src/build_a_long/pdf_extract/classifier/step_number_classifier.py
1
79.78
0.0% src/build_a_long/pdf_extract/extractor/lego_page_elements.py
3
97.42
-1.23% src/build_a_long/pdf_extract/classifier/classification_result.py
4
87.69
0.0% src/build_a_long/pdf_extract/extractor/hierarchy.py
8
0.0
0.0% src/analyze_deletions.py
12
21.02
0.0% src/build_a_long/pdf_extract/classifier/classifier_rules_test.py
15
18.33
0.0% src/build_a_long/pdf_extract/drawing/drawing.py
16
54.55
0.0% src/build_a_long/pdf_extract/main.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
21.02
0.0% src/build_a_long/pdf_extract/classifier/classifier_rules_test.py
2
18.33
0.0% src/build_a_long/pdf_extract/drawing/drawing.py
2
54.55
0.0% src/build_a_long/pdf_extract/main.py
Jobs
ID Job ID Ran Files Coverage
1 19155446196.1 07 Nov 2025 01:41AM UTC 61
85.36
GitHub Action Run
Source Files on build 19155446196
  • Tree
  • List 61
  • Changed 32
  • Source Changed 32
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19155446196
  • adad1526 on github
  • Prev Build on main (#19122222351)
  • Next Build on main (#19155469447)
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