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

bramp / build-along / 19051820527 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2025 10:52PM UTC
Files 54
Run time 2s
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

03 Nov 2025 10:50PM UTC coverage: 87.208% (+0.6%) from 86.657%
19051820527.1

push

github

bramp
refactor: Complete migration to candidates-based ClassificationResult

This commit completes a major refactoring to eliminate data duplication
in the ClassificationResult class and improve code organization.

Core Changes to ClassificationResult (types.py):
- Removed redundant _labeled_elements and _scores fields
- Made candidates the single source of truth for all classification data
- Updated all accessor methods to derive from candidates dictionary

Classifier Updates:
- PageNumberClassifier: Include ALL scored elements in candidates,
  use is_winner flag, construct PageNumber objects
- PartCountClassifier: Construct PartCount objects
- StepNumberClassifier: Construct StepNumber objects
- PartsListClassifier: Populate candidates (construction in builder)

Code Extraction & Organization:
- Created text_extractors.py: Centralized parsing logic for page numbers,
  step numbers, and part counts
- Created hierarchy_builder.py: Extracted hierarchy-building logic from
  lego_page_builder.py

Test Updates:
- Migrated lego_page_builder_test.py to candidates API
- Fixed test expectations for part count parsing
- Added tests for new modules

All 100+ tests passing.

3402 of 3901 relevant lines covered (87.21%)

0.87 hits per line

Source Files on job 19051820527.1
  • Tree
  • List 54
  • Changed 11
  • Source Changed 10
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19051820527
  • 862065ed on github
  • Prev Job for on main (#19026719275.1)
  • Next Job for on main (#19054834636.1)
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