TP-12345|disabling experiment validator
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user