code: def test_lpi_results():
      """Verify LPI results in DataFrame"""
      results = lpi(data, space, random_state=1)
      assert results.columns.tolist() == ["LPI", "STD"]
      assert results.index.tolist() == list(space.keys())
      # The data is made such that x correlates more strongly with objective than y
      assert results["LPI"].loc["x"] > results["LPI"].loc["y"]
  
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 6 for calling a global function with example usage: test_lpi_results() without return types