code: def test_ff_sample_scaled():
      """ """
      problem = {
          "bounds": [[0.0, 2.5], [0.0, 1.0], [0.0, 1.0], [0.0, 1.0]],
          "num_vars": 4,
          "names": ["x1", "x2", "x3", "x4"],
      }
      actual = sample(problem)
      expected = np.array(
          [
              [2.5, 1, 1, 1],
              [2.5, 0, 1, 0],
              [2.5, 1, 0, 0],
              [2.5, 0, 0, 1],
              [0, 0, 0, 0],
              [0, 1, 0, 1],
              [0, 0, 1, 1],
              [0, 1, 1, 0],
          ],
          dtype=float,
      )
      assert_equal(actual, expected)
  
file_path: SALib/tests/test_ff.py
imports: import numpy
  from numpy.testing import assert_equal, assert_allclose
  from SALib.sample.ff import sample, find_smallest, extend_bounds
  from SALib.analyze.ff import analyze, interactions
label_desc: Use image node_id 4 for calling a global function with example usage: test_ff_sample_scaled() without return types