from growth import GrowthPolicy


def test_growth_policy_defaults_are_conservative_and_aligned():
    growth_policy = GrowthPolicy()

    assert growth_policy.enable_layer_growth is False
    assert growth_policy.max_total_layers == 16
    assert growth_policy.avg_slots_threshold == 8.0
    assert growth_policy.percent_neurons_at_cap_threshold == 50.0
    assert growth_policy.layer_cooldown_ticks == 25
    assert growth_policy.new_layer_excitatory_count == 4
    assert growth_policy.wire_probability == 1.0
