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

pybricks / pybricks-micropython / 19735304325
56%
master: 56%

Build:
Build:
LAST BUILD BRANCH: btstack
DEFAULT BRANCH: master
Ran 27 Nov 2025 11:52AM UTC
Jobs 2
Files 136
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

27 Nov 2025 11:50AM UTC coverage: 56.493%. First build
19735304325

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%)

4520 of 8001 relevant lines covered (56.49%)

16820294.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
0.0
pybricks/util_pb/pb_color_map.c
16
36.0
lib/pbio/src/color/util.c
Jobs
ID Job ID Ran Files Coverage
1 PBIO - 19735304325.1 27 Nov 2025 11:54AM UTC 74
65.92
GitHub Action Run
2 virtualhub - 19735304325.2 27 Nov 2025 11:52AM UTC 114
45.57
GitHub Action Run
Source Files on build 19735304325
  • Tree
  • List 136
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19735304325
  • ae425205 on github
  • Next Build on color (#19735971878)
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