[EPIC] pipekit-array owns the stack's array plumbing

Open
#272 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
5/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
numpy, python
Domain
data

Research direction

This is a tracking epic: most child issues (#273 to #283) are already checked off, and the remaining adoption work is spread across other repositories. The only file the payload names is pipekit_array/hooks.py, which holds the shared hooks. Nothing here is a single first-timer task, so read the linked child issues before touching code. Done would mean the listed adoption issues are closed and the API pages exist.

Written by the indexing model from the issue text.

Description

area:code layer:0-primitives type:epic-theme

Theme

Every library of the stack takes its array plumbing from pipekit, and keeps its own subject.

Parent Wave

None. Decided by the owner on 25 Nov 2026: pipekit-array is a core library, and every library of the GeoStack may import it.

Motivation

geophysix, radiomax, diagnostix and gridax run on any array library, and each wrote helpers for what the array API standard leaves out.
functax, integrix, gaussx and kernellib wrote JAX versions of the same helpers.
This epic moves the helpers to one place, so that a function can be made to run on any library where it is.

The rule. A helper belongs here if its description needs no grid, Earth, kernel, spectrum, operator or solver.

Stays where it is Library
geometry, quadrature, bases, interpolation functax
spectra, wavelets, EOFs, climatologies, windows, columns diagnostix
physics, angles, apply_along geophysix, radiomax
solvers and curvature argminax

On JAX nothing changes. Each hook is JAX's own call on JAX data and lowers to the same jaxpr, so a library that stays on JAX loses nothing.

Issues

  • #273 — set_at, add_at, multiply_at
  • #274 — vmap, scan
  • #275 — stop_gradient, optimization_barrier, pad
  • #276 — roots, angles and powers with finite gradients
  • #277 — is_traced, is_concrete, concrete
  • #278 — check_values, require_floating
  • #279 — as_inexact
  • #280 — import_optional
  • #281 — reduction_inputs, used_weights, constants_like
  • #282 — shared test checks
  • #283 — [Design] pipekit-jax drops diffrax and integrix (option A: DiffraxForwardModel is in integrix 0.0.11)

Execution Notes

  • All but #278 (after #277) can run in parallel; #273, #274 and #275 share one new module, pipekit_array/hooks.py, so they go as a stack.
  • One release of pipekit-ops and pipekit-array carries them.
  • #283 blocks the adoption in functax, gaussx, integrix and kernellib, and nothing else here.

Adoption

Released as pipekit-array-v0.1.6 on 25 Nov 2026. Each repository has one issue, a sub-issue of this epic; the first group already pins pipekit and moves its tag first.

Repository Change
jejjohnson/geophysix#75 register_record, the test checks
jejjohnson/radiomax#79 the safe roots, register_record, the test checks
jejjohnson/gridax#576 the hooks, constants_like
jejjohnson/diagnostix#68 the reduction inputs, constants_like, the test checks
jejjohnson/geotoolz#810 import_optional, is_traced
jejjohnson/sesmax#178, jejjohnson/vardax#310 DiffraxForwardModel from integrix
jejjohnson/functax#175, then jejjohnson/integrix#106, jejjohnson/gaussx#886, jejjohnson/kernellib#315, jejjohnson/tracerax#46, jejjohnson/argminax#101 the helpers of each
jejjohnson/geostack#319 the docs and the figures

plumax moves its pin only.

Parallelism

  • Can run in parallel with: everything else in pipekit.

Definition of Done

  • All child issues closed
  • Tests for each helper on NumPy, JAX and array_api_strict
  • API pages for the new names
  • pipekit-ops and pipekit-array tagged

Relationships

  • Related: #253, #245, #247
Dominant language
Python
Stars
0
Forks
0
Avg merge
3h 50m
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jejjohnson/pipekit

All issues in jejjohnson/pipekit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.