code: def test_condition_input_validation():
      # Assert
      assert_that(
          calling(
              OutlierSampleDetection().add_condition_outlier_ratio_less_or_equal
          ).with_args(max_outliers_ratio=-1),
          raises(
              DeepchecksValueError,
              "max_outliers_ratio must be between 0 and 1",
          ),
      )
  
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, greater_than, has_item, has_items, has_length, raises
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.tabular.checks import OutlierSampleDetection
  from deepchecks.tabular.dataset import Dataset
  from deepchecks.tabular.datasets.regression import avocado
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 1 for calling a global function with example usage: test_condition_input_validation() without return types