code: def test_no_drift_rgb(coco_visiondata_train, coco_visiondata_test):
      # Arrange
      check = ImageDatasetDrift(
          categorical_drift_method="PSI"
      ).add_condition_drift_score_less_than(0.3)
  
      # Act
      result = check.run(coco_visiondata_train, coco_visiondata_test)
      # Assert
      assert_that(
          result.value,
          has_entries(
              {
                  "domain_classifier_auc": close_to(0.277, 0.001),
                  "domain_classifier_drift_score": close_to(0, 0.001),
                  "domain_classifier_feature_importance": has_entries(
                      {
                          "RMS Contrast": equal_to(0),
                          "Brightness": close_to(0, 0.01),
                          "Aspect Ratio": close_to(0, 0.01),
                          "Area": close_to(0, 0.001),
                          "Mean Red Relative Intensity": equal_to(0),
                          "Mean Blue Relative Intensity": close_to(
                              0, 0.001
                          ),
                          "Mean Green Relative Intensity": close_to(
                              0, 0.001
                          ),
                      }
                  ),
              }
          ),
      )
      assert_that(
          result.conditions_results[0],
          equal_condition_result(
              is_pass=True,
              name=f"Drift score is less than 0.3",
              details=f"Drift score 0 is less than 0.3",
          ),
      )
  
file_path: deepchecks/tests/vision/checks/train_test_validation/image_dataset_drift_test.py
imports: import numpy
  from hamcrest import assert_that, close_to, equal_to, greater_than, has_entries, has_length
  from deepchecks.vision.checks import ImageDatasetDrift
  from deepchecks.vision.datasets.detection.coco_torch import collate_without_model
  from deepchecks.vision.utils.test_utils import replace_collate_fn_visiondata
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 7 for calling a global function with example usage: test_no_drift_rgb(coco_visiondata_train, coco_visiondata_test) without return types