Contributing: Algorithm¶
Algorithms live in plugrl-server.
Where to edit¶
- Implementation:
plugrl_server/algorithm/... - Registration:
plugrl_server.algorithm.registration - Server loop:
plugrl_server.server.websocket_agent_server
Checklist¶
- Implement the
infer(...)andfeedback(...)contract used by the server loop. - Implement training and checkpoint hooks as needed.
- Register your config (UID + variants) and make sure it is imported.
Verify¶
Start a server that uses your algorithm.
Connect a dummy worker.
Troubleshooting¶
- Algo UID not listed: registration module was not imported.
- Server crashes on first
infer: observation schema mismatch.