MCPcopy Create free account
hub / github.com/github/gh-aw / emptyExperimentState

Function emptyExperimentState

pkg/cli/experiments_command.go:659–661  ·  view source on GitHub ↗

emptyExperimentState returns a zero-value ExperimentState with an initialised Counts map.

()

Source from the content-addressed store, hash-verified

657
658// emptyExperimentState returns a zero-value ExperimentState with an initialised Counts map.
659func emptyExperimentState() *ExperimentState {
660 return &ExperimentState{Counts: map[string]map[string]int{}}
661}
662
663// experimentInfoFromState builds an ExperimentInfo summary from a state.json.
664func experimentInfoFromState(workflowID, branchName string, state *ExperimentState) ExperimentInfo {

Callers 3

readLocalExperimentStateFunction · 0.85
parseExperimentStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected