code: def test_other_clis(train_params: str, translate_params: str):
      """
      Task: test CLIs and core features other than train & translate.
      """
      with tmp_digits_dataset(
          prefix="test_other_clis",
          train_line_count=_TRAIN_LINE_COUNT,
          train_line_count_empty=_TRAIN_LINE_COUNT_EMPTY,
          train_max_length=_LINE_MAX_LENGTH,
          dev_line_count=_DEV_LINE_COUNT,
          dev_max_length=_LINE_MAX_LENGTH,
          test_line_count=_TEST_LINE_COUNT,
          test_line_count_empty=0,
          test_max_length=_TEST_MAX_LENGTH,
      ) as data:
          # train a minimal default model
          data = run_train_translate(
              train_params=train_params,
              translate_params=translate_params,
              data=data,
              max_seq_len=_LINE_MAX_LENGTH,
          )
  
          _test_checkpoint_decoder(
              data["dev_source"], data["dev_target"], data["model"]
          )
          _test_parameter_averaging(data["model"])
          _test_evaluate_cli(data["test_outputs"], data["test_target"])
  
imports: import logging
  import os
  import platform
  import sys
  from tempfile import TemporaryDirectory
  from typing import List
  from unittest.mock import patch
  import pytest
  import torch
  import sockeye.average
  import sockeye.checkpoint_decoder
  import sockeye.evaluate
  from sockeye import constants
  from sockeye.config import Config
  from sockeye.model import load_model
  from sockeye.test_utils import run_train_translate, tmp_digits_dataset
  from test.common import check_train_translate
label_desc: Use image node_id 2 for calling a global function with example usage: test_other_clis(train_params, translate_params) without return types