TP-12345|disabling experiment validator

This commit is contained in:
chandresh-pancholi
2023-05-03 19:18:09 +05:30
parent 3ddd01f89c
commit d3e3076b39

View File

@@ -58,9 +58,9 @@ public class ExperimentValidator {
if (request.getConfidenceInterval() < 95.0) {
throw new StatisticalException("Confidence interval should be greater than ");
}
if (request.getPrimaryMetric().equals(request.getSecondaryMetric())) {
throw new DuplicateMetricMappingToExperimentException(request.getSecondaryMetric() + " is already mapped to the experiment");
}
// if (request.getPrimaryMetric().equals(request.getSecondaryMetric())) {
// throw new DuplicateMetricMappingToExperimentException(request.getSecondaryMetric() + " is already mapped to the experiment");
// }
}
public void validateAttachMetricRequest(AttachMetricToExperimentRequest request, ExperimentEntity experiment) {