CanaryClassifierThresholdsConfig canaryClassifierThresholdsConfig = CanaryClassifierThresholdsConfig.builder().pass(passThreshold).marginal(marginalThreshold).build();
Double marginalThreshold = canaryAnalysisExecutionRequest.getThresholds().getMarginal(); Double passThreshold = canaryAnalysisExecutionRequest.getThresholds().getPass(); aggregatedJudgement = getAggregatedJudgment(finalCanaryScore, marginalThreshold, passThreshold); } else {
if (canaryScore <= context.getScoreThresholds().getMarginal()) { resultStatus = TERMINAL; resultContext.put("canaryScoreMessage", "Canary score is not above the marginal score threshold.");
if (canaryScore <= context.getScoreThresholds().getMarginal()) { resultStatus = TERMINAL; resultContext.put("canaryScoreMessage", "Canary score is not above the marginal score threshold.");
Double marginalThreshold = canaryAnalysisExecutionRequest.getThresholds().getMarginal(); Double passThreshold = canaryAnalysisExecutionRequest.getThresholds().getPass(); aggregatedJudgement = getAggregatedJudgment(finalCanaryScore, marginalThreshold, passThreshold); } else {
.put("storageAccountName", resolvedStorageAccountName) .put("metricSetPairListId", metricSetPairListId) .put("orchestratorScoreThresholds", CanaryClassifierThresholdsConfig.builder().pass(passThreshold).marginal(marginalThreshold).build()) .build()); if (StringUtils.isNotEmpty(overrideCanaryJudge1)) { .put("storageAccountName", resolvedStorageAccountName) .put("metricSetPairListId", metricSetPairListId) .put("orchestratorScoreThresholds", CanaryClassifierThresholdsConfig.builder().pass(passThreshold).marginal(marginalThreshold).build()) .build()); if (StringUtils.isNotEmpty(overrideCanaryJudge2)) {
CanaryClassifierThresholdsConfig canaryClassifierThresholdsConfig = CanaryClassifierThresholdsConfig.builder().pass(passThreshold).marginal(marginalThreshold).build();
.put("storageAccountName", resolvedStorageAccountName) .put("metricSetPairListId", metricSetPairListId) .put("orchestratorScoreThresholds", CanaryClassifierThresholdsConfig.builder().pass(passThreshold).marginal(marginalThreshold).build()) .build()); if (StringUtils.isNotEmpty(overrideCanaryJudge1)) { .put("storageAccountName", resolvedStorageAccountName) .put("metricSetPairListId", metricSetPairListId) .put("orchestratorScoreThresholds", CanaryClassifierThresholdsConfig.builder().pass(passThreshold).marginal(marginalThreshold).build()) .build()); if (StringUtils.isNotEmpty(overrideCanaryJudge2)) {