code: def test_epoch_fraction_cli_param_unspecified():
      # TODO: enhance testing of cli instead of imitating expected parsed input
      expected_schema_as_dict = rasa.shared.utils.io.read_yaml_file(
          "data/graph_schemas/default_config_finetune_epoch_fraction_schema.yml"
      )
      expected_train_schema = GraphSchema.from_dict(
          expected_schema_as_dict
      )
  
      # modify the expected schema
      for schema_node in expected_train_schema.nodes.values():
          if "finetuning_epoch_fraction" in schema_node.config:
              schema_node.config["finetuning_epoch_fraction"] = 1.0
              if "epochs" in schema_node.config:
                  schema_node.config["epochs"] *= 2
  
      config = rasa.shared.utils.io.read_yaml_file(
          "rasa/engine/recipes/config_files/default_config.yml"
      )
  
      recipe = Recipe.recipe_for_name(DefaultV1Recipe.name)
      model_config = recipe.graph_config_for_recipe(
          config,
          {"finetuning_epoch_fraction": None},
          is_finetuning=True,
      )
  
      train_schema = model_config.train_schema
      for node_name, node in expected_train_schema.nodes.items():
          assert train_schema.nodes[node_name] == node
  
      assert train_schema == expected_train_schema
  
imports: from typing import Text, Dict, Any, Set, List
  import shutil
  import pytest
  from _pytest.capture import CaptureFixture
  from pathlib import Path
  from rasa.engine.constants import PLACEHOLDER_TRACKER
  from rasa.shared.core.trackers import DialogueStateTracker
  from rasa.shared.nlu.training_data.message import Message
  import rasa.shared.utils.io
  from rasa.shared.constants import ASSISTANT_ID_KEY, CONFIG_AUTOCONFIGURABLE_KEYS
  from rasa.core.policies.ted_policy import TEDPolicy
  from rasa.engine.graph import GraphSchema, GraphComponent, ExecutionContext
  from rasa.engine.recipes.default_recipe import DefaultV1Recipe, DefaultV1RecipeRegisterException
  from rasa.engine.recipes.recipe import Recipe
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.graph_components.validators.default_recipe_validator import DefaultV1RecipeValidator
  from rasa.nlu.classifiers.mitie_intent_classifier import MitieIntentClassifier
  from rasa.nlu.classifiers.sklearn_intent_classifier import SklearnIntentClassifier
  from rasa.nlu.extractors.mitie_entity_extractor import MitieEntityExtractor
  from rasa.shared.exceptions import InvalidConfigException
  from rasa.shared.data import TrainingType
  import rasa.engine.validation
  from rasa.shared.importers.rasa import RasaFileImporter
label_desc: Use image node_id 9 for calling a global function with example usage: test_epoch_fraction_cli_param_unspecified() without return types