def get_rt(user_input, bound):
    """
    Get reproduction rate from scenario choice.
    """

    rules = {
        "estavel": lambda x: x,  # cenario estavel
        "positivo": lambda x: x / 2,  # cenario positivo
        "negativo": lambda x: x * 2,  # cenario negativo
    }

    return rules[user_input["strategy"]](user_input["rt_values"][bound])