code: def test_double_col_mismatch():
      # Arrange
      data = {
          "col1": [
              "Deep",
              "deep",
              "deep!!!",
              "$deeP$",
              "earth",
              "foo",
              "bar",
              "foo?",
          ]
      }
      df = pd.DataFrame(data=data)
      # Act
      result = StringMismatch().run(df)
      # Assert
      assert_that(
          result.value["columns"],
          has_entry(
              "col1",
              has_entries(
                  {"deep": has_length(4), "foo": has_length(2)}
              ),
          ),
      )
      assert_that(result.display, has_length(greater_than(0)))
  
imports: import numpy
  import pandas
  from hamcrest import assert_that, close_to, greater_than, has_entries, has_entry, has_items, has_length
  from deepchecks.core import ConditionCategory
  from deepchecks.tabular.checks.data_integrity import StringMismatch
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 1 for calling a global function with example usage: test_double_col_mismatch() without return types