code: def test_incremental_issue_check(
      self, image_dataset, pred_probs, features, capsys
  ):
      datalab = Datalab(
          data=image_dataset,
          label_name=LABEL_NAME,
          image_key=IMAGE_NAME,
      )
      datalab.find_issues(
          pred_probs=pred_probs,
          features=features,
          issue_types={"label": {}},
      )
  
      assert len(datalab.issues) == len(image_dataset)
      assert len(datalab.issues.columns) == 2
      assert len(datalab.issue_summary) == 1
  
      all_keys = ["statistics", "label"]
  
      assert set(all_keys) == set(datalab.info.keys())
  
      datalab.report()
      captured = capsys.readouterr()
      assert "label" in captured.out
  
      datalab.find_issues(
          issue_types={"image_issue_types": {"dark": {}}}
      )
  
      assert len(datalab.issues) == len(image_dataset)
      assert len(datalab.issues.columns) == 4
      assert len(datalab.issue_summary) == 2
  
      all_keys = ["statistics", "label", "dark"]
  
      assert set(all_keys) == set(datalab.info.keys())
  
      datalab.report()
      captured = capsys.readouterr()
      assert "label" in captured.out
      assert "dark" in captured.out
  
      with pytest.warns() as record:
          datalab.find_issues(
              issue_types={
                  "image_issue_types": {
                      "dark": {"threshold": 0.5},
                      "light": {},
                  }
              }
          )
          assert len(record) == 3
          assert (
              "Overwriting columns ['is_dark_issue', 'dark_score'] in self.issues with columns from imagelab."
              == record[0].message.args[0]
          )
          assert (
              "Overwriting ['dark'] rows in self.issue_summary from imagelab."
              == record[1].message.args[0]
          )
          assert (
              "Overwriting key dark in self.info"
              == record[2].message.args[0]
          )
  
      assert len(datalab.issues) == len(image_dataset)
      assert len(datalab.issues.columns) == 6
      assert len(datalab.issue_summary) == 3
  
      all_keys = ["statistics", "label", "dark", "light"]
  
      assert set(all_keys) == set(datalab.info.keys())
  
      datalab.report()
      captured = capsys.readouterr()
      assert "label" in captured.out
      assert "dark" in captured.out
  
file_path: cleanlab/tests/datalab/test_cleanvision_integration.py
imports: import matplotlib.pyplot
  import numpy
  import pytest
  import pandas
  from cleanlab import Datalab
  import cleanlab.datalab.internal.adapter.imagelab
label_desc: Use image node_id 9 for calling the TestCleanvisionIntegration obj's underlying member method code with example usage: obj.test_incremental_issue_check(image_dataset, pred_probs, features, capsys) without return types