Skip to content

Implement Frequency Penalty System #14

@calebevans

Description

@calebevans

Frequency Penalty reduces the scores of patterns that occur too frequently, preventing common but insignificant events from overwhelming truly critical failures. It implements the principle: "If everything is urgent, nothing is urgent."

The system tracks pattern occurrences within sliding time windows (default: 1 hour) to detect patterns that are firing too frequently to be genuinely significant.

Frequency Penalty Formula:

Frequency_Penalty = min(0.8, pattern_frequency / frequency_threshold)
Final_Score = Base_Score × (1 - Frequency_Penalty)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions