<commit_before>// Copyright 2015 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.

package process

import (
	"github.com/juju/errors"
	"github.com/juju/utils/set"
)

// The Juju-recognized states in which a workload process might be.
const (
	StateUndefined = ""
	StateDefined   = "defined"
	StateStarting  = "starting"
	StateRunning   = "running"
	StateStopping  = "stopping"
	StateStopped   = "stopped"
)

var (
	okayStates = set.NewStrings(
		StateDefined,
		StateStarting,
		StateRunning,
		StateStopping,
		StateStopped,
	)
)
<commit_msg>Do not use a var block.<commit_after>// Copyright 2015 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.

package process

import (
	"github.com/juju/errors"
	"github.com/juju/utils/set"
)

// The Juju-recognized states in which a workload process might be.
const (
	StateUndefined = ""
	StateDefined   = "defined"
	StateStarting  = "starting"
	StateRunning   = "running"
	StateStopping  = "stopping"
	StateStopped   = "stopped"
)

var okayStates = set.NewStrings(
	StateDefined,
	StateStarting,
	StateRunning,
	StateStopping,
	StateStopped,
)

{'fraction_non_alphanumeric': 0.1009657594381036, 'fraction_numerical': 0.00877963125548727, 'mean_word_length': 3.9565217391304346, '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': '2924120', 'n_tokens_mistral': 422, 'n_tokens_neox': 392, 'n_words': 103}