def _reward_scaler(reward: int) -> float:
    """
    Scale a reward for a model
    :param reward: The reward to be scaled
    :return: The scaled reward
    """
    if reward == 1:
        return 1.0
    if reward == 0:
        return 0.0
    return -1.0