(player_name: str)
| 18 | |
| 19 | |
| 20 | def safe_module_name(player_name: str) -> str: |
| 21 | safe = re.sub(r"\W+", "_", player_name) |
| 22 | if not safe or safe[0].isdigit(): |
| 23 | safe = f"player_{safe}" |
| 24 | return f"codeclash_cyborg_{safe.lower()}" |
| 25 | |
| 26 | |
| 27 | def load_policy_module(player_name: str, path: str): |
no outgoing calls
no test coverage detected