Module: Legion::Extensions::Agentic::Integration::Integration::Helpers::Constants

Included in:
IntegratedRepresentation, IntegrationEngine, ModalSignal
Defined in:
lib/legion/extensions/agentic/integration/integration/helpers/constants.rb

Constant Summary collapse

MAX_SIGNALS =
500
MAX_REPRESENTATIONS =
200
MIN_SIGNALS_FOR_BINDING =
2
MODALITIES =

Modality types

%i[
  visual auditory semantic emotional motor
  proprioceptive temporal spatial contextual
].freeze
DEFAULT_BINDING_STRENGTH =

Binding dynamics

0.5
BINDING_DECAY_RATE =
0.03
REINFORCEMENT_RATE =
0.08
CONFLICT_PENALTY =
0.15
COHERENT_THRESHOLD =

Thresholds

0.6
FRAGMENTED_THRESHOLD =
0.3
BINDING_LABELS =

Binding strength labels

{
  (0.8..)     => :tightly_bound,
  (0.6...0.8) => :bound,
  (0.4...0.6) => :loosely_bound,
  (0.2...0.4) => :fragmentary,
  (..0.2)     => :unbound
}.freeze
CONFIDENCE_LABELS =

Signal confidence labels

{
  (0.8..)     => :certain,
  (0.6...0.8) => :confident,
  (0.4...0.6) => :moderate,
  (0.2...0.4) => :low,
  (..0.2)     => :uncertain
}.freeze
QUALITY_LABELS =

Integration quality labels

{
  (0.8..)     => :excellent,
  (0.6...0.8) => :good,
  (0.4...0.6) => :adequate,
  (0.2...0.4) => :poor,
  (..0.2)     => :failed
}.freeze