code: def test_pipeline_adapters_params_correct():
      """Checking the correct conversion of hyperparameters in nodes when nodes
      are passing through adapter
      """
      init_alpha = 12.1
      pipeline = pipeline_with_custom_parameters(init_alpha)
  
      # Convert into OptGraph object
      adapter = PipelineAdapter()
      opt_graph = adapter.adapt(pipeline)
      # Get Pipeline object back
      restored_pipeline = adapter.restore(opt_graph)
      # Get hyperparameter value after pipeline restoration
      restored_alpha = restored_pipeline.root_node.parameters["alpha"]
      assert np.isclose(init_alpha, restored_alpha)
  
imports: from copy import deepcopy
  from random import choice
  import numpy
  import pytest
  from golem.core.dag.graph_node import GraphNode
  from golem.core.dag.graph_verifier import GraphVerifier
  from golem.core.dag.verification_rules import DEFAULT_DAG_RULES
  from golem.core.optimisers.graph import OptNode
  from fedot.core.operations.operation import Operation
  from fedot.core.pipelines.adapters import PipelineAdapter
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
  from test.unit.dag.test_graph_utils import find_first
  from test.unit.tasks.test_regression import get_synthetic_regression_data
label_desc: Use image node_id 4 for calling a global function with example usage: test_pipeline_adapters_params_correct() without return types