MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / init

Method init

codeclash/arenas/scml/runtime/run_scml.py:328–333  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

326 _policy_controllers: list[PolicyController] = []
327
328 def init(self):
329 super().init()
330 self._codeclash_policy = PolicyController(
331 player_name, path, timeout=decision_timeout, max_errors=max_policy_errors
332 )
333 self.__class__._policy_controllers.append(self._codeclash_policy)
334
335 def _base_observation(self, event: str, negotiator_id: str | None = None, state=None) -> dict[str, Any]:
336 nmi = self.get_nmi(negotiator_id) if negotiator_id else None

Callers

nothing calls this directly

Calls 1

PolicyControllerClass · 0.70

Tested by

no test coverage detected