code: def multi_thresholds_test_spec(request):
      """
      Test specification for multi-thresholds tests:
      :return: (
                  metrics: A dictionary mapping scalar metric names to scalar metric values,
                  baseline_model_metrics: A dictionary mapping scalar metric names
                      to scalar metric values of baseline_model,
                  validation_thresholds: A dictonary mapping scalar metric names
                      to MetricThreshold(threshold=0.2, greater_is_better=True),
                  expected_validation_results: A dictonary mapping scalar metric names
                      to _MetricValidationResult
               )
      """
      acc_threshold = MetricThreshold(
          threshold=0.8,
          min_absolute_change=0.1,
          min_relative_change=0.1,
          greater_is_better=True,
      )
  
      if request.param == "single_metric_all_thresholds_failed":
          acc_validation_result = _MetricValidationResult(
              "accuracy", 0.75, acc_threshold, 0.7
          )
          acc_validation_result.threshold_failed = True
          acc_validation_result.min_relative_change_failed = True
          acc_validation_result.min_absolute_change_failed = True
          return (
              {"accuracy": 0.75},
              {"accuracy": 0.7},
              {"accuracy": acc_threshold},
              {"accuracy": acc_validation_result},
          )
  
imports: from unittest import mock
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.models.evaluation import EvaluationResult, MetricThreshold, ModelEvaluator, evaluate
  from mlflow.models.evaluation.evaluator_registry import _model_evaluation_registry
  from mlflow.models.evaluation.validation import MetricThresholdClassException, ModelValidationFailedException, _MetricValidationResult
  from tests.evaluate.test_evaluation import iris_dataset, multiclass_logistic_regressor_model_uri
label_desc: Use image node_id 15 for calling a global function with example usage: multi_thresholds_test_spec(request) and returns: dict,  dict,  dict,  dict