feat(train): SnapshotDataset folds the Icechunk snapshot id into content_hash
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 56/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- data-engineering
Direzione di ricerca
Start with pipekit_train/dataset.py, especially hash_config and CachedDataset, and read the linked Recipe registries design page for context. Use a local Icechunk repository with two commits to verify that a newly built dataset gets a different hash after the branch advances while the existing dataset remains pinned. Done also includes a doctested docstring example, a package README line, and an updated design-page status.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem / Request
content_hash hashes the config, so the same path after the data changed gives the same hash and caches go stale silently.
Proposed API
import pipekit_train as pkt
# proposed (J)
dataset = pkt.SnapshotDataset(repo_uri, ref="main", group="train")
dataset.snapshot_id # resolved at construction
dataset.content_hash # hash_config(config, snapshot_id)
References & Existing Code
hash_configpipekit_train/dataset.py:37;CachedDatasetpipekit_train/dataset.py:461- Design page: Recipe registries (source until jejjohnson/geostack#164 merges:
recipe-registries.html)
Implementation Steps
- Resolve
refto a snapshot id at construction. content_hash=hash_config(config, snapshot_id).- Reads go through the pinned snapshot only.
Definition of Done
- A new commit on the branch changes the hash of a newly built dataset and not of the existing one.
Testing
Local Icechunk repo; two commits.
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
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 3h 50m
- PR unite (30g)
- 143
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jejjohnson/pipekit
-
area:code layer:0-primitives priority:p2 type:feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jejjohnson/pipekit#296 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
jejjohnson/pipekit#411 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
jejjohnson/pipekit#410 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
jejjohnson/pipekit#409 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
jejjohnson/pipekit#408 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di jejjohnson/pipekit
Issue simili
-
A JSON chat answer blocks the backend event loop for the whole RAG runForse già presa @NopeCharon l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
The-OpenROAD-Project/ORAssistant#656 ·
I maintainer di solito rispondono entro 1 giorno
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorForse già presa @jejjohnson l’ha presa oggi. Apertatype:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
jejjohnson/integrix#144 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno