Ir para o conteúdo

temporal

module wittgenstein_episodic_memory.temporal

Classes

wittgenstein_episodic_memory.temporal.TemporalTimelineTracker

class TemporalTimelineTracker()

Helper to detect temporal patterns like inactivity or high frequency interactions.

Methods

wittgenstein_episodic_memory.temporal.TemporalTimelineTracker.get_inactive_duration_days

staticmethod TemporalTimelineTracker.get_inactive_duration_days(episodes: List[Episode]) → int

Get the number of days since the last activity.

wittgenstein_episodic_memory.temporal.TemporalTimelineTracker.detect_high_frequency_bursts

staticmethod TemporalTimelineTracker.detect_high_frequency_bursts(episodes: List[Episode], window_hours: int = 24, count_threshold: int = 5) → bool

Returns True if there is a burst of interactions within a given window.