def METHOD_NAME(metrics_positions: tp.Dict[str, int], 
                            metrics: tp.Dict[str, float]) -> List[float]:
    array: List[float] = [0.] * len(metrics_positions)
    # data validation
    assert set(metrics.keys()) == set(metrics_positions.keys()), \
        f"Not all metrics were passed while logging, expected " \
        f"following: {', '.join(list(metrics_positions.keys()))}"
    for metric, value in metrics.items():
        assert isinstance(value, float), "Type of metric {metric} should be float"
        array[metrics_positions[metric]] = value
    return array