from functools import reduce


def get_variable_value(analysis, path):
    """
    Get variable's value by traversing its path into the analysis
    """
    drop_colon = path[1:]
    path_array = drop_colon.split('/')
    return reduce(lambda a, k: a[k], path_array, analysis['data'])