code: def test_deprecated_split_aliases(stratify, force_split):
      split_probabilities = [0.6, 0.2, 0.2]
      config = {
          "ludwig_version": "0.4",
          INPUT_FEATURES: [
              {"name": "num_in", "type": "number"},
              {"name": "cat_in", "type": "category"},
          ],
          OUTPUT_FEATURES: [{"name": "num_out", "type": "number"}],
          PREPROCESSING: {
              "force_split": force_split,
              "split_probabilities": split_probabilities,
              "stratify": stratify,
          },
      }
  
      updated_config = upgrade_config_dict_to_latest_version(config)
  
      assert "force_split" not in updated_config[PREPROCESSING]
      assert "split_probabilities" not in updated_config[PREPROCESSING]
      assert "stratify" not in updated_config[PREPROCESSING]
  
      assert SPLIT in updated_config[PREPROCESSING]
      split = updated_config[PREPROCESSING][SPLIT]
  
      assert split["probabilities"] == split_probabilities
      if stratify is None:
          if force_split:
              assert split.get(TYPE) == "random"
      else:
          assert split.get(TYPE) == "stratify"
          assert split.get("column") == stratify
  
imports: import copy
  import math
  from typing import Any, Dict
  import pytest
  from ludwig.constants import BATCH_SIZE, BFILL, CLASS_WEIGHTS, DEFAULTS, EVAL_BATCH_SIZE, EXECUTOR, HYPEROPT, INPUT_FEATURES, LEARNING_RATE_SCHEDULER, LOSS, NUMBER, OUTPUT_FEATURES, PREPROCESSING, SCHEDULER, SPLIT, TRAINER, TYPE
  from ludwig.schema.model_config import ModelConfig
  from ludwig.schema.trainer import ECDTrainerConfig
  from ludwig.utils.backward_compatibility import _update_backend_cache_credentials, _upgrade_encoder_decoder_params, _upgrade_feature, _upgrade_preprocessing_split, upgrade_config_dict_to_latest_version, upgrade_missing_value_strategy, upgrade_model_progress
  from ludwig.utils.trainer_utils import TrainerMetric
label_desc: Use image node_id 5 for calling a global function with example usage: test_deprecated_split_aliases(stratify, force_split) without return types