Skip to content

Conversation

@RuanJohn
Copy link
Collaborator

What?

Add env_metrics as an empty dictionary to the timestep extras.

Why?

Otherwise when we call metrics = timestep.extras["episode_metrics"] | timestep.extras["env_metrics"] in the Sebulba system rollouts it will fail for environments that don't have custom env metrics.

Extra

Some minor updates to the contributing docs.

@RuanJohn RuanJohn self-assigned this Jul 14, 2025
@RuanJohn RuanJohn added the bug Something isn't working label Jul 14, 2025
@RuanJohn RuanJohn force-pushed the fix/sebulba-system-env-metrics branch from 114a154 to f68e3af Compare July 14, 2025 09:25
Copy link
Collaborator

@sash-a sash-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐛

Copy link
Contributor

@WiemKhlifi WiemKhlifi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐛 ²²²²

@WiemKhlifi WiemKhlifi merged commit a9a75d5 into develop Oct 24, 2025
4 checks passed
@WiemKhlifi WiemKhlifi deleted the fix/sebulba-system-env-metrics branch October 24, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants