concepts.dm.crow.planners.regression_utils.canonicalize_bounded_variables#
- canonicalize_bounded_variables(scopes, scope_id)[source]#
canonicalize the bounded variables in the scope. This function is used to resolve the scope references in the regression trace.
- Parameters:
scopes – a set of scopes of the regression trace.
scope_id – the scope id to resolve.
- Returns:
the resolved scope in scopes[scope_id].