Contributing: Policy¶
Policies live in plugrl-server.
Where to edit¶
- Implementation:
plugrl_server/policy/... - Registration:
plugrl_server.policy.registration
Checklist¶
- Implement a policy and its config dataclass.
- Register it (UID + variants) and make sure it is imported.
- Keep action shapes stable across inference and training.
Verify¶
Start the server with your policy.
Connect a dummy worker.
Troubleshooting¶
- Policy UID not listed: registration module was not imported.
- Shape mismatch in training: align action and
InternalStatewith your buffers.