dataforge: contracts (identity, paths, schema, writing, transports) - #111
Open
pablo-rerun wants to merge 1 commit into
Open
dataforge: contracts (identity, paths, schema, writing, transports)#111pablo-rerun wants to merge 1 commit into
pablo-rerun wants to merge 1 commit into
Conversation
Stdlib-only identity (SequenceIdentity: id = recording_id = filename) and layer-major path layout with overridable roots; exoego:v2 entity-path and video_time timeline constants as code; atomic tmp -> os.replace rrd publication (exists = done, --force); local_verify transport with typed stubs for the HOCap-era fetchers. Unit-tested without data.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First step of the dataforge work plan (design report in packages/dataforge/docs): the stdlib-only contracts, unit-tested without data.
SequenceIdentity(borrowed from simplecv's exoegosequence_identity.py): one value derivessequence_key,recording_id, and — per the "id = filename = key = segment" rule — the rrd filename stem.data/dataforge/rrd/<layer>/<recording_id>.rrd, raw treedata/raw/<dataset>/…; roots overridable viaDATAFORGE_OUTPUT_ROOT/DATAFORGE_RAW_ROOT(defaults package-local; batch runs point them at the NAS).video_timetimeline,/world/rig_NN/cam_MM/pinhole/video, the (until now reserved)/world/rig_NN/imu_MM/{gyro,accel},property:capture:*keys.os.replacerrd publication (pattern from arkitscenes-download),should_skip(exists = done,--force).local_verify(robocap's download is verify-only) plus typedNotImplementedErrorstubs forhf_fetch/http_fetch/gdrive_fetch(land with HOCap).All dev gates green:
pixi run -e dataforge-dev {tests,lint,typecheck,deadcode}(22 tests).Next PR in the stack: the robocap end-to-end slice (convert one segment: 6-cam video + Kalibr fisheye62 calib + dev0 IMU from the SQLite
.db, register + view).