tests/functional/branching/test_branching.py
def init_full_x_rename_half_y_full_z(init_full_x_half_y):
    """Rename y from full x half y to full z (rename + changed prior)"""
    name = "full_x_half_y"
    branch = "full_x_rename_half_y_full_z"
    orion.core.cli.main(
        (
            "hunt --init-only -n {branch} --branch-from {name} --cli-change-type noeffect "
            "./black_box_with_z.py "
            "-x~uniform(-10,10) -y~>z "
            "-z~+uniform(-10,10,default_value=1)"
        )
        .format(name=name, branch=branch)
        .split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=6 -z=6".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=-6 -z=6".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=6 -z=-6".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=-6 -z=-6".format(branch=branch).split(" ")
    )
Rename y from full x half y to full z (rename + changed prior)
Rename y from full x half y to full z (rename + changed prior)
Rename y from full x half y to full z ( rename + changed prior )
def init_full_x_rename_half_y_full_z(init_full_x_half_y):
    name = "full_x_half_y"
    branch = "full_x_rename_half_y_full_z"
    orion.core.cli.main(
        (
            "hunt --init-only -n {branch} --branch-from {name} --cli-change-type noeffect "
            "./black_box_with_z.py "
            "-x~uniform(-10,10) -y~>z "
            "-z~+uniform(-10,10,default_value=1)"
        )
        .format(name=name, branch=branch)
        .split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=6 -z=6".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=-6 -z=6".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=6 -z=-6".format(branch=branch).split(" ")
    )
    orion.core.cli.main(
        "insert -n {branch} script -x=-6 -z=-6".format(branch=branch).split(" ")
    )
def init_full_x_rename_half_y_full_z ( init_full_x_half_y ) : name = "full_x_half_y" branch = "full_x_rename_half_y_full_z" orion . core . cli . main ( ( "hunt --init-only -n {branch} --branch-from {name} --cli-change-type noeffect " "./black_box_with_z.py " "-x~uniform(-10,10) -y~>z " "-z~+uniform(-10,10,default_value=1)" ) . format ( name = name , branch = branch ) . split ( " " ) ) orion . core . cli . main ( "insert -n {branch} script -x=6 -z=6" . format ( branch = branch ) . split ( " " ) ) orion . core . cli . main ( "insert -n {branch} script -x=-6 -z=6" . format ( branch = branch ) . split ( " " ) ) orion . core . cli . main ( "insert -n {branch} script -x=6 -z=-6" . format ( branch = branch ) . split ( " " ) ) orion . core . cli . main ( "insert -n {branch} script -x=-6 -z=-6" . format ( branch = branch ) . split ( " " ) )
Rename y from full x half y to full z (rename + changed prior)
Rename y from full x half y to full z ( rename + changed prior )
"""Rename y from full x half y to full z (rename + changed prior)"""
init_full_x_half_y