Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

pipekit's skill shelf: operators, recipes and cycles, with no skill to start from

Design · the skill tree for the library at the recipe rung

1Decision

Recommended: pipekit’s shelf is 21 use skills over nine units; two skills are listed, compose-and-run-pipelines for the core package and cycles-training-and-evaluation for the packages built on it; and a dependent that subclasses Operator receives the operator card whatever its name count. Alternative: one listed skill per package, seven in all, which matches how pipekit is installed and lists five skills most sessions never use. Status: open, 12 Nov 2026.

What does not change: pipekit’s packages and their public API. pipekit has no use skill and no contributor skill today, so everything on this page is new. This page follows the pattern of gaussx’s shelf and says only where pipekit differs.

At the pin (f2b3522) the core package still imports as pipekit. Its rename to pipekit_ops (jejjohnson/pipekit#232) changes the module names in the script’s configuration, not the units.

2Motivation

pipekit is seven packages with seven different jobs, and nine packages in the stack build on it.

Table 1:pipekit’s public names by unit, at the submodule pin, over its seven packages.

UnitRungsHome bandSubpackagesNames
Operators and composition⑤ ⑥geoscience, datapipekit_ops.operators 43, pipekit_ops.carriers 23, pipekit_ops.core 21, pipekit_ops.testing 289
Control and execution⑥datapipekit_ops.execution 11, pipekit_ops.observe 920
Recipes as data⑥datapipekit_ops.saving 1515
Named arrays⓪ ① ⑤geoscience, MLpipekit_array.named 43, pipekit_array.arrays 31, pipekit_array.operators 29, pipekit_array.testing 28, pipekit_array.bridges 9, pipekit_array.kernels 7, pipekit_array 1148
Cycles⑥ML, geosciencepipekit_cycle.protocols 14, pipekit_cycle.cycles 13, pipekit_cycle.components 7, pipekit_cycle.assimilation 438
JAX bridge⑤ ⑥MLpipekit_jax.cycle 3, pipekit_jax 2, pipekit_jax.model_op 1, pipekit_jax.operator 17
Training⑥MLpipekit_train.backends 20, pipekit_train.loop 9, pipekit_train.data 6, pipekit_train.losses 6, pipekit_train.sweep 445
Evaluation⑥MLpipekit_evaluate.benchmark 16, pipekit_evaluate.scoring 12, pipekit_evaluate.reports 3, pipekit_evaluate 132
Experiments and registriesorchestrationdatapipekit_experiment.registry 3, pipekit_experiment.run 3, pipekit_experiment.artifacts 2, pipekit_experiment.protocols 210
All404

Table 2:Which part of pipekit each dependent package uses.

Dependent packageNames usedOperators and compositionControl and executionRecipes as dataNamed arraysCyclesJAX bridgeTrainingEvaluationExperiments and registries
geotoolz-ops322032700000
gridax238001401000
geotoolz-array228001400000
sesmax-experiment12812010000
xrtoolz-ops11600400010
radiomax8000800000
vardax8100070000
geophysix6000600000
geotoolz-patcher6200100300
plumax6200300100
sesmax-core4200002000
geotoolz-products1100000000
radtrax1100000000
tracerax1000100000

The dependents split cleanly by package. geotoolz-ops and geotoolz-array take operators and named arrays, vardax takes the cycle protocols, and sesmax-core takes the JAX bridge. Training and evaluation are each touched by one package, for a single name: they are used from scripts.

3The shelf

Most of pipekit sits at ⑥, so its shelf is where the recipe and orchestration files of role-ladder are used most.

Table 3:pipekit’s shelf. Each use skill is one file. pipekit has no contributor skills, so the extend rows are proposals.

RoleSkillCoversPackage
⓪ structureNamed arraysDimArray, its adapter, Padded batches, row layoutspipekit_array
⓪ structureSignatures and adaptersSignature, Carrier, the named-array adapter registrypipekit
① primitiveFunctions on dimssel, isel, reduce, concat, stack, transpose, map_over, take_alongpipekit_array
② strategyAdjoints for a cycledirect, backsolve, recursive-checkpoint, truncated and implicit adjointspipekit_cycle, pipekit_jax
② strategyLossesMSE, NLL, KL, Compositepipekit_train
③ modelThe cycle protocolsForwardModel, ObservationOperator, AnalysisStep and the other contracts a model implementspipekit_cycle
⑤ stepWriting an OperatorOperator, its config, its signature, state, Predictor and FittableTransformerpipekit
⑤ stepBuilding blocksIdentity, Const, Lambda, Sink, compose, pipe, juxtpipekit
⑤ stepOperators on named arraysSel, Reduce, MapOver, Transpose, KernelOppipekit_array
⑤ stepA JAX model as a stepJaxOperator, JaxModelOp, JaxKernelOp, to_jaxpipekit_jax
⑤ stepadd-operator, add-adapterextend, proposed
⑥ recipeComposingSequential, Graph, Input, Node, Fanoutpipekit
⑥ recipeControl flowBranch, Switch, Try, Retry, Coalescepipekit
⑥ recipeParallel maps and cachingThreadMap, ProcessMap, AsyncMap, BatchedMap, Cache, Memoizepipekit
⑥ recipeChecks and observationthe Assert* checks, Quarantine, Tap, Snapshot, Profile, ShapeTracepipekit
⑥ recipeRecipes as datadumps, loads, loads_sandboxed, register, pipeline_hashpipekit
⑥ recipeCyclesCycle, WindowedCycle, EnsembleCycle, Recurrencepipekit_cycle
⑥ recipeData-assimilation cyclesDACycle, EnsembleDACycle, SmootherCycle, the observation and forward wrapperspipekit_cycle
⑥ recipeScan cycles in JAXScanCycle, EnsembleScanCycle, Rollout, DiffraxForwardModelpipekit_jax
⑥ recipeTraining loopsTrainingLoop, datasets, callbacks, HyperSweeppipekit_train
⑥ recipeBenchmarks and evaluationBenchmark, Scorer, Oracle, evaluate, reportspipekit_evaluate
⑥ recipeadd-cycle-template, add-scorerextend, proposed
orchestrationExperiments and registriesRun, its artifacts and metrics, local and S3 model registries, trackerspipekit_experiment

That is two structures, one primitive, two strategies, one model, four steps, ten recipes and one orchestration skill.

4Units and cards

Table 4:The cards each dependent package would receive from pipekit: a unit it uses three names of, or subclasses a name of.

Dependent packageCardsAlso uses
geotoolz-opsOperators and composition (subclasses Operator, Sequential); Control and execution; Named arraysRecipes as data (2)
gridaxOperators and composition; Named arrays; JAX bridge (subclasses JaxOperator)
geotoolz-arrayOperators and composition; Named arrays
sesmax-experimentOperators and composition (subclasses Operator, StatefulOperator)Control and execution (1); Recipes as data (2); Cycles (1)
xrtoolz-opsOperators and composition (subclasses Operator); Named arraysEvaluation (1)
radiomaxNamed arrays
vardaxOperators and composition (subclasses Operator); Cycles (subclasses CallableObs, LinearObs)
geophysixNamed arrays
geotoolz-patcherOperators and composition (subclasses Operator); Training (subclasses TrainingDataset)Named arrays (1)
plumaxOperators and composition (subclasses Operator); Named arraysTraining (1)
sesmax-coreOperators and composition (subclasses Operator); JAX bridge (subclasses JaxOperator)
geotoolz-productsnoneOperators and composition (1)
radtraxOperators and composition (subclasses Operator)
traceraxnoneNamed arrays (1)

By name count alone, four packages would receive no card: geotoolz-patcher, somax, geotoolz-products and plumax each take one or two names from the operator unit, and the name is Operator. geotoolz-patcher, somax and plumax subclass it, and a package that subclasses a base class needs the whole contract, however few names it imports. So the threshold counts calls, and a subclass always earns the card. The script reads the bases of every class in a dependent package, and the table names the base that earned each card. Six packages receive the operator card that way, and vardax and sesmax-core gain it beside the card they already had. geotoolz-products is the one package left without a card: it imports Operator and subclasses nothing. A class that matches a protocol’s shape without naming the protocol as a base is not found.

5Listed skills

Table 5:The listed use skills. Line budgets are proposals.

SkillBandUnitsAsked for as
compose-and-run-pipelines, the front door, at most 150 linesgeoscience, dataoperators and composition; control and execution; recipes as data; named arrays“chain these steps”, “retry and cache this”, “save the pipeline as JSON”
cycles-training-and-evaluation, at most 150 linesMLcycles; the JAX bridge; training; evaluation; experiments and registries“run a data-assimilation cycle”, “train this model”, “benchmark these estimators”

6What pipekit needs from below

pipekit is at tier 0 of GeoStack and imports no other library of the stack. Its floor is third party, and only for the packages built on the core.

FromSurfaces to a callerCard in
equinox, jaxyes, in pipekit-jax: a JaxOperator is also a Modulethe JAX bridge
diffraxyes, in pipekit-jax: DiffraxForwardModel and the adjoint conversionthe JAX bridge; adjoints for a cycle
xarrayyes, in pipekit-array, as a named array with no CRSnamed arrays

7Where pipekit bends the pattern

  1. A contract is not a name count. Subclassing Operator is one import and the whole contract. The card rule is “subclasses a name” beside “uses at least three names”, and it does not yet cover a protocol implemented by shape.

  2. The shelf is mostly ⑥. Ten of 21 entries are recipes. role-ladder’s recipe and orchestration files carry the general rules, and pipekit’s entries say only what each combinator or template does.

  3. Nothing exists yet. With no skill and no contributor skill to start from, the skeleton came from the packages and their subpackages alone, and the four extend skills are proposals.

  4. Units are packages. Each package above the core is one unit, because each has one job and its own dependents.

8Gates

Gates GX-0 to GX-6 of gaussx’s shelf apply with pipekit’s names, and one is added.

GatePasses when
PK-1 Contractsevery package that subclasses pipekit.Operator or implements a pipekit_cycle protocol receives that unit’s card; the subclass half is generated into Table 4, the protocol half is not checked

9Risks

10Follow-up reports

11Relationships