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

colour-science / colour / 34368907018
97%
develop: 98%

Build:
Build:
LAST BUILD BRANCH: feature/array-api-autograd
DEFAULT BRANCH: develop
Ran 09 Sep 2026 03:25PM UTC
Jobs 1
Files 632
Run time 4min
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

09 Sep 2026 02:57PM UTC coverage: 96.941%. First build
34368907018

push

github

MichaelMauderer
Separate cubic-spline and PCHIP interpolation into three clean layers.

Replace the tangled scipy-or-native conditionals with an explicit
architecture:
  - _ArrayInterpolator (+ _ArrayCubicSplineInterpolator, _ArrayPchipInterpolator):
    the native, autodiff-preserving numerics, standalone and scipy-free,
    exposing the scipy interp1d/PchipInterpolator x/y/__call__ contract.
  - scipy.interpolate.interp1d / PchipInterpolator: the NumPy reference, used
    directly.
  - _BackendAwareInterpolator: the unifying dispatcher; public
    CubicSplineInterpolator and PchipInterpolator subclass it and only supply
    the two implementation factories. It routes NumPy queries to scipy and
    everything else (incl. non-NumPy queries against a NumPy-built interpolator)
    to the native impl.

Strengthen test__call__scipy_parity to compare the native impl against an
independently constructed scipy interpolator, so it exercises the native path
on every backend including NumPy.

89 of 111 new or added lines in 2 files covered. (80.18%)

49558 of 51122 relevant lines covered (96.94%)

0.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
95.81
colour/algebra/interpolation.py
Jobs
ID Job ID Ran Files Coverage
1 34368907018.1 09 Sep 2026 03:25PM UTC 632
96.94
GitHub Action Run
Source Files on build 34368907018
  • Tree
  • List 632
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f5a8d08f on github
  • Next Build on feature/array-api-autograd (#34368953461)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc