code: def test_bad_comparators(
      entity_type, bad_comparators, key, entity_value
  ):
      run = Run(
          run_info=RunInfo(
              run_uuid="hi",
              run_id="hi",
              experiment_id=0,
              user_id="user-id",
              status=RunStatus.to_string(RunStatus.FAILED),
              start_time=0,
              end_time=1,
              lifecycle_stage=LifecycleStage.ACTIVE,
          ),
          run_data=RunData(metrics=[], params=[], tags=[]),
      )
      for bad_comparator in bad_comparators:
          bad_filter = (
              f"{entity_type}.{key} {bad_comparator} {entity_value}"
          )
          with pytest.raises(
              MlflowException, match="Invalid comparator"
          ):
              SearchUtils.filter([run], bad_filter)
  
imports: import base64
  import json
  import re
  import pytest
  from mlflow.entities import Dataset, DatasetInput, InputTag, LifecycleStage, Metric, Param, Run, RunData, RunInfo, RunInputs, RunStatus, RunTag
  from mlflow.exceptions import MlflowException
  from mlflow.utils.mlflow_tags import MLFLOW_DATASET_CONTEXT
  from mlflow.utils.search_utils import SearchUtils
label_desc: Use image node_id 7 for calling a global function with example usage: test_bad_comparators(entity_type, bad_comparators, key, entity_value) without return types