Expand description
Forgetting factor λ resolution + range clamp (Phase C step 32).
CADMAS-CTX recommends λ ∈ [0.9, 1.0) for cyclical-drift mitigation:
tighter values forget too quickly, looser values are indistinguishable
from no decay. 1.0 (and above) disables decay entirely; values below
0.9 collapse the posterior toward the latest observation.
Constants§
- LAMBDA_
MAX_ INCLUSIVE - Upper bound (exclusive):
1.0would mean “never forget” — handled by the caller, not by this clamp. We saturate at the largest representable value strictly below1.0. - LAMBDA_
MIN - Lower bound for the forgetting factor.
Functions§
- clamp_
lambda - Clamp
rawinto the documented[0.9, 1.0)range. - env_
lambda_ override - Read
CODETETHER_DELEGATION_LAMBDAand clamp into[0.9, 1.0).