code: def test_bad_conf_level():
      problem, param_values = setup_samples()
      Y = Ishigami.evaluate(param_values)
      with raises(RuntimeError):
          sobol.analyze(
              problem,
              Y,
              calc_second_order=True,
              conf_level=1.01,
              print_to_console=False,
          )
  
      with raises(RuntimeError):
          sobol.analyze(
              problem,
              Y,
              calc_second_order=True,
              conf_level=1.0,
              print_to_console=False,
          )
  
      with raises(RuntimeError):
          sobol.analyze(
              problem,
              Y,
              calc_second_order=True,
              conf_level=0.0,
              print_to_console=False,
          )
  
imports: from pytest import raises, mark
  from numpy.testing import assert_equal, assert_allclose
  import numpy
  from scipy.stats import norm
  from SALib.analyze import sobol
  from SALib.sample.sobol import sample
  from SALib.sample import sobol_sequence
  from SALib.test_functions import Ishigami, Sobol_G
  from SALib.util import read_param_file
label_desc: Use image node_id 6 for calling a global function with example usage: test_bad_conf_level() without return types