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

Defined in:
lib/legion/extensions/agentic/learning/curiosity/helpers/constants.rb

Constant Summary collapse

GAP_TYPES =
%i[unknown uncertain contradictory incomplete].freeze
MAX_WONDERS =
20
WONDER_DECAY_RATE =

salience decay per hour

0.02
WONDER_STALE_THRESHOLD =

3 days in seconds

259_200
MAX_EXPLORATION_ATTEMPTS =
5
INFORMATION_GAIN_THRESHOLD =

minimum expected gain to create wonder

0.3
CURIOSITY_REWARD_MULTIPLIER =

emotional reward on resolution

1.5
DOMAIN_BALANCE_FACTOR =

penalize overrepresented domains

0.7
DIVERSIVE_NOVELTY_THRESHOLD =

novelty above which diversive curiosity triggers

0.6
SPECIFIC_GAP_THRESHOLD =

gap score above which specific curiosity triggers

0.5
EXPLORATION_COOLDOWN =

seconds between re-exploration of same wonder

300
LOW_CONFIDENCE_THRESHOLD =

prediction confidence below this triggers wonder

0.5
EMPTY_RETRIEVAL_THRESHOLD =

fewer traces than this = unknown domain

2