def get_validation_metric_from_last_step(experiment_id: int, trial_id: int, validation_metric_name: str) -> float:
    trial = experiment_trials(experiment_id)[trial_id]
    last_validation = trial['steps'][(len(trial['steps']) - 1)]['validation']
    return last_validation['metrics']['validation_metrics'][validation_metric_name]
def get_validation_metric_from_last_step(experiment_id: int, trial_id: int, validation_metric_name: str) -> float:
    trial = experiment_trials(experiment_id)[trial_id]
    last_validation = trial['steps'][(len(trial['steps']) - 1)]['validation']
    return last_validation['metrics']['validation_metrics'][validation_metric_name]