tests/functional/branching/test_branching.py
def init_full_x_full_y_add_z_remove_y(init_full_x_full_y):
    """Remove y from full x full y and add z"""
    name = "full_x_full_y"
    branch = "full_x_full_z_remove_y"
    orion.core.cli.main(
        (
            "hunt --init-only -n {branch} --branch-from {name} --cli-change-type noeffect "
            "./black_box.py -x~uniform(-10,10) "
            "-z~uniform(-20,10,default_value=0)"
        )
        .format(name=name, branch=branch)
        .split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=7 -z=2".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=-7 -z=2".format(branch=branch).split(" ")
    )
Remove y from full x full y and add z
Remove y from full x full y and add z
Remove y from full x full y and add z
def init_full_x_full_y_add_z_remove_y(init_full_x_full_y):
    name = "full_x_full_y"
    branch = "full_x_full_z_remove_y"
    orion.core.cli.main(
        (
            "hunt --init-only -n {branch} --branch-from {name} --cli-change-type noeffect "
            "./black_box.py -x~uniform(-10,10) "
            "-z~uniform(-20,10,default_value=0)"
        )
        .format(name=name, branch=branch)
        .split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=7 -z=2".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=-7 -z=2".format(branch=branch).split(" ")
    )
def init_full_x_full_y_add_z_remove_y ( init_full_x_full_y ) : name = "full_x_full_y" branch = "full_x_full_z_remove_y" orion . core . cli . main ( ( "hunt --init-only -n {branch} --branch-from {name} --cli-change-type noeffect " "./black_box.py -x~uniform(-10,10) " "-z~uniform(-20,10,default_value=0)" ) . format ( name = name , branch = branch ) . split ( " " ) ) orion . core . cli . main ( "insert -n {branch} script -x=7 -z=2" . format ( branch = branch ) . split ( " " ) ) orion . core . cli . main ( "insert -n {branch} script -x=-7 -z=2" . format ( branch = branch ) . split ( " " ) )
Remove y from full x full y and add z
Remove y from full x full y and add z
"""Remove y from full x full y and add z"""
init_full_x_full_y