code: def test_condition_ratio_more_than_passed(iris_clean):
      clf = LogisticRegression(max_iter=1)
      x = iris_clean.data
      y = iris_clean.target
      x_train, x_test, y_train, y_test = train_test_split(
          x, y, test_size=0.5, random_state=55
      )
      clf.fit(x_train, y_train)
      ds = Dataset(
          pd.concat([x_test, y_test], axis=1),
          features=iris_clean.feature_names,
          label="target",
      )
  
      check = RocReport().add_condition_auc_greater_than()
  
      result = check.conditions_decision(check.run(ds, clf))
  
      assert_that(
          result,
          has_items(
              equal_condition_result(
                  is_pass=True,
                  details="All classes passed, minimum AUC found is 0.71 for class 1",
                  name="AUC score for all the classes is greater than 0.7",
              )
          ),
      )
  
      check = RocReport(
          excluded_classes=[1]
      ).add_condition_auc_greater_than(min_auc=0.8)
  
      result = check.conditions_decision(check.run(ds, clf))
  
      assert_that(
          result,
          has_items(
              equal_condition_result(
                  is_pass=True,
                  details="All classes passed, minimum AUC found is 1 for class 2",
                  name="AUC score for all the classes except: [1] is greater than 0.8",
              )
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/model_evaluation/roc_report_test.py
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, close_to, greater_than, has_entries, has_items, has_length, raises
  from sklearn.linear_model import LogisticRegression
  from sklearn.model_selection import train_test_split
  from deepchecks.core.errors import DeepchecksNotSupportedError, DeepchecksValueError, ModelValidationError
  from deepchecks.tabular.checks.model_evaluation import RocReport
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 8 for calling a global function with example usage: test_condition_ratio_more_than_passed(iris_clean) without return types