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

Function pack

codeclash/analysis/bootstrap/analyze_round_correlations.py:77–78  ·  view source on GitHub ↗
(game: np.ndarray, mu: np.ndarray)

Source from the content-addressed store, hash-verified

75 game0 = np.full(p, 0.3, dtype=float)
76
77 def pack(game: np.ndarray, mu: np.ndarray) -> np.ndarray:
78 return np.concatenate([game, mu])
79
80 def unpack(theta: np.ndarray) -> tuple[np.ndarray, np.ndarray]:
81 game = theta[:p]

Callers 1

fitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected