SIM001

SIM001 › For developers › Making the executor better

Your first league run

You play one game in the fast arena, then many, to see how fast the arena is. Then you run one generation of the league. The league writes down each challenger, a report of the generation and the champion.

  1. Type cargo run --release -p cognition_league -- play --seeds 1.

    The game lasts 120 s.

    The game lasts 120 s.
  2. Type cargo run --release -p cognition_league -- play --seeds 64.

    The arena plays the games at least 200 times faster than real time, on this computer.

    The arena plays the games at least 200 times faster than real time, on this computer.
  3. Type cargo run --release -p cognition_league -- run --generations 1 --strategies es.

    The file league/history.jsonl has 8 lines, one for each challenger. The file league/generations/001.md gives the scores of the generation. The file league/champion.json holds the tuning, the tactics and the hash of the champion.

    The file league/history.jsonl has 8 lines, one for each challenger. The file league/generations/001.md gives the scores of the generation. The file league/champion.json holds the tuning, the tactics and the hash of the champion.

Learn more

The user story: As a developer of the executor, I want to run the league once, so that I see how it scores and keeps a better executor.