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