Module: Legion::Extensions::Agentic::Learning::Catalyst::Helpers::Constants

Included in:
Catalyst, CatalystEngine, Reaction
Defined in:
lib/legion/extensions/agentic/learning/catalyst/helpers/constants.rb

Constant Summary collapse

CATALYST_TYPES =

Catalyst types — categories of experiences/insights that accelerate reactions

%i[experience insight analogy pattern emotion].freeze
REACTION_TYPES =

Reaction types — categories of cognitive transformations

%i[synthesis decomposition exchange neutralization precipitation].freeze
MAX_CATALYSTS =

Storage limits

500
MAX_REACTIONS =
200
ACTIVATION_ENERGY =

Activation energy — minimum energy to complete a reaction without a catalyst

0.6
CATALYST_REDUCTION =

How much a catalyst lowers the activation energy threshold

0.3
POTENCY_DECAY =

Potency degradation rate from environmental wear (not from use)

0.02
SPECIFICITY_BONUS =

Bonus added when catalyst specificity matches reaction domain

0.15
POTENCY_LABELS =

Potency labels — range-based classification of catalyst strength

{
  (0.8..)     => :powerful,
  (0.6...0.8) => :strong,
  (0.4...0.6) => :moderate,
  (0.2...0.4) => :weak,
  (..0.2)     => :inert
}.freeze
YIELD_LABELS =

Yield labels — range-based classification of reaction output quality

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