Module: Legion::Extensions::Agentic::Social::MirrorSystem::Helpers::Constants

Included in:
MirrorSystem
Defined in:
lib/legion/extensions/agentic/social/mirror_system/helpers/constants.rb

Constant Summary collapse

MAX_OBSERVATIONS =

Maximum observed behaviors to store

200
MAX_IMITATIONS =

Maximum imitation candidates per domain

50
MIRROR_ALPHA =

How quickly observed behaviors are internalized

0.15
DEFAULT_RESONANCE =

Default resonance strength for new observations

0.3
RESONANCE_FLOOR =

Minimum resonance to keep an observation

0.05
RESONANCE_DECAY =

Resonance decay per tick

0.01
FAMILIARITY_BOOST =

Boost when observation matches own repertoire

0.2
REPETITION_BOOST =

Boost from repeated observation of same behavior

0.1
MAX_RESONANCE =

Maximum resonance value

1.0
DEFAULT_FIDELITY =

Imitation fidelity: how accurately behaviors are copied (0..1)

0.7
FIDELITY_LEARNING_RATE =

Fidelity improvement per successful imitation

0.05
MAX_MIRRORED_AGENTS =

Maximum agents to mirror simultaneously

20
MAX_REPERTOIRE =

Maximum behaviors in own repertoire

100
RESONANCE_LABELS =
{
  (0.8..)     => :strong_mirror,
  (0.6...0.8) => :resonating,
  (0.4...0.6) => :echoing,
  (0.2...0.4) => :faint,
  (..0.2)     => :silent
}.freeze