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

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

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 10:07PM UTC
Files 156
Run time 5s
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

08 Dec 2025 10:05PM UTC coverage: 90.041% (-0.4%) from 90.47%
20044335102.1

push

github

bramp
Fix subassembly detection when diagrams inside fail during clustering

When SubAssemblyClassifier.build() built diagrams inside a subassembly,
the first diagram would cluster with nearby images and claim them via
_fail_conflicting_candidates(). Subsequent diagram candidates that shared
those images were marked as failed. When the code tried to build those
failed candidates, CandidateFailedError was raised and the entire
subassembly build failed.

Changes:
- Import CandidateFailedError in subassembly_classifier.py
- Skip diagram candidates that already have a failure_reason
- Wrap result.build() in try/except to catch CandidateFailedError and
  continue to next diagram instead of failing the whole subassembly
- Shrink constraint bbox by 3 points when building diagrams inside
  subassemblies to avoid capturing the white border
- Pass constraint_bbox parameter to _build_subassembly_steps()

This fixes page 015 where the subassembly below step 15 wasn't detected.

11320 of 12572 relevant lines covered (90.04%)

0.9 hits per line

Source Files on job 20044335102.1
  • Tree
  • List 156
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20044335102
  • a7986f49 on github
  • Prev Job for on main (#20017191425.1)
  • Next Job for on main (#20086551557.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