Module: Legion::Extensions::Agentic::Affect::Empathy::Helpers::Constants

Defined in:
lib/legion/extensions/agentic/affect/empathy/helpers/constants.rb

Constant Summary collapse

MENTAL_STATE_DIMENSIONS =

Mental state dimensions tracked per agent

%i[
  believed_goal
  emotional_state
  attention_focus
  confidence_level
  cooperation_stance
].freeze
MODEL_UPDATE_ALPHA =

How quickly mental models update (EMA alpha)

0.2
MODEL_STALENESS_THRESHOLD =

How long before a mental model is considered stale (seconds)

300
MAX_TRACKED_AGENTS =

Maximum number of tracked agents

100
MAX_INTERACTION_HISTORY =

Maximum interaction history per agent

50
PREDICTION_CONFIDENT =

Prediction confidence thresholds

0.7
PREDICTION_UNCERTAIN =
0.4
COOPERATION_STANCES =

Cooperation stance values

%i[cooperative neutral competitive unknown].freeze
INFERRED_EMOTIONS =

Emotional state labels for other agents

%i[
  calm focused stressed frustrated curious cautious enthusiastic unknown
].freeze
ACCURACY_WINDOW =

Perspective-taking accuracy tracking window

20
MODEL_DECAY_RATE =

Mental model decay rate (per decay cycle)

0.01