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

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

Build:
Build:
LAST BUILD BRANCH: feature/array-api-autograd
DEFAULT BRANCH: develop
Ran 10 Sep 2026 12:15PM UTC
Jobs 1
Files 632
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

10 Sep 2026 10:11AM UTC coverage: 96.943% (-0.6%) from 97.56%
34475070726

Pull #1419

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.
Pull Request #1419: Array api improvements to preserve computaional graph

487 of 837 new or added lines in 42 files covered. (58.18%)

1 existing line in 1 file now uncovered.

49560 of 51123 relevant lines covered (96.94%)

0.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
77
33.52
-13.85% colour/conftest.py
56
83.76
-15.89% colour/colorimetry/tests/test_tristimulus_values.py
30
92.04
-7.96% colour/algebra/tests/test_interpolation.py
27
95.96
-3.06% colour/algebra/interpolation.py
24
92.57
-7.43% colour/colorimetry/tests/test_spectrum.py
21
63.52
0.03% colour/utilities/array.py
17
76.06
-23.94% colour/quality/tests/test_ssi.py
13
94.38
-0.92% colour/utilities/tests/test_array.py
12
94.52
-5.48% colour/colorimetry/tests/test_dominant.py
9
95.38
-4.62% colour/quality/tests/test_tlci.py
9
86.15
-13.85% colour/temperature/tests/test__init__.py
8
87.69
-12.31% colour/difference/tests/test_metamerism_index.py
7
97.23
-2.77% colour/continuous/tests/test_signal.py
7
85.71
-14.29% colour/geometry/tests/test_intersection.py
6
97.94
-2.06% colour/difference/tests/test_delta_e.py
6
93.88
-6.12% colour/temperature/tests/test_robertson1968.py
4
89.74
-10.26% colour/colorimetry/tests/test_photometry.py
4
92.0
-8.0% colour/quality/tests/test_cqs.py
4
93.85
-6.15% colour/quality/tests/test_cri.py
3
98.18
-1.82% colour/contrast/tests/test_barten1999.py
3
95.0
-5.0% colour/recovery/tests/test__init__.py
1
97.1
-0.25% colour/colorimetry/tristimulus_values.py
1
98.41
-1.59% colour/quality/ssi.py
1
92.86
colour/recovery/_warnings.py

Coverage Regressions

Lines Coverage ∆ File
1
63.52
0.03% colour/utilities/array.py
Jobs
ID Job ID Ran Files Coverage
1 34475070726.1 10 Sep 2026 12:15PM UTC 632
96.94
GitHub Action Run
Source Files on build 34475070726
  • Tree
  • List 632
  • Changed 42
  • Source Changed 0
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1419
  • PR Base - develop (#34333258670)
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