code: def _resolve_db_config(db_config):
      benchmark_id = db_config["_id"]
      algorithms = db_config["algorithms"]
  
      obj_targets = []
      str_targets = db_config["targets"]
      for target in str_targets:
          obj_target = {}
  
          assessments = target["assess"]
          obj_assessments = []
          for name, parameters in assessments.items():
              obj_assessments.append(
                  _get_assessment(name, **parameters)
              )
          obj_target["assess"] = obj_assessments
  
          tasks = target["task"]
          obj_tasks = []
          for name, parameters in tasks.items():
              obj_tasks.append(_get_task(name, **parameters))
          obj_target["task"] = obj_tasks
  
      obj_targets.append(obj_target)
  
      targets = obj_targets
  
      return benchmark_id, algorithms, targets
  
file_path: orion/src/orion/benchmark/benchmark_client.py
imports: import datetime
  import logging
  from orion.benchmark import Benchmark, Study
  from orion.benchmark.assessment.base import bench_assessment_factory
  from orion.benchmark.task.base import bench_task_factory
  from orion.core.io.database import DuplicateKeyError
  from orion.core.utils.exceptions import NoConfigurationError
label_desc: Use image node_id 4 for calling a global function with example usage: _resolve_db_config(db_config) and returns: benchmark_id,  algorithms,  targets