Expand description
Salience Scoring System
Computes importance weights for episodes, enabling bounded forgetting and prioritized retrieval.
Per SPECIFICATION_HARD.md Section 9:
salience_score = weighted_sum([
user_feedback, // thumbs_up = +0.35, thumbs_down = -0.35
phase_transition, // +0.10 at transitions
downstream_references, // +0.05 per ref, capped at +0.15
novelty, // +0.10 max based on embedding distance
])Scores are bounded to [0, 1].
§Debug Logging
Enable the salience-debug feature to log salience distribution statistics
for tuning and analysis.
Structs§
- Corpus
Salience Stats - Corpus-level salience statistics.
- Salience
Config - Configuration for salience scoring.
- Salience
Factors - Factors contributing to salience score.
- Salience
Scorer - Salience scoring engine.
- Turn
Salience - Result of salience computation for an episode.
Enums§
- Feedback
- User feedback type.