MCPcopy Create free account
hub / github.com/BillHuang2001/evogit / vector_direct_crossover

Function vector_direct_crossover

python-impl/evogit/api.py:527–535  ·  view source on GitHub ↗
(config: EvoGitConfig, seed: int, commits: list[str])

Source from the content-addressed store, hash-verified

525
526
527def vector_direct_crossover(config: EvoGitConfig, seed: int, commits: list[str]) -> str:
528 vectors = []
529 for commit in commits:
530 binary_data = git.read_file(config, commit, mode="binary")
531 with io.BytesIO(binary_data) as f:
532 vector = np.load(f)
533 vectors.append(vector)
534
535 vectors = np.array(vectors)
536
537
538def migrate_from_human_tags(config: EvoGitConfig, migrate_count: int) -> list[str]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected