feat(experiment): RecipeStamp — record the recipe on every product
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
Start by reading pipekit_ops/hashing.py at the referenced pipeline_hash and sha256_hex implementations, then review the Recipe registries design page for context. Implement the frozen RecipeStamp, stamping and attribute conversion APIs, and the requested top-level export. Done means deterministic stamps, a changed hash for a config change, an attrs round trip, and lock_hash=None when no lockfile is present.
Written by the indexing model from the issue text.
Description
Problem / Request
A product does not say which operator graph, weights, package versions or lockfile produced it.
Proposed API
import pipekit_experiment as pke
# proposed (G)
recipe = pke.stamp(pipeline, weights=weights, registry_uri=uri)
recipe.pipeline_hash, recipe.registry_uri, recipe.versions, recipe.lock_hash
recipe.to_attrs() # dict for Zarr / STAC
References & Existing Code
pipeline_hashpipekit_ops/hashing.py:95;sha256_hexpipekit_ops/hashing.py:76- Design page: Recipe registries (source until jejjohnson/geostack#164 merges:
recipe-registries.html)
Implementation Steps
- Frozen
RecipeStamp(pipeline_hash, registry_uri, versions, lock_hash). stamp()usespipeline_hashandpipekit_ops.hashing.sha256_hex; exportsha256_hexat the top level.to_attrs/from_attrsfor Zarr attributes and STAC properties.
Definition of Done
- Same pipeline + weights → same stamp; one config change → different hash.
Testing
Determinism; attrs round trip; lockfile absent → lock_hash=None.
Documentation
- Docstring with a doctested example; a line in the package README.
- Update the design page's status for this workstream.
Relationships
- Parent: #234
Pins checked: geostack 343d60e, geotoolz 640670c, pipekit 9e86a56.
Generated by Claude Code
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 3h 50m
- Merged PRs (30d)
- 143
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jejjohnson/pipekit
-
area:code layer:0-primitives priority:p2 type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jejjohnson/pipekit#296 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 3/5 1-2 days Newbie friendliness 57/100
jejjohnson/pipekit#411 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
jejjohnson/pipekit#410 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 5/5 Over a week Newbie friendliness 38/100
jejjohnson/pipekit#409 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 3/5 1-2 days Newbie friendliness 75/100
jejjohnson/pipekit#408 ·
Maintainers usually reply within 1 day
All issues in jejjohnson/pipekit
Similar issues
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day