import asyncio import morphology from experiments.stochastic_hillclimber.trainer import Trainer from genotype import construct, save_genotype def test_genotype_construction(): trainer = Trainer( morphology_spec=morphology, hidden_layer_densities=[2], max_attempts=float("inf"), eval_limit=float("inf"), fitness_target=99.9, experimental_file="experimental.json", best_file="best.json", exoself_steps_per_eval=0, ) asyncio.run(trainer.go()) test_genotype_construction()