Skip to main content

Module eml_kernel

Module eml_kernel 

Source
Expand description

EML learned functions for kernel subsystems.

Each model replaces a hardcoded heuristic with a trainable eml_core::EmlModel, falling back to the original fixed logic when the model has not yet been trained.

§Models

ModelReplacesInputsOutputs
GovernanceScorerModelEffectVector L2 norm5 dimensions1 composite score
RestartStrategyModelFixed backoff delays4 features2 (delay, should_retry)
HealthThresholdModelFixed probe thresholds3 features2 (degraded, failed)
DeadLetterModelFixed retry policy3 features2 (delay, should_discard)
GossipTimingModelFixed gossip intervals3 features1 interval
ComplexityModel500-line threshold3 features1 threshold

Structs§

ComplexityModel
Learned complexity threshold replacing the fixed 500-line limit.
DeadLetterModel
Learned dead letter retry policy replacing fixed backoff and discard rules.
GossipTimingModel
Learned gossip interval replacing fixed timing constants.
GovernanceScorerModel
Learned governance scorer replacing the L2 norm on EffectVector.
HealthThresholdModel
Learned health check thresholds replacing fixed probe configuration.
RestartStrategyModel
Learned restart strategy replacing fixed backoff delays and retry decisions.
TickIntervalModel
Learned tick-interval recommender replacing the four-tier step-function in crate::weaver::WeaverEngine::recommend_tick_interval.