tests/functional/commands/conftest.py
def three_experiments_family_branch(two_experiments, db_instance):
    """Create three experiments, each parent of the following one."""
    orion.core.cli.main(
        [
            "hunt",
            "--init-only",
            "-n",
            "test_double_exp_child",
            "--branch-to",
            "test_double_exp_grand_child",
            "./black_box.py",
            "--x~+uniform(0,1,default_value=0)",
            "--y~uniform(0,1,default_value=0)",
            "--z~+uniform(0,1,default_value=0)",
        ]
    )
    ensure_deterministic_id("test_double_exp_grand_child", db_instance)
Create three experiments, each parent of the following one.
Create three experiments, each parent of the following one.
Create three experiments each parent of the following one .
def three_experiments_family_branch(two_experiments, db_instance):
    orion.core.cli.main(
        [
            "hunt",
            "--init-only",
            "-n",
            "test_double_exp_child",
            "--branch-to",
            "test_double_exp_grand_child",
            "./black_box.py",
            "--x~+uniform(0,1,default_value=0)",
            "--y~uniform(0,1,default_value=0)",
            "--z~+uniform(0,1,default_value=0)",
        ]
    )
    ensure_deterministic_id("test_double_exp_grand_child", db_instance)
def three_experiments_family_branch ( two_experiments , db_instance ) : orion . core . cli . main ( [ "hunt" , "--init-only" , "-n" , "test_double_exp_child" , "--branch-to" , "test_double_exp_grand_child" , "./black_box.py" , "--x~+uniform(0,1,default_value=0)" , "--y~uniform(0,1,default_value=0)" , "--z~+uniform(0,1,default_value=0)" , ] ) ensure_deterministic_id ( "test_double_exp_grand_child" , db_instance )
Create three experiments, each parent of the following one.
Create three experiments each parent of the following one .
"""Create three experiments, each parent of the following one."""
two_experiments
db_instance