code: def test_flat_parameter_edge_cases(config):
      config = {
          INPUT_FEATURES: [text_feature(name="in_feature")],
          OUTPUT_FEATURES: [binary_feature(name="out_feature")],
          HYPEROPT: {SEARCH_ALG: {TYPE: "random"}, PARAMETERS: config},
      }
  
      ModelConfig.from_dict(config)
  
file_path: ludwig/tests/ludwig/config_validation/test_validate_config_hyperopt.py
imports: from itertools import repeat
  from unittest.mock import patch
  import pytest
  import ludwig.schema.hyperopt.parameter
  import ludwig.schema.hyperopt.scheduler
  import ludwig.schema.hyperopt.search_algorithm
  from ludwig.constants import EXECUTOR, HYPEROPT, INPUT_FEATURES, OUTPUT_FEATURES, PARAMETERS, SCHEDULER, SEARCH_ALG, TYPE
  from ludwig.error import ConfigValidationError
  from ludwig.schema.hyperopt import utils
  from ludwig.schema.model_types.base import ModelConfig
  from tests.integration_tests.utils import binary_feature, text_feature
label_desc: Use image node_id 6 for calling a global function with example usage: test_flat_parameter_edge_cases(config) without return types