Description
Create code in evaluator that
-
Provides a Web socket server when a code object is marked as containing callbacks- Update March 2026: web sockets have been replaced by a new HTTP endpoint provided by the orchestrator.
- Receives callback requests from executors
- Checks that they are valid requests
- If so, transforms those requests into function-call ZObjects
- Passes the ZObjects to the Orchestrator
- Receives the function-call result from the Orchestrator, and returns it to the executor
- If an evaluated implementation attempts to call a disallowed function, returns a suitable error.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist