Expand description
Composite memory recall scoring — recency, importance, relevance, and Ebbinghaus strength.
Structs§
- Scoring
Weights - Weights for composite memory scoring (Park et al., 2023).
Constants§
- STRENGTH_
DECAY_ RATE - Ebbinghaus strength decay rate (per hour). Default: 0.005.
Functions§
- composite_
score - Composite score:
alpha * recency + beta * importance + gamma * relevance + delta * strength. - effective_
strength - Compute effective strength with Ebbinghaus decay from
last_accessed. - importance_
score - Normalize importance
[1, 10]to[0.0, 1.0]. - recency_
score - Recency score:
e^(-decay_rate * hours), returns[0.0, 1.0]. - strength_
score - Strength score: identity mapping (already in
[0.0, 1.0]).