code: def test_incorrect_sample_size():
      problem, param_values = setup_samples()
      Y = Ishigami.evaluate(param_values)
      with raises(RuntimeError):
          sobol.analyze(problem, Y[:-10], calc_second_order=True)
  
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 import saltelli, sobol_sequence
  from SALib.test_functions import Ishigami, Sobol_G
  from SALib.util import read_param_file
label_desc: Use image node_id 5 for calling a global function with example usage: test_incorrect_sample_size() without return types