pub fn analyze_sink_labels(ir: &[HydroRoot]) -> Vec<SinkConsistency>Expand description
Analyze all observable sinks in the IR, producing consistency labels equivalent to coord-analysis.
For each sink:
- Derives the “best possible” label from the sink’s output collection kind
- Walks backward through the IR checking for untrusted
ObserveNonDetnodes that aren’t resolved by a commutative+idempotent fold downstream — if unresolved, downgrades toInconsistent