tests.integration_tests.generic_env.test_graph_embedding_observations#

Functions

test_env_check

Test to Stable Baselines 3 Environment checker compliance once wrapped.

test_obs_range

Test that each component of the observation space in the environment has the correct length and value range.

test_obs_size

Test that the observation size returned by the environment is the correct length.

test_wrapped_env

Test that the environment get correctly wrapped with the Feather Observation Wrapper.

tests.integration_tests.generic_env.test_graph_embedding_observations.test_wrapped_env(game_mode_name, network_name, n_nodes, create_yawning_titan_run)[source]#

Test that the environment get correctly wrapped with the Feather Observation Wrapper.

tests.integration_tests.generic_env.test_graph_embedding_observations.test_obs_size(game_mode_name, network_name, n_nodes, create_yawning_titan_run)[source]#

Test that the observation size returned by the environment is the correct length.

tests.integration_tests.generic_env.test_graph_embedding_observations.test_obs_range(game_mode_name, network_name, n_nodes, num_nodes_check, create_yawning_titan_run)[source]#

Test that each component of the observation space in the environment has the correct length and value range.

Observation Space is made up of:
  • 500 value graph embedding

  • other features from the env based on input from the settings file

tests.integration_tests.generic_env.test_graph_embedding_observations.test_env_check(create_yawning_titan_run)[source]#

Test to Stable Baselines 3 Environment checker compliance once wrapped.