mod acg_learner#

module acg_learner#

ACG learner for the adaptive telemetry pipeline.

Structs and Unions

struct AcgLearner#

Learner that derives prompt stability state for ACG.

This learner groups annotated LLM requests by derived ACG profile key, builds prompt IR observations, persists a bounded observation window, and updates the hot cache with the latest stability results.

Implementations

impl AcgLearner#

Functions

fn new(agent_id: impl Into<String>, observation_window: usize, thresholds: StabilityThresholds) -> Self#

Create a new ACG learner.

Parameters

  • agent_id: Agent identifier whose observations should be updated.

  • observation_window: Maximum number of observations to retain per profile.

  • thresholds: Stability thresholds used during analysis.

Returns

A configured AcgLearner.

Traits implemented

impl Learner for AcgLearner#