code: def test_continue_config_file_and_args_cli() -> None:
      exp_id = exp.create_experiment(
          conf.fixtures_path("no_op/single-medium-train-step.yaml"),
          conf.fixtures_path("no_op"),
          ["--config", "hyperparameters.metrics_sigma=-1.0"],
      )
      exp.wait_for_experiment_state(
          exp_id, bindings.experimentv1State.ERROR
      )
  
      expected_name = "checkThis"
      with tempfile.NamedTemporaryFile() as tf:
          with open(tf.name, "w") as f:
              util.yaml_safe_dump(
                  {
                      "name": expected_name,
                      "hyperparameters": {"metrics_sigma": -1.0},
                  },
                  f,
              )
  
          stdout = det_cmd(
              [
                  "e",
                  "continue",
                  str(exp_id),
                  "--config-file",
                  tf.name,
                  "--config",
                  "hyperparameters.metrics_sigma=1.0",
                  "-f",
              ],
              check=True,
          ).stdout
          # Follow works till end of trial.
          assert (
              "resources exited successfully with a zero exit code"
              in stdout.decode("utf-8")
          )
  
      # Name is also still applied.
      sess = api_utils.determined_test_session()
      resp = bindings.get_GetExperiment(sess, experimentId=exp_id)
      assert resp.experiment.config["name"] == expected_name
      assert (
          resp.experiment.state == bindings.experimentv1State.COMPLETED
      )  # Follow goes till completion.
  
      # Experiment original config is not updated. This might be a slight abuse of the webui's
      # meaning original config as "pre merged". I imagine most user's continues won't change config
      # besides maybe length.
      assert expected_name not in resp.experiment.originalConfig
  
file_path: determined/e2e_tests/tests/cluster/test_exp_continue.py
imports: import subprocess
  import tempfile
  from typing import Any, List, Tuple
  import pytest
  from determined.common import util
  from determined.common.api import bindings
  from tests import api_utils
  from tests import config
  from tests import experiment
label_desc: Use image node_id 3 for calling a global function with example usage: test_continue_config_file_and_args_cli() without return types