Skip to content

Handle missing statistics in TimeSeries representations - #3970

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/timeseries-repr-edge-cases
Open

sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/timeseries-repr-edge-cases

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown
Contributor

Report unavailable timestep and data-range statistics as n/a when representing valid single-sample and zero-column time series. Preserve the ordinary representation for populated time series and leave dt_statistics() validation unchanged.

Validation

  • Both new regressions failed on main and passed after the fix.
  • All 29 tests in test_timeseries.py passed against the worktree implementation with MuJoCo 4.0.1 native bindings on macOS ARM64.
  • git diff --check passes.
  • The broader sysid test suite was not run.

Fixes #3969.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TimeSeries repr fails for valid single-sample or zero-channel data

1 participant