Align gait aggregation metadata with pulse/tremor outputs and add gait-volume fields#296
Draft
Copilot wants to merge 3 commits into
Draft
Align gait aggregation metadata with pulse/tremor outputs and add gait-volume fields#296Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/biomarkersParkinson/paradigma/sessions/015b41b5-655a-4bbb-8483-ea128523019f Co-authored-by: Erikpostt <57133568+Erikpostt@users.noreply.github.com>
Agent-Logs-Url: https://github.com/biomarkersParkinson/paradigma/sessions/015b41b5-655a-4bbb-8483-ea128523019f Co-authored-by: Erikpostt <57133568+Erikpostt@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Align metadata in gait pipeline to match other pipelines
Align gait aggregation metadata with pulse/tremor outputs and add gait-volume fields
May 21, 2026
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.
Gait aggregation output was structurally inconsistent with pulse rate and tremor metadata, and it did not expose key gait-volume context. This update aligns the gait JSON shape and adds explicit metadata for gait amount, filtered gait amount, and arm-swing counts.
Metadata shape alignment for gait aggregation
aggregations["gait"]["metadata"]alongside existingfiltered/unfilteredmeasure blocks.New gait metadata fields (amount + counts)
nr_gait_segmentsnr_filtered_gait_segmentsnr_arm_swingsnr_filtered_arm_swingsgait_duration_sfiltered_gait_duration_shours_of_gait_datahours_of_filtered_gait_dataConsistent metadata accumulation across files
combined.duration_s(instead of legacyall.duration_s) in gait pipeline output.combined.duration_sacross multi-file runs for both filtered and unfiltered gait.Focused regression coverage
aggregations["gait"]["metadata"]shape and duration↔hours consistency.