<commit_before>package executor

import (
	"github.com/cloudfoundry-incubator/executor/runoncehandler"
	"github.com/cloudfoundry-incubator/executor/taskregistry"
	"math/rand"

	"github.com/nu7hatch/gouuid"
	"github.com/vito/gordon"
	"sync"
	"time"

	Bbs "github.com/cloudfoundry-incubator/runtime-schema/bbs"
	steno "github.com/cloudfoundry/gosteno"
)

type Executor struct {
	id string

	bbs          Bbs.ExecutorBBS
	wardenClient gordon.Client

	runOnceGroup         *sync.WaitGroup
	stopHandlingRunOnces chan bool

	stopMaintainingPresence chan bool

	logger *steno.Logger

	taskRegistry *taskregistry.TaskRegistry
}

func New(bbs Bbs.ExecutorBBS, logger *steno.Logger) *Executor {
	uuid, err := uuid.NewV4()
	if err != nil {<commit_msg>remove unused fields from executor<commit_after>package executor

import (
	"github.com/cloudfoundry-incubator/executor/runoncehandler"
	"github.com/cloudfoundry-incubator/executor/taskregistry"
	"math/rand"

	"github.com/nu7hatch/gouuid"
	"github.com/vito/gordon"
	"sync"
	"time"

	Bbs "github.com/cloudfoundry-incubator/runtime-schema/bbs"
	steno "github.com/cloudfoundry/gosteno"
)

type Executor struct {
	id string

	bbs Bbs.ExecutorBBS

	runOnceGroup         *sync.WaitGroup
	stopHandlingRunOnces chan bool

	stopMaintainingPresence chan bool

	logger *steno.Logger
}

func New(bbs Bbs.ExecutorBBS, logger *steno.Logger) *Executor {
	uuid, err := uuid.NewV4()
	if err != nil {
{'fraction_non_alphanumeric': 0.10478199718706048, 'fraction_numerical': 0.0028129395218002813, 'mean_word_length': 4.580392156862745, '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': '193407', 'n_tokens_mistral': 547, 'n_tokens_neox': 531, 'n_words': 94}