code: def benchmark_config_py(benchmark_algorithms):
      config = dict(
          name="bm00001",
          algorithms=benchmark_algorithms,
          targets=[
              {
                  "assess": [AverageResult(2), AverageRank(2)],
                  "task": [RosenBrock(25, dim=3), CarromTable(20)],
              }
          ],
      )
      return config
  
file_path: orion/tests/unittests/benchmark/conftest.py
imports: import pytest
  from orion.benchmark.assessment import AverageRank, AverageResult
  from orion.benchmark.task import CarromTable, RosenBrock
label_desc: Use image node_id 5 for calling a global function with example usage: benchmark_config_py(benchmark_algorithms) and returns: config