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

Method get_metadata

codeclash/arenas/arena.py:223–227  ·  view source on GitHub ↗

This is what we write to metadata.json. You can subclass extend this to add more details for specific games.

(self)

Source from the content-addressed store, hash-verified

221 f"git branch {branch_name}",
222 f"git checkout {branch_name}",
223 'git config --global user.email "player@codeclash.com"',
224 'git config --global user.name "Player"',
225 "git config --global commit.gpgsign false",
226 ]:
227 assert_zero_exit_code(environment.execute(cmd), logger=self.logger)
228 return environment
229
230 def get_metadata(self) -> dict:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected