pub struct ComparisonRow<'a> {Show 28 fields
pub pair: u64,
pub arm: Arm,
pub fallback: bool,
pub day: u32,
pub domain_key: u64,
pub need: DeclaredNeed,
pub ext: ExtClass,
pub tld: u8,
pub memory: MemoryState,
pub routed: &'a RouteDecision,
pub edit: Option<EditDescriptor>,
pub pinned: u32,
pub pinned_hi: u64,
pub success: bool,
pub status: StatusClass,
pub millis: u32,
pub bytes: u32,
pub credits: f64,
pub attempts: u8,
pub multiplier: f32,
pub fields_requested: u8,
pub fields_present: u8,
pub content_ok: Option<bool>,
pub fields_ok: Option<bool>,
pub shingle_jaccard: Option<f32>,
pub byte_ratio: Option<f32>,
pub base: &'a FeatureVector,
pub edit_feats: &'a EditFeatures,
}Expand description
One arm of one paired trial.
Fields§
§pair: u64Which pair this arm belongs to.
arm: ArmWhich arm.
fallback: boolWhether a tripped monitor shadowed a pick that would otherwise have
been applied. See crate::monitor.
day: u32The day the trial ran, as a count the caller chooses.
domain_key: u64The caller’s opaque key for the site, for splitting train and test by site. Never a hash this crate computes from a name.
need: DeclaredNeedWhat the caller wanted back.
ext: ExtClassWhat kind of file the address names.
tld: u8The label group slot of the host, as the router reads it.
memory: MemoryStateHow much the caller remembered.
routed: &'a RouteDecisionWhat the router decided.
edit: Option<EditDescriptor>The edit this arm carried, None for the baseline.
pinned: u32See pinned_mask, the first 32 keys.
pinned_hi: u64See pinned_mask, keys 32 and up.
success: boolWhether the arm got what the caller asked for.
status: StatusClassHow it ended.
millis: u32How long it took.
bytes: u32How many bytes came back.
credits: f64What it cost.
attempts: u8How many attempts it took.
multiplier: f32The arm’s multiplier.
fields_requested: u8How many fields the caller asked for.
fields_present: u8How many came back non-empty.
content_ok: Option<bool>Whether the content matched the baseline closely enough.
fields_ok: Option<bool>§shingle_jaccard: Option<f32>§byte_ratio: Option<f32>§base: &'a FeatureVectorThe router’s features for the request.
edit_feats: &'a EditFeaturesThe edit’s features.