def cancel_experiment(experiment_id: int) -> None:
    change_experiment_state(experiment_id, 'STOPPING_CANCELED')
    wait_for_experiment_state(experiment_id, 'CANCELED')
def cancel_experiment(experiment_id: int) -> None:
    change_experiment_state(experiment_id, 'STOPPING_CANCELED')
    wait_for_experiment_state(experiment_id, 'CANCELED')