pub fn adjust_weights(
base: &ScoringConfig,
compaction_count: Option<i64>,
) -> ScoringConfigExpand description
Return a ScoringConfig with category weights redistributed
according to the compaction-level priority table.
For count <= 1, weights are left unchanged.
For count == 2 and count >= 3, existing category weights from base
are sorted descending and reassigned by priority order:
- Count 2: Reinforcing > Corrective > Stateful > Decisive
- Count 3+: Reinforcing > Stateful > Corrective > Decisive
uncategorized_weight and importance_half_life_secs are preserved from base.