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

pybricks / pybricks-micropython / 19958637236
56%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2025 09:31AM UTC
Jobs 2
Files 137
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

05 Dec 2025 09:20AM UTC coverage: 56.406% (-0.2%) from 56.593%
19958637236

push

github

laurensvalk
pbio/color/util: Add heuristic distance for saturated colors.

The bicone mapping is highly distant dependent, which makes it suitable in
limited cases, and it doesn't work great with the default colors.

If only saturated or grayscale colors are in the mapping, we can generally get
a much better result by looking at hue only for saturated colors and looking at
value only for unsaturated colors, and use the saturation to decide which to
pick. This also means we won't need the workaround of having negative V for None.

The logic here is that if you do specify fine-grained, calibrated colors, then
it will use the original bicone distance mapping.

0 of 24 new or added lines in 2 files covered. (0.0%)

42 existing lines in 3 files now uncovered.

4614 of 8180 relevant lines covered (56.41%)

16452199.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
0.0
0.0% pybricks/util_pb/pb_color_map.c
16
36.0
-64.0% lib/pbio/src/color/util.c

Uncovered Existing Lines

Lines Coverage ∆ File
8
0.0
0.0% pybricks/util_pb/pb_color_map.c
16
0.0
0.0% pybricks/pupdevices/pb_type_pupdevices_colorsensor.c
18
0.0
0.0% pybricks/pupdevices/pb_type_pupdevices_colordistancesensor.c
Jobs
ID Job ID Ran Files Coverage
1 virtualhub - 19958637236.1 05 Dec 2025 09:31AM UTC 115
44.59
GitHub Action Run
2 PBIO - 19958637236.2 05 Dec 2025 09:33AM UTC 73
66.28
GitHub Action Run
Source Files on build 19958637236
  • Tree
  • List 137
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19958637236
  • e99263c5 on github
  • Prev Build on master (#19958159377)
  • Next Build on master (#19961347933)
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

© 2025 Coveralls, Inc