Module: Legion::Extensions::Agentic::Defense::Bias::Helpers::Constants
- Included in:
- BiasDetector
- Defined in:
- lib/legion/extensions/agentic/defense/bias/helpers/constants.rb
Constant Summary collapse
- BIAS_TYPES =
%i[anchoring confirmation availability recency sunk_cost].freeze
- DETECTION_THRESHOLD =
above this = bias likely influencing decision
0.3- CORRECTION_FACTOR =
how much to correct when bias detected
0.5- DEFAULT_SUSCEPTIBILITY =
starting susceptibility per bias
0.5- SUSCEPTIBILITY_ALPHA =
EMA alpha for updating susceptibility
0.1- DECAY_RATE =
how fast bias activation decays per tick
0.02- MAX_BIAS_EVENTS =
max tracked bias events
200- MAX_ANCHORS =
max tracked anchor values
50- ANCHOR_DECAY =
how fast anchor influence decays
0.05- CONFIRMATION_WEIGHT =
weight of confirming vs disconfirming evidence
0.7- AVAILABILITY_RECENCY_WINDOW =
recent events window for availability heuristic
10