Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sperlingxx committed Jun 12, 2020
1 parent 9e24c8c commit 108b06e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ func init() {

func TestConvertTrialObservation(t *testing.T) {
g := gomega.NewGomegaWithT(t)
var strategies = map[string]commonv1beta1.MetricStrategyType{
"error": commonv1beta1.ExtractByMin,
"auc": commonv1beta1.ExtractByMax,
"accuracy": commonv1beta1.ExtractByLatest,
var strategies = []commonv1beta1.MetricStrategy{
{Name: "error", Value: commonv1beta1.ExtractByMin},
{Name: "auc", Value: commonv1beta1.ExtractByMax},
{Name: "accuracy", Value: commonv1beta1.ExtractByLatest},
}
var observation = &commonv1beta1.Observation{
Metrics: []commonv1beta1.Metric{
Expand Down

0 comments on commit 108b06e

Please sign in to comment.