pub enum ExclusionReason {
Duplicate {
kept: FrameId,
},
OverBudget {
cost: u32,
remaining: u32,
},
}Expand description
Why a frame did not make it into the composed prompt (issue #15 audit). Every excluded frame carries exactly one of these, so the audit explains every drop rather than silently shrinking the evidence set.
Variants§
Duplicate
Collapsed into an equal-or-higher-scored frame quoting the same evidence
(dedup_cross_provider); carries the survivor’s identity.
OverBudget
Would have pushed the composition past its token budget. cost is the
frame’s canonical token cost; remaining is what was left when it was
considered.
Trait Implementations§
Source§impl Clone for ExclusionReason
impl Clone for ExclusionReason
Source§fn clone(&self) -> ExclusionReason
fn clone(&self) -> ExclusionReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExclusionReason
impl Debug for ExclusionReason
impl Eq for ExclusionReason
Source§impl PartialEq for ExclusionReason
impl PartialEq for ExclusionReason
impl StructuralPartialEq for ExclusionReason
Auto Trait Implementations§
impl Freeze for ExclusionReason
impl RefUnwindSafe for ExclusionReason
impl Send for ExclusionReason
impl Sync for ExclusionReason
impl Unpin for ExclusionReason
impl UnsafeUnpin for ExclusionReason
impl UnwindSafe for ExclusionReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more