code: def test_multidim(monkeypatch, hspace):
      """Test computing for multiple params in multidim space"""
      mock_train_regressor(monkeypatch)
  
      partial_dependencies = partial_dependency(
          hdata, hspace, params=["x", "y[0]", "y[1]"], n_samples=10
      )
      assert set(partial_dependencies.keys()) == {
          "x",
          "y[0]",
          "y[1]",
          ("x", "y[0]"),
          ("x", "y[1]"),
          ("y[0]", "y[1]"),
      }
      assert len(partial_dependencies["x"][0]["x"]) == 10
      assert len(partial_dependencies["y[0]"][0]["y[0]"]) == 10
      assert len(partial_dependencies["y[1]"][0]["y[1]"]) == 10
      assert len(partial_dependencies[("x", "y[0]")][0]["x"]) == 10
      assert len(partial_dependencies[("x", "y[0]")][0]["y[0]"]) == 10
      assert partial_dependencies["x"][1].shape == (10,)
      assert partial_dependencies["x"][2].shape == (10,)
      assert partial_dependencies["y[0]"][1].shape == (10,)
      assert partial_dependencies["y[0]"][2].shape == (10,)
      assert partial_dependencies[("x", "y[0]")][1].shape == (10, 10)
      assert partial_dependencies[("x", "y[0]")][2].shape == (10, 10)
  
imports: import copy
  import numpy
  import pandas
  import pytest
  from orion.analysis.partial_dependency_utils import make_grid, partial_dependency, partial_dependency_grid, reverse
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils import format_trials
  from orion.core.worker.transformer import build_required_space
label_desc: Use image node_id 14 for calling a global function with example usage: test_multidim(monkeypatch, hspace) without return types