<commit_before>"""Contains all callable environments in Flow."""

# single agent envs
from flow.envs.base_env import Env
from flow.envs.bay_bridge.base import BayBridgeEnv
from flow.envs.bottleneck_env import BottleNeckAccelEnv, BottleneckEnv, \
    DesiredVelocityEnv
from flow.envs.green_wave_env import TrafficLightGridEnv, \
    PO_TrafficLightGridEnv, GreenWaveTestEnv
from flow.envs.loop.lane_changing import LaneChangeAccelEnv, \
    LaneChangeAccelPOEnv
from flow.envs.loop.loop_accel import AccelEnv
from flow.envs.loop.loop_merges import TwoLoopsMergePOEnv
from flow.envs.loop.wave_attenuation import WaveAttenuationEnv, \
    WaveAttenuationPOEnv
from flow.envs.merge import WaveAttenuationMergePOEnv
from flow.envs.test import TestEnv

# multi agent envs
multi_flag = True
try:
    from flow.envs.multiagent_env import MultiEnv
except:
    multi_flag = False

env_list = [
    "Env", "MultiEnv", "AccelEnv", "LaneChangeAccelEnv",
    "LaneChangeAccelPOEnv", "GreenWaveTestEnv", "GreenWaveTestEnv",
    "WaveAttenuationMergePOEnv", "TwoLoopsMergePOEnv", "BottleneckEnv",
    "BottleNeckAccelEnv", "WaveAttenuationEnv", "WaveAttenuationPOEnv",
    "TrafficLightGridEnv", "PO_TrafficLightGridEnv", "DesiredVelocityEnv",
    "TestEnv", "BayBridgeEnv",
]


if multi_flag:
    from flow.envs.loop.wave_attenuation import MultiWaveAttenuationPOEnv
    from flow.envs.loop.loop_accel import MultiAgentAccelEnv
    env_list += ["MultiAgentAccelEnv", "MultiWaveAttenuationPOEnv"]

else:
__all__ = env_list
<commit_msg>minor<commit_after>"""Contains all callable environments in Flow."""

# single agent envs
from flow.envs.base_env import Env
from flow.envs.bay_bridge.base import BayBridgeEnv
from flow.envs.bottleneck_env import BottleNeckAccelEnv, BottleneckEnv, \
    DesiredVelocityEnv
from flow.envs.green_wave_env import TrafficLightGridEnv, \
    PO_TrafficLightGridEnv, GreenWaveTestEnv
from flow.envs.loop.lane_changing import LaneChangeAccelEnv, \
    LaneChangeAccelPOEnv
from flow.envs.loop.loop_accel import AccelEnv
from flow.envs.loop.loop_merges import TwoLoopsMergePOEnv
from flow.envs.loop.wave_attenuation import WaveAttenuationEnv, \
    WaveAttenuationPOEnv
from flow.envs.merge import WaveAttenuationMergePOEnv
from flow.envs.test import TestEnv

# multi agent envs
multi_flag = True
try:
    from flow.envs.multiagent_env import MultiEnv
except Exception:
    multi_flag = False

env_list = [
    "Env", "MultiEnv", "AccelEnv", "LaneChangeAccelEnv",
    "LaneChangeAccelPOEnv", "GreenWaveTestEnv", "GreenWaveTestEnv",
    "WaveAttenuationMergePOEnv", "TwoLoopsMergePOEnv", "BottleneckEnv",
    "BottleNeckAccelEnv", "WaveAttenuationEnv", "WaveAttenuationPOEnv",
    "TrafficLightGridEnv", "PO_TrafficLightGridEnv", "DesiredVelocityEnv",
    "TestEnv", "BayBridgeEnv",
]

if multi_flag:
    from flow.envs.loop.wave_attenuation import MultiWaveAttenuationPOEnv
    from flow.envs.loop.loop_accel import MultiAgentAccelEnv
    env_list += ["MultiAgentAccelEnv", "MultiWaveAttenuationPOEnv"]
else:
    __all__ = env_list

{'fraction_non_alphanumeric': 0.08409986859395532, 'fraction_numerical': 0.0, 'mean_word_length': 5.858108108108108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4971980', 'n_tokens_mistral': 1060, 'n_tokens_neox': 1015, 'n_words': 207}