Skip to main content

Module input

Module input 

Source
Expand description

Input structs for the pure-compute API (WASM-safe serde types). Input structs for the pure-compute API.

These are the types that WASM consumers and other embedders supply to the compute_* functions. All are plain serde structs with no I/O, no tree-sitter, and no std::time.

Structs§

BoundaryDefInput
A single boundary definition for BoundarySpecInput.
BoundarySpecInput
Boundary specification for crate::compute_boundary_violations.
ChangeCouplingConfigInput
Configuration for crate::compute_change_coupling.
CoChangeEventInput
A single commit event for change-coupling analysis.
DependencyGraphInput
Input graph for pure-compute functions.
EdgeInput
A directed edge between two nodes in a DependencyGraphInput.
LeidenConfigInput
Leiden algorithm configuration for pure-compute callers.
NodeInput
A single node in a DependencyGraphInput.
NormalizeNode
A node in the pattern AST subtree for crate::normalize_and_hash.
PatternInstanceInput
A single pattern instance supplied by a foreign extractor.
PatternLocationInput
Location of a pattern instance within a source file.
PriorPartition
A prior partition snapshot for consecutive-snapshot stability scoring.
ThresholdOverrideInput
Per-category threshold override for ThresholdsInput.
ThresholdsInput
Threshold configuration for crate::compute_thresholds_check.

Enums§

QualityFunctionInput
Quality function selection for LeidenConfigInput.

Functions§

edge_weight_key
Encodes a (source, target) node-ID pair as an edge-weight map key.
split_edge_weight_key
Splits an edge-weight map key produced by edge_weight_key into (source, target).
validate_node_id
Validates a node ID according to canonical rules.