Recollect.Strength (recollect v0.5.1)

Copy Markdown View Source

Memory strength calculation based on hippocampal-inspired mechanics.

strength(t) = decay_factor × retrieval_boost × emotional_multiplier × confidence

  • Decay: exponential decay based on half-life
  • Retrieval: boost increases with access count
  • Emotional: negative/critical memories encode stronger
  • Pinned memories always return 1.0

Summary

Functions

Calculate half-life adjustment for schema fit (from Enhancement 06).

Calculate current strength of an entry at a given time.

Functions

adjust_for_schema_fit(half_life_days, schema_fit)

Calculate half-life adjustment for schema fit (from Enhancement 06).

calculate(map)

Calculate current strength of an entry at a given time.

calculate(entry, at_time \\ DateTime.utc_now())