code: def test_reverse_format(parameters, results):
      X, y, y_var = GPyOpt._prepare_data_for_bayes_opt(
          parameters, results
      )
      reversed_X = GPyOpt._reverse_to_sherpa_format(X, parameters)
  
      assert reversed_X[0] == {
          "dropout": 0.1,
          "lr": 1e-3,
          "activation": "tanh",
          "num_hidden": 111,
      }
      assert reversed_X[1] == {
          "dropout": 0.4,
          "lr": 1e-5,
          "activation": "relu",
          "num_hidden": 222,
      }
      assert reversed_X[2] == {
          "dropout": 0.33,
          "lr": 1e-2,
          "activation": "sigmoid",
          "num_hidden": 288,
      }
  
imports: import sherpa
  import pandas
  import pytest
  import numpy
  import collections
  import GPyOpt
  from sherpa.algorithms.bayesian_optimization import GPyOpt
  from sherpa.algorithms import Repeat
label_desc: Use image node_id 13 for calling a global function with example usage: test_reverse_format(parameters, results) without return types