Skip to main content

Module decay

Module decay 

Source
Expand description

Time-decay scoring for memory entries.

apply_time_decay is used by memory_loader.rs and remains functional. All other decay-related helpers have been removed.

Constants§

DEFAULT_HALF_LIFE_DAYS
Default half-life in days for time-decay scoring. After this many days, a non-Core memory’s score drops to 50%.

Functions§

apply_time_decay
Apply exponential time decay to memory entry scores.