code: def test_contrib_experiment(csv_filename, tmpdir):
      wandb_dir = os.path.join(tmpdir, "results")
      os.makedirs(wandb_dir, exist_ok=True)
      os.environ["WANDB_DIR"] = wandb_dir
      subprocess.call(["chmod", "-R", "a+w", os.environ["WANDB_DIR"]])
      cmdline = [
          sys.executable,
          TEST_SCRIPT,
          "--csv-filename",
          csv_filename,
      ]
      exit_code = subprocess.call(
          " ".join(cmdline), shell=True, env=os.environ.copy()
      )
      assert exit_code == 0
  
imports: import logging
  import os
  import subprocess
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: test_contrib_experiment(csv_filename, tmpdir) without return types