SIM001 › For developers › Making the executor better
Your first league run › One game, 64 games, one generation passed
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.
The test behind the tutorial Your first league run: every step it takes, what it checks and what it saw.
Start
From the setup of Making the executor better, and:
Given the league is new
Everything it starts with
Given the league is new
- Every arranged state read back as arranged (1)
1 When the arena plays a game with the default executor
When the arena plays a game with the default executor Then the length of the game is 120 s
Expected behaviour: A game in the arena is a game of tag with the computer pilots.
- the length of the game is 120 s · A game in the arena is a game of tag with the computer pilots
- the players in the game are 4 · A game in the arena is a game of tag with the computer pilots
- the time the candidate flew by plan is above 90 s · A game in the arena is a game of tag with the computer pilots
- the crashes of the candidate are 0 · A game in the arena is a game of tag with the computer pilots
2 When the arena plays 64 games with the default executor
When the arena plays 64 games with the default executor Then the speed of the arena is at least 200 times real time
Expected behaviour: The arena plays much faster than real time.
- the speed of the arena is at least 200 times real time · The arena plays much faster than real time
3 When the league runs one generation with the evolution strategy
When the league runs one generation with the evolution strategy Then the challengers in the history are 8 And the report of the generation is written And the champion file is written
Expected behaviour: Each generation is written down.
- the challengers in the history are 8 · Each generation is written down
- the report of the generation is written · Each generation is written down
- the champion file is written · Each generation is written down