code: def test_core_api_arbitrary_workload_order() -> None:
      experiment_id = exp.run_basic_test(
          conf.fixtures_path("core_api/arbitrary_workload_order.yaml"),
          conf.fixtures_path("core_api"),
          1,
          expect_workloads=True,
          expect_checkpoints=True,
      )
  
      trials = exp.experiment_trials(experiment_id)
      assert len(trials) == 1
      trial = trials[0]
  
      steps = exp.workloads_with_training(trial.workloads)
      assert len(steps) == 11
      validations = exp.workloads_with_validation(trial.workloads)
      assert len(validations) == 11
      checkpoints = exp.workloads_with_checkpoint(trial.workloads)
      assert len(checkpoints) == 11
  
imports: import json
  import subprocess
  import tempfile
  import pytest
  from determined.common import api, util
  from determined.common.api import bindings
  from determined.experimental import Determined
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests.api_utils import determined_test_session
  from tests.cluster.test_checkpoints import wait_for_gc_to_finish
label_desc: Use image node_id 16 for calling a global function with example usage: test_core_api_arbitrary_workload_order() without return types