Module: Legion::Extensions::Agentic::Executive::Dwell::Helpers::Constants
- Included in:
- DwellEngine, DwellTopic
- Defined in:
- lib/legion/extensions/agentic/executive/dwell/helpers/constants.rb
Constant Summary collapse
- MAX_TOPICS =
200- MAX_DWELL_HISTORY =
500- BASE_DWELL =
Dwell dynamics
0.3- SALIENCE_WEIGHT =
0.25- NOVELTY_WEIGHT =
0.25- EMOTION_WEIGHT =
0.3- COMPLEXITY_WEIGHT =
0.2- DWELL_DECAY =
0.05- ENGAGEMENT_BOOST =
0.08- STICKY_THRESHOLD =
Thresholds
0.7- FLEETING_THRESHOLD =
0.2- RUMINATION_THRESHOLD =
0.9- TOPIC_TYPES =
Topic types
%i[ problem concept conversation task memory emotion plan decision observation ].freeze
- DWELL_LABELS =
Dwell duration labels
{ (0.8..) => :stuck, (0.6...0.8) => :engrossed, (0.4...0.6) => :attending, (0.2...0.4) => :browsing, (..0.2) => :fleeting }.freeze
- ENGAGEMENT_LABELS =
Engagement labels
{ (0.8..) => :deeply_engaged, (0.6...0.8) => :engaged, (0.4...0.6) => :moderate, (0.2...0.4) => :light, (..0.2) => :disengaged }.freeze
- DISENGAGE_LABELS =
Disengagement difficulty labels
{ (0.8..) => :very_hard, (0.6...0.8) => :hard, (0.4...0.6) => :moderate, (0.2...0.4) => :easy, (..0.2) => :effortless }.freeze