code: def testConditionResolution(self):
      trials = self.generate_trials(
          {
              "run": "PPO",
              "config": {
                  "x": 1,
                  "y": tune.sample_from(lambda spec: spec.config.x + 1),
                  "z": tune.sample_from(lambda spec: spec.config.y + 1),
              },
          },
          "condition_resolution",
      )
      trials = list(trials)
      self.assertEqual(len(trials), 1)
      self.assertEqual(trials[0].config, {"x": 1, "y": 2, "z": 3})
      self.assertEqual(trials[0].evaluated_params, {"y": 2, "z": 3})
      self.assertEqual(trials[0].experiment_tag, "0_y=2,z=3")
  
imports: import os
  import numpy
  import random
  import unittest
  import ray
  from ray.rllib import _register_all
  from ray import tune
  from ray.tune.result import DEFAULT_RESULTS_DIR
  from ray.tune.search import grid_search, BasicVariantGenerator
  from ray.tune.search.variant_generator import RecursiveDependencyError, _resolve_nested_dict
label_desc: Use image node_id 8 for calling the VariantGeneratorTest obj's underlying member method code with example usage: obj.testConditionResolution() without return types