code: def test_make_grid():
      """Test grid has correct format"""
      trials = to_numpy(data, space)
      model = train_regressor("RandomForestRegressor", trials)
      best_point = trials[numpy.argmin(trials[:, -1])]
      grid = make_grid(best_point, space, model, 4)
  
      # Are fixed to anchor value
      numpy.testing.assert_equal(grid[0][:, 1], best_point[1])
      numpy.testing.assert_equal(grid[1][:, 0], best_point[0])
  
      # Is a grid in search space
      numpy.testing.assert_equal(grid[0][:, 0], [0, 2, 4, 6])
      numpy.testing.assert_equal(grid[1][:, 1], [0, 1, 2, 3])
  
file_path: orion/tests/unittests/analysis/test_lpi.py
imports: import copy
  import numpy
  import pandas
  from orion.analysis.base import to_numpy, train_regressor
  from orion.analysis.lpi_utils import compute_variances, lpi, make_grid
  from orion.core.io.space_builder import SpaceBuilder
label_desc: Use image node_id 3 for calling a global function with example usage: test_make_grid() without return types