<commit_before>package models

// DeploymentManifest describes all the configuration for any BOSH deployment
type DeploymentManifest struct {
	Meta          map[string]interface{}
	Name          string
	DirectorUUID  string `yaml:"director_uuid"`
	Releases      []*NameVersion
	Compilation   *manifestCompilation
	Update        *manifestUpdate
	Networks      []*manifestNetwork
	ResourcePools []*manifestResourcePool `yaml:"resource_pools"`
	Jobs          []*ManifestJob
	Properties    *map[string]interface{}
}

type manifestCompilation struct {
	Workers             int                     `yaml:"workers"`
	NetworkName         string                  `yaml:"network"`
	ReuseCompilationVMs bool                    `yaml:"reuse_compilation_vms"`
	CloudProperties     *map[string]interface{} `yaml:"cloud_properties"`
}

type manifestUpdate struct {
	Canaries        int
	MaxInFlight     int    `yaml:"max_in_flight"`
	CanaryWatchTime string `yaml:"canary_watch_time"`
	UpdateWatchTime string `yaml:"update_watch_time"`
	Serial          bool<commit_msg>manifest - meta & properties are optional<commit_after>package models

// DeploymentManifest describes all the configuration for any BOSH deployment
type DeploymentManifest struct {
	Meta          map[string]interface{} `yaml:"meta,omitempty"`
	Name          string
	DirectorUUID  string `yaml:"director_uuid"`
	Releases      []*NameVersion
	Compilation   *manifestCompilation
	Update        *manifestUpdate
	Networks      []*manifestNetwork
	ResourcePools []*manifestResourcePool `yaml:"resource_pools"`
	Jobs          []*ManifestJob
	Properties    *map[string]interface{} `yaml:"properties,omitempty"`
}

type manifestCompilation struct {
	Workers             int                     `yaml:"workers"`
	NetworkName         string                  `yaml:"network"`
	ReuseCompilationVMs bool                    `yaml:"reuse_compilation_vms"`
	CloudProperties     *map[string]interface{} `yaml:"cloud_properties"`
}

type manifestUpdate struct {
	Canaries        int
	MaxInFlight     int    `yaml:"max_in_flight"`
	CanaryWatchTime string `yaml:"canary_watch_time"`
	UpdateWatchTime string `yaml:"update_watch_time"`
	Serial          bool
{'fraction_non_alphanumeric': 0.08226691042047532, 'fraction_numerical': 0.0, 'mean_word_length': 3.309055118110236, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1336690', 'n_tokens_mistral': 598, 'n_tokens_neox': 584, 'n_words': 139}