code: def test_condition_pass_for_multiclass_avg_with_classes(
      mnist_visiondata_train, mnist_visiondata_test
  ):
      # Arrange
      check = SimpleModelComparison().add_condition_gain_greater_than(
          1, average=True, classes=[4]
      )
      # Act X
      result = check.run(mnist_visiondata_train, mnist_visiondata_test)
      # Assert
      assert_that(
          result.conditions_results,
          has_items(
              equal_condition_result(
                  is_pass=False,
                  name="Model performance gain over simple model is greater than 100% for classes [4]",
                  details="Found metrics with gain below threshold: {'F1': '98.18%'}",
              )
          ),
      )
  
file_path: deepchecks/tests/vision/checks/model_evaluation/simple_model_comparison_test.py
imports: from hamcrest import assert_that, calling, close_to, equal_to, greater_than, has_items, has_length, is_in, raises
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.vision.checks import SimpleModelComparison
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 9 for calling a global function with example usage: test_condition_pass_for_multiclass_avg_with_classes(mnist_visiondata_train, mnist_visiondata_test) without return types