Skip to main content

Module utility

Module utility 

Source
Expand description

Outcome feedback loop for adaptive entity learning.

Tracks which graph entities contributed to session outcomes (success/partial/failure) and adjusts their utility_score via exponential moving average.

Phase 1 of Adaptive Entity Learning v2.

Structs§

ContributionStats
Get aggregate contribution stats for an entity.
FeedbackReport
Report from a feedback recording operation.

Enums§

OutcomeKind
The result of a task or session outcome.

Constants§

DEFAULT_UTILITY
Default utility score for new entities.

Functions§

get_utility_score
Get the current utility score for an entity.
record_outcome_feedback
Record outcome feedback: link retrieved entities to an outcome and update utility scores.