MetricConfiguration weight numericality vaidation