code: def test_modified_partial_first_order_variance():
      a = np.array([78, 12, 0.5, 2, 97, 33])
      alpha = np.array([1, 2, 15, 0.6, 8, 48])
      actual = _partial_first_order_variance(a, alpha)
      expected = (len(a),)
  
      assert a.shape == expected
  
      expected = np.array(
          [
              5.34102441e-05,
              4.73372781e-03,
              3.22580645e00,
              1.81818182e-02,
              3.91993532e-04,
              2.05472122e-02,
          ]
      )
  
      assert_allclose(actual, expected, atol=1e-4, rtol=1e-4)
  
file_path: SALib/tests/test_test_functions.py
imports: from pytest import raises
  from numpy.testing import assert_allclose
  import numpy
  from SALib.test_functions.Sobol_G import evaluate, _total_variance, _partial_first_order_variance, sensitivity_index, total_sensitivity_index
  from SALib import ProblemSpec
label_desc: Use image node_id 13 for calling a global function with example usage: test_modified_partial_first_order_variance() without return types