<commit_before>package consul

import (
	"github.com/pivotal-cf-experimental/destiny/core"
	"github.com/pivotal-cf-experimental/destiny/iaas"
	"github.com/pivotal-cf-experimental/destiny/turbulence"
)

func NewManifestWithTurbulenceAgent(config ConfigV2, iaasConfig iaas.Config) (ManifestV2, error) {
	manifest, err := NewManifestV2(config, iaasConfig)
	if err != nil {
		return ManifestV2{}, err
	}
	consulTestConsumerJob, err := manifest.GetInstanceGroup("test_consumer")
	if err != nil {
		// not tested
		return ManifestV2{}, err
	}

	consulTestConsumerJob.Jobs = append(consulTestConsumerJob.Jobs, core.InstanceGroupJob{
		Name:    "turbulence_agent",
		Release: "turbulence",
	})

	manifest.Releases = append(manifest.Releases, core.Release{
		Name:    "turbulence",
		Version: "latest",
	})

	cidr, err := core.ParseCIDRBlock(config.AZs[0].IPRange)
	if err != nil {
		// not tested
		return ManifestV2{}, err
	}<commit_msg>not colocating turbulence with test-consumer<commit_after>package consul

import (
	"github.com/pivotal-cf-experimental/destiny/core"
	"github.com/pivotal-cf-experimental/destiny/iaas"
	"github.com/pivotal-cf-experimental/destiny/turbulence"
)

func NewManifestWithTurbulenceAgent(config ConfigV2, iaasConfig iaas.Config) (ManifestV2, error) {
	manifest, err := NewManifestV2(config, iaasConfig)
	if err != nil {
		return ManifestV2{}, err
	}

	manifest.Releases = append(manifest.Releases, core.Release{
		Name:    "turbulence",
		Version: "latest",
	})

	cidr, err := core.ParseCIDRBlock(config.AZs[0].IPRange)
	if err != nil {
		// not tested
		return ManifestV2{}, err
	}
{'fraction_non_alphanumeric': 0.12897196261682242, 'fraction_numerical': 0.00809968847352025, 'mean_word_length': 4.904411764705882, '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': '2220747', 'n_tokens_mistral': 626, 'n_tokens_neox': 587, 'n_words': 104}