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

colour-science / colour
97%
develop: 98%

Build:
Build:
LAST BUILD BRANCH: feature/array-api-autograd
DEFAULT BRANCH: develop
Repo Added 02 Sep 2014 08:53AM UTC
Files 632
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

LAST BUILD ON BRANCH feature/array-api-autograd
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • array-api-stack
  • array_api_enhancements
  • develop
  • docs/pre-commit
  • feature/CLF
  • feature/CLF_execution
  • feature/PMC
  • feature/ampas_io
  • feature/apple_log_profile
  • feature/array-api-autograd
  • feature/array-api-support
  • feature/barten_pupil_diameter
  • feature/benchmarks
  • feature/callback
  • feature/callback_alternative
  • feature/canon_log_v1.2
  • feature/checks
  • feature/cie2024_integration
  • feature/cie2024_varnish
  • feature/cie_sky
  • feature/cie_xyy
  • feature/cif_recommendation
  • feature/colorchecker_sg
  • feature/continuous_interpolation
  • feature/continuous_ssi
  • feature/copyless
  • feature/correction
  • feature/coverage
  • feature/delegate
  • feature/delta_e_din99_methods_staging
  • feature/delta_e_return_additional_data_staging
  • feature/devcontainer
  • feature/diagrams_models
  • feature/dimensionality_reduction
  • feature/docstrings
  • feature/domain-range-scale-annotations
  • feature/fichet2021
  • feature/flattened_hellwig2022
  • feature/flattened_hellwig2022_linear_extension
  • feature/flog2c
  • feature/fujifilm_flog2
  • feature/gamma_class
  • feature/gamma_partials
  • feature/gaussian-upsampling
  • feature/graph
  • feature/hyab_staging
  • feature/hych
  • feature/hych_staging
  • feature/idt
  • feature/in-place
  • feature/isort
  • feature/iterable_signal
  • feature/jenv
  • feature/line_locus
  • feature/literals
  • feature/lut_support_improvements
  • feature/lut_write
  • feature/metadata
  • feature/metamerism-spectral-staging
  • feature/mired
  • feature/munsell-onnx
  • feature/numpy-2
  • feature/numpy-printoptions
  • feature/numpy_1_24_0
  • feature/openimageio
  • feature/openimageio-ci
  • feature/optional-scipy
  • feature/osa-ucs
  • feature/osa_ucs
  • feature/plasa_ansi_e154
  • feature/polar_conversions
  • feature/prek
  • feature/pydot
  • feature/pyproject_upgrade
  • feature/pyright
  • feature/pytest
  • feature/python-3.12
  • feature/python-3.13
  • feature/python-3.14
  • feature/qhull-regression
  • feature/rayleigh
  • feature/rayleigh_jeans_blackbody
  • feature/reshape_sd_copy
  • feature/rgb_xyz
  • feature/robertson1968
  • feature/ruff
  • feature/scalar-type-aliases-staging
  • feature/sd_gaussian
  • feature/sd_reference_illum
  • feature/sdiv
  • feature/shape_from_array
  • feature/small_labels
  • feature/spow_bt1886
  • feature/ssi
  • feature/sucs-scam-staging
  • feature/thin_film
  • feature/tjdcs/v0.4.4
  • feature/unit_tests
  • feature/unittests
  • feature/uv
  • feature/v0.4.2
  • feature/v0.4.3
  • feature/v0.4.4
  • feature/v0.4.5
  • feature/v0.4.6
  • feature/v0.4.7
  • feature/v0.4.8
  • feature/vaab_colour
  • feature/vectorised-upsampling
  • feature/vk20
  • feature/web_colours
  • feature/wgpu
  • feature/wilkie2021
  • feature/xdist-shenanigans
  • feature/xiaomi_log_profile
  • feature/xxhash
  • feature/yrg
  • feature/yuv
  • feature_cct_improvements
  • fix/array-api-autograd
  • hych_staging
  • maintenence/ctlrender
  • maintenence/poetry_packages
  • master
  • performance/cfi2017
  • performance/interpolation
  • poetry_packages
  • pre-commit-ci-update-config
  • sd_to_xyz_integration_shape
  • v0.4.2
  • v0.4.3
  • v0.4.4
  • v0.4.5
  • v0.4.6
  • v0.4.7

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

Relevant lines Covered
Build:
Build:
51123 RELEVANT LINES 49560 COVERED LINES
0.97 HITS PER LINE
Source Files on develop
  • Tree
  • List 632
  • Changed 42
  • Source Changed 0
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34475070726 feature/array-api-autograd 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 nati... Pull #1419 10 Sep 2026 12:15PM UTC MichaelMauderer github
96.94
34368953461 feature/array-api-autograd 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 nati... Pull #1419 09 Sep 2026 03:57PM UTC MichaelMauderer github
96.94
34368912184 feature/array-api-autograd Merge f5a8d08f7 into 5259f87c0 Pull #1419 09 Sep 2026 03:43PM UTC web-flow github
96.94
34368907018 feature/array-api-autograd 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 nati... push 09 Sep 2026 03:25PM UTC MichaelMauderer github
96.94
34333258670 develop Add full CI testing for all backends. push 09 Sep 2026 09:22AM UTC thomasmansencal github
97.56
33755524264 fix/array-api-autograd [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Pull #1418 03 Sep 2026 01:05PM UTC pre-commit-ci[bot] github
97.44
33693495284 feature/array-api-support Add full CI testing for all backends. Pull #1406 02 Sep 2026 11:13PM UTC thomasmansencal github
97.56
33633497478 array_api_enhancements Add full CI testing for all backends. Pull #1417 02 Sep 2026 01:37PM UTC MichaelMauderer github
97.56
33632003935 array_api_enhancements Merge 8fa60b001 into b6e63a904 Pull #1417 02 Sep 2026 01:35PM UTC web-flow github
97.56
33631999331 array_api_enhancements Add full CI testing for all backends. push 02 Sep 2026 01:28PM UTC MichaelMauderer github
97.56
See All Builds (7090)
  • Repo on GitHub
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