pub struct Monitor {
pub reverted: bool,
pub sessions: u32,
pub units: u32,
pub mean: f64,
pub ucb: Option<f64>,
pub labelled: u32,
pub ess: f64,
pub max_weight: f64,
pub truncated: u32,
}Expand description
The monitor’s reading of the learned policy against the fixed rule (module doc).
Fields§
§reverted: boolThe store went back to the fixed rule (sticky: select/summary.rs REVERTED).
sessions: u32Sessions and applies of the learned policy it read.
units: u32§mean: f64Per apply, the mean of (policy − fixed rule) + α × the fixed rule’s value, and the confidence
sequence’s upper bound on it (None before CS_MIN sessions): below 0, the policy costs more
than α of the fixed rule’s quality.
ucb: Option<f64>§labelled: u32How far its weights can be trusted (borg top Evaluation): the labelled applies weighed, the
effective number of the weights the estimate used (truncated, normalised per route: (Σw)² /
Σw²), the largest of them against their mean, and the applies whose weight the √N cap cut; each
over the applies whose weight can move the estimate: a residual in use (ROUTE_LABELS_MIN) on a
taken route where the policy and the fixed rule differ (a placebo both rules leave undelivered
has none, however large its weight).
ess: f64§max_weight: f64§truncated: u32