ShadowEdge: Consolidated logic for sector openness factor determination