Skip to main content

Module threshold_learning

Module threshold_learning 

Source
Expand description

Online-learned per-extension compression-threshold deltas (#538, EFF-1).

Closes the quality feedback loop that the static LANGUAGE_THRESHOLDS table and the savings-only bandit cannot: bounces (compressed read followed by a full re-read) and edit failures after compressed reads push the entropy threshold DOWN (compress less), while clean compressed reads and wasted full reads push it UP (compress more). The learned delta is additive on top of the static base table, hard-clamped so the base stays the safety anchor, and decays toward zero daily so stale lessons fade.

Neuroscience analogue: dopaminergic active forgetting — eviction policy is learned from outcome signals, not hardcoded (SleepGate 2603.14517).

Enums§

QualitySignal