Skip to content

Tester

src.tester

View source code

Visualize the elite from a saved run or a specified PyTorch checkpoint.

find_latest_checkpoint(runs_dir: Path = Path('runs')) -> Path

Find the newest run's elite model, retaining support for legacy output.

load_player(checkpoint_path: Path | None = None, runs_dir: Path = Path('runs')) -> IndividualPlayer

Load an elite player from an explicit checkpoint or the latest run.

create_parser() -> argparse.ArgumentParser

main(argv: list[str] | None = None) -> int