Skip to main content

normalize_registered_apis

Function normalize_registered_apis 

Source
pub fn normalize_registered_apis(
    language: Language,
    build_variant_fingerprint: [u8; 32],
    observations: Vec<OperationObservation>,
) -> Result<ApiNormalization, SemanticGraphError>
Expand description

Normalize only APIs covered by the initial, explicit operation registry.

The caller supplies compiler-resolved names and source order. Every unregistered name is counted but not approximated; this function therefore remains a core-side normalization stage rather than a helper dependency.

ยงErrors

Returns SemanticGraphError only if the deterministic graph assembled from registered operations violates its own invariant.