code: def test_impute_inactive_hyperparameters():
      cs = ConfigurationSpace(seed=0)
      a = cs.add_hyperparameter(CategoricalHyperparameter("a", [0, 1]))
      b = cs.add_hyperparameter(CategoricalHyperparameter("b", [0, 1]))
      c = cs.add_hyperparameter(UniformFloatHyperparameter("c", 0, 1))
      cs.add_condition(EqualsCondition(b, a, 1))
      cs.add_condition(EqualsCondition(c, a, 0))
  
      configs = cs.sample_configuration(size=100)
      config_array = convert_configurations_to_array(configs)
      for line in config_array:
          if line[0] == 0:
              assert np.isnan(line[1])
          elif line[0] == 1:
              assert np.isnan(line[2])
  
      model = RandomForest(configspace=cs)
      config_array = model._impute_inactive(config_array)
      for line in config_array:
          if line[0] == 0:
              assert line[1] == 2
          elif line[0] == 1:
              assert line[2] == -1
  
file_path: SMAC3/tests/test_model/test_rf.py
imports: import numpy
  import pytest
  from ConfigSpace import CategoricalHyperparameter, ConfigurationSpace, EqualsCondition, OrdinalHyperparameter, UniformFloatHyperparameter, UniformIntegerHyperparameter
  from smac.model.random_forest.random_forest import RandomForest
  from smac.utils.configspace import convert_configurations_to_array
label_desc: Use image node_id 11 for calling a global function with example usage: test_impute_inactive_hyperparameters() without return types