SIM001

SIM001 › For developers › Making the executor better

Test report

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
Screenshot
  • 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.

Screenshot

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.

Screenshot

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.

Screenshot