class_docstr: Test Study
docstr: Test study creation with all support algorithms input format
docstr_tok: ["Test","study","creation","with","all","support","algorithms","input","format"]
code: def test_creation_algorithms(self, benchmark):
      """Test study creation with all support algorithms input format"""
  
      algorithms = [
          {"gridsearch": {"n_values": 1}},
          "tpe",
          {"random": {"seed": 1}},
          "asha",
      ]
      study = Study(
          benchmark, algorithms, AverageResult(2), RosenBrock(25, dim=3)
      )
      assert study.algorithms[0].name == "gridsearch"
      assert study.algorithms[0].experiment_algorithm == {
          "gridsearch": {"n_values": 1}
      }
      assert study.algorithms[0].is_deterministic
  
      assert study.algorithms[1].name == "tpe"
      assert study.algorithms[1].experiment_algorithm == "tpe"
      assert not study.algorithms[1].is_deterministic
  
      assert study.algorithms[2].name == "random"
      assert study.algorithms[2].experiment_algorithm == {
          "random": {"seed": 1}
      }
      assert not study.algorithms[2].is_deterministic
  
      assert study.algorithms[3].name == "asha"
      assert study.algorithms[3].experiment_algorithm == "asha"
      assert not study.algorithms[3].is_deterministic
  
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 the TestStudy obj's underlying member method code with example usage: obj.test_creation_algorithms(benchmark) without return types