Skip to main content

Module emotional

Module emotional 

Source
Expand description

Emotional bias warp for Microscope Memory.

Bends search space coordinates based on the emotional layer’s active clusters. Does NOT override the search — warps the query point toward emotional attractors. The weight is configurable in config.toml (search.emotional_bias_weight).

Structs§

EmotionalField

Functions§

apply_emotional_bias
Compute the emotional bias warp for a query point. Returns warped (x, y, z) coordinates. The warp pulls the query point toward the centroid of hot emotional blocks, weighted by their Hebbian energy. With weight=0, the original coords are returned.
apply_emotional_bias_from_centroid
Pure math version of apply_emotional_bias — bends the query point toward a precomputed emotional centroid. Public so recall paths can reuse the single emotional_field scan instead of rescanning all blocks.
emotional_field
Get the current emotional field summary: centroid of active emotional blocks, total energy, and count.
emotional_layer_name
Verify the emotional layer ID matches our constant.