code: def test_apply_untracked(tmp_dir, scm, dvc, exp_stage):
      results = dvc.experiments.run(
          exp_stage.addressing, params=["foo=2"]
      )
      exp = first(results)
      tmp_dir.gen("untracked", "untracked")
      tmp_dir.gen("params.yaml", "conflict")
  
      dvc.experiments.apply(exp)
      assert (tmp_dir / "untracked").read_text() == "untracked"
      assert (tmp_dir / "params.yaml").read_text().strip() == "foo: 2"
  
file_path: dvc/tests/func/experiments/test_apply.py
imports: import pytest
  from funcy import first
  from dvc.repo.experiments.refs import CELERY_STASH
label_desc: Use image node_id 4 for calling a global function with example usage: test_apply_untracked(tmp_dir, scm, dvc, exp_stage) without return types