code: def test_missing_and_new_config(init_full_x_new_config, monkeypatch):
      """Test that experiment can branch with new config if previous is not present, with correct
      diff.
      """
      name = "full_x_new_config"
      experiment = experiment_builder.load(name=name)
  
      # Mess with DB to change config path
      metadata = experiment.metadata
      bad_config_file = "ho_ho_idontexist.yaml"
      config_file = metadata["parser"]["file_config_path"]
      metadata["parser"]["file_config_path"] = bad_config_file
      metadata["parser"]["parser"]["arguments"][2][1] = bad_config_file
      metadata["user_args"][3] = bad_config_file
  
      with open(config_file, "w") as f:
          f.write(
              yaml.dump(
                  {
                      "new_arg": "some-new-value",
                      "y": "orion~uniform(-10, 20, default_value=0)",
                  }
              )
          )
  
      setup_storage().update_experiment(experiment, metadata=metadata)
  
      orion.core.cli.main(
          (
              "hunt --enable-evc --init-only -n {name} "
              "--cli-change-type noeffect "
              "--config-change-type unsure "
              "./black_box_new.py -x~uniform(-10,10) --config {config_file}"
          )
          .format(name=name, config_file=config_file)
          .split(" ")
      )
  
      new_experiment = experiment_builder.load(name=name)
      assert new_experiment.version == experiment.version + 1
  
      assert new_experiment.refers["adapter"].configuration == [
          {
              "name": "/y",
              "new_prior": "uniform(-10, 20, default_value=0)",
              "of_type": "dimensionpriorchange",
              "old_prior": "uniform(-10, 10, default_value=0)",
          },
          {"change_type": "noeffect", "of_type": "commandlinechange"},
          {"change_type": "unsure", "of_type": "scriptconfigchange"},
      ]
  
imports: import logging
  import os
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.storage.base import setup_storage
label_desc: Use image node_id 47 for calling a global function with example usage: test_missing_and_new_config(init_full_x_new_config, monkeypatch) without return types