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

bramp / build-along / 19058602748
89%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2025 05:17AM UTC
Jobs 1
Files 56
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

04 Nov 2025 04:38AM UTC coverage: 88.027% (-0.09%) from 88.118%
19058602748

push

github

bramp
Add Step classifier and refactor Candidate to support synthetic elements

- Implement StepClassifier that combines step_number, parts_list, and diagram into Step structures
- Refactor Candidate class to make source_element optional and add required bbox field
- Step is a synthetic/composite element with no single source, so source_element is None
- Update all classifiers to pass bbox explicitly when creating Candidates
- Add comprehensive tests for StepClassifier covering various scenarios
- Update mark_winner and helper methods to handle optional source_element
- Clean up unused step_elements dictionary from StepClassifier
- All tests passing (10/10 classifier test suites)

179 of 181 new or added lines in 5 files covered. (98.9%)

111 existing lines in 10 files now uncovered.

3529 of 4009 relevant lines covered (88.03%)

0.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.7
src/build_a_long/pdf_extract/classifier/step_classifier.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.86
-0.05% src/build_a_long/pdf_extract/classifier/page_number_classifier.py
2
87.5
-0.74% src/build_a_long/pdf_extract/classifier/label_classifier.py
2
96.36
-0.25% src/build_a_long/pdf_extract/classifier/part_count_classifier.py
4
96.72
0.0% src/build_a_long/pdf_extract/classifier/classifier.py
4
92.16
0.67% src/build_a_long/pdf_extract/extractor/lego_page_elements.py
6
92.59
-0.51% src/build_a_long/pdf_extract/classifier/step_number_classifier.py
14
87.07
1.35% src/build_a_long/pdf_extract/classifier/types.py
23
76.19
-0.21% src/build_a_long/pdf_extract/main.py
27
75.23
-17.93% src/build_a_long/pdf_extract/classifier/parts_list_classifier.py
28
57.14
0.96% src/build_a_long/pdf_extract/classifier/parts_image_classifier.py
Jobs
ID Job ID Ran Files Coverage
1 19058602748.1 04 Nov 2025 05:16AM UTC 56
88.03
GitHub Action Run
Source Files on build 19058602748
  • Tree
  • List 56
  • Changed 12
  • Source Changed 12
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19058602748
  • f5a3a994 on github
  • Prev Build on main (#19055382140)
  • Next Build on main (#19059580114)
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