Skip to main content

Crate khive_brain_core

Crate khive_brain_core 

Source
Expand description

Brain primitives — Beta posteriors, section types, profile state, weight derivation.

Re-exports§

pub use brain_signal::entity_signal;
pub use brain_signal::is_recall_positive;
pub use brain_signal::BrainSignal;
pub use brain_state::validate_brain_state_snapshot;
pub use brain_state::validate_brain_state_snapshot_with_capacity;
pub use brain_state::BrainState;
pub use brain_state::BrainStateSnapshot;
pub use posterior::BetaPosterior;
pub use posterior::EntityPosteriors;
pub use profile::resolve_consumer_profile;
pub use profile::BalancedRecallSnapshot;
pub use profile::BalancedRecallState;
pub use profile::ConsumerKind;
pub use profile::ProfileBinding;
pub use profile::ProfileLifecycle;
pub use profile::ProfileRecord;
pub use query_class::compute_query_class;
pub use section_state::derive_deterministic_weights;
pub use section_state::derive_weights;
pub use section_state::SectionPosteriorSnapshot;
pub use section_state::SectionPosteriorState;
pub use section_state::DEFAULT_ESS_CAP;
pub use section_state::DEFAULT_EXPLORATION_EPOCH;
pub use section_state::DEFAULT_SECTION_WEIGHT_FLOOR;
pub use section_state::DEFAULT_TAU_0;
pub use section_state::DEFAULT_TAU_EXPLOIT;
pub use section_type::SectionType;
pub use signal::FeedbackEventKind;
pub use signal::FeedbackSignal;
pub use tunable::PackTunable;
pub use tunable::ParameterDef;
pub use tunable::ParameterSpace;

Modules§

brain_signal
Brain signal types — the decoded signal vocabulary for profile state updates.
brain_state
BrainState — profile registry, resolution, and snapshot.
posterior
Beta-Binomial posterior primitive.
profile
Profile lifecycle, records, bindings, and the BalancedRecall state.
query_class
section_state
Section posterior state — Thompson sampling and deterministic weight derivation.
section_type
Closed 10-value section type taxonomy (ADR-048).
signal
Feedback signal enums — pure types with no storage dependency.
tunable
Auto-tuning extension trait for packs that expose parameter spaces to brain.