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

Function get_arena

codeclash/arenas/__init__.py:46–50  ·  view source on GitHub ↗
(config: dict, **kwargs)

Source from the content-addressed store, hash-verified

44 PaintVolleyArena,
45 RoboCodeArena,
46 RobotRumbleArena,
47 SCMLOneShotArena,
48]
49
50
51# might consider postponing imports to avoid loading things we don't need
52def get_arena(config: dict, **kwargs) -> CodeArena:
53 game = {x.name: x for x in ARENAS}.get(config["game"]["name"])

Callers 4

_initialize_game_poolMethod · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls 1

getMethod · 0.80

Tested by 1