MCPcopy Index your code
hub / github.com/CodeClash-ai/CodeClash / execute

Method execute

codeclash/utils/environment.py:30–33  ·  view source on GitHub ↗
(self, action: str | dict, cwd: str = "", *, timeout: int | None = None)

Source from the content-addressed store, hash-verified

28 """
29
30 def execute(self, action: str | dict, cwd: str = "", *, timeout: int | None = None) -> dict:
31 if isinstance(action, str):
32 action = {"command": action}
33 return super().execute(action, cwd, timeout=timeout)
34
35
36def assert_zero_exit_code(result: dict, *, logger: logging.Logger | None = None) -> dict:

Callers 15

get_environmentMethod · 0.95
copy_between_containersFunction · 0.45
copy_to_containerFunction · 0.45
copy_logs_from_envMethod · 0.45
_pre_round_setupMethod · 0.45
execute_roundMethod · 0.45
validate_codeMethod · 0.45
_compile_agentMethod · 0.45
_run_simulationMethod · 0.45
execute_roundMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected