Contributing: Environment¶
Environments live in plugrl-env-client.
Where to edit¶
- Implementation:
plugrl_env_client/envs/... - Registration:
plugrl_env_client.utils.registration
Checklist¶
- Implement a
BaseEnvand a dataclass config. - Register an env UID so
plugrl-run-env-client <env-id>works. - Ensure the env returns observations compatible with the worker recorder.
Verify¶
Start a dummy server.
Start an env client with your env.
Troubleshooting¶
- Env client CLI cannot find env UID: registration module was not imported.
- Env creation fails: check optional dependencies and your config defaults.