pub struct ReductionPassAttribution {Show 16 fields
pub kind: String,
pub enabled: bool,
pub candidate_count: usize,
pub candidate_original_bytes: u64,
pub applied_count: usize,
pub applied_original_bytes: u64,
pub suppressed_by_later_pass_count: usize,
pub suppressed_by_later_pass_bytes: u64,
pub standalone_saved_bytes: u64,
pub standalone_saved_tokens: u64,
pub marginal_saved_bytes: u64,
pub marginal_saved_tokens: u64,
pub suppressed_bytes: u64,
pub suppressed_tokens: u64,
pub retained_bytes: u64,
pub retained_tokens: u64,
}Expand description
Durable, content-free accounting for one reduction pass. This is proof
metadata only: inversion and projection depend exclusively on
ReductionLog::reductions. Keeping it with the log lets an offline
inspector distinguish a disabled pass, an enabled pass with no candidate,
and a candidate later subsumed by a higher-order pass such as A10.
Fields§
§kind: StringStable stub-grammar pass name.
enabled: boolWhether the final configured policy enabled this pass.
candidate_count: usizeClaims produced immediately before later cardinality-changing passes.
candidate_original_bytes: u64Original bytes addressed by those claims.
applied_count: usizeClaims retained in the final persisted reduction index.
applied_original_bytes: u64Original bytes addressed by retained claims.
suppressed_by_later_pass_count: usizeEarlier claims subsumed by a later pass.
suppressed_by_later_pass_bytes: u64Original bytes addressed by those subsumed claims.
standalone_saved_bytes: u64Bytes this pass would save in isolation.
standalone_saved_tokens: u64Estimated tokens this pass would save in isolation.
marginal_saved_bytes: u64Bytes this pass adds after earlier persisted passes.
marginal_saved_tokens: u64Estimated tokens this pass adds after earlier persisted passes.
suppressed_bytes: u64Standalone byte claim removed by overlap or pass order.
suppressed_tokens: u64Standalone token claim removed by overlap or pass order.
retained_bytes: u64Projected bytes retained after this pass in pipeline order.
retained_tokens: u64Estimated tokens retained after this pass in pipeline order.
Trait Implementations§
Source§impl Clone for ReductionPassAttribution
impl Clone for ReductionPassAttribution
Source§fn clone(&self) -> ReductionPassAttribution
fn clone(&self) -> ReductionPassAttribution
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more