@contract
def update_variances(variances, estimate_windows, previous_state):
    estimate_window = estimate_windows[previous_state]
    for state, variance_map in enumerate(variances[previous_state]):
        for window_size in variance_map:
            estimates = estimate_window[state][window_size]
            if len(estimates) < window_size:
                variance_map[window_size] = 1.0
            else:
                variance_map[window_size] = variance(
                    list(estimates), window_size)
    return variances
Argument is a Geometry, return type is a string.
dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/overload/mhod/multisize_estimation.py/update_variances--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/contrib/gis/geos/prototypes/geom.py/string_from_geom