code: def study(benchmark, benchmark_algorithms):
      """Return a study instance"""
      with benchmark.executor:
          yield Study(
              benchmark,
              benchmark_algorithms,
              AverageResult(2),
              RosenBrock(25, dim=3),
          )
  
imports: import plotly
  import pytest
  import orion.core.io.experiment_builder
  from orion.benchmark import Benchmark, Study
  from orion.benchmark.assessment import AverageRank, AverageResult
  from orion.benchmark.task import CarromTable, RosenBrock
  from orion.client.experiment import ExperimentClient
  from orion.testing import OrionState, create_study_experiments
label_desc: Use image node_id 2 for calling a global function with example usage: study(benchmark, benchmark_algorithms) without return types