Module: Legion::Extensions::Agentic::Affect::Motivation::Helpers::Constants
- Defined in:
- lib/legion/extensions/agentic/affect/motivation/helpers/constants.rb
Constant Summary collapse
- DRIVE_TYPES =
Drive types based on Self-Determination Theory + survival/obligation
%i[autonomy competence relatedness novelty obligation survival].freeze
- MOTIVATION_MODES =
Motivation operating modes (approach/avoidance model)
%i[approach avoidance maintenance dormant].freeze
- DRIVE_ALPHA =
EMA alpha for drive level tracking (slow adaptation)
0.1- INTRINSIC_DRIVES =
Intrinsic drives (Self-Determination Theory: autonomy, competence, relatedness + novelty)
%i[autonomy competence relatedness novelty].freeze
- EXTRINSIC_DRIVES =
Extrinsic drives (external pressure: obligation, survival)
%i[obligation survival].freeze
- DRIVE_DECAY_RATE =
Per-tick drive decay rate
0.02- MAX_GOALS =
Maximum goals tracked simultaneously
50- APPROACH_THRESHOLD =
Above this overall level, agent is in approach mode
0.6- AVOIDANCE_THRESHOLD =
Below this, agent is in avoidance mode
0.3- BURNOUT_THRESHOLD =
Below this across individual drives, drive is in burnout
0.15- AMOTIVATION_THRESHOLD =
Below this across ALL drives, agent is amotivated
0.2