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

pybricks / pybricks-micropython / 19958406265 / 2
56%
master: 51%

Build:
Build:
LAST BUILD BRANCH: work
DEFAULT BRANCH: master
Ran 05 Dec 2025 09:24AM UTC
Files 73
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

05 Dec 2025 09:20AM UTC coverage: 66.284% (-0.2%) from 66.502%
19958406265.2

Pull #421

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.
Pull Request #421: Improve color detection for typical use cases

3234 of 4879 relevant lines covered (66.28%)

27565367.36 hits per line

Source Files on job PBIO - 19958406265.2
  • Tree
  • List 73
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19958406265
  • e99263c5 on github
  • Prev Job for on color (#19958159377.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

© 2025 Coveralls, Inc