pub fn structural_importance(line: &str) -> f64Expand description
Estimate the structural importance of a line. Returns a multiplier [0.1, 2.0] based on syntactic patterns.
Weights updated 2026-04-02 based on empirical attention analysis (Lab Experiment B: TinyLlama 1.1B on 106 Rust files): import → 0.0285 mean attn (was rated 0.6, now 1.6) comment → 0.0123 mean attn (was rated 0.4, now 1.2) definition → 0.0038 (was 1.8, adjusted to 1.5) test/assert → 0.0004 (was 1.5, lowered to 0.8)