pub struct Verdict {
pub valence: Valence,
pub strength: f64,
pub tier: Tier,
pub flagged_points: Vec<FlaggedPoint>,
pub contributors: Vec<Contributor>,
pub trace_id: String,
pub abstained: bool,
pub abstain_reason: Option<AbstainReason>,
pub confidence: f64,
pub dispersion: f64,
}Expand description
The critic’s judgement. No answer-bearing field may ever be added here.
Fields§
§valence: Valence§strength: f64Aggregate strength ∈ [0,1]; the max fused over contributors.
tier: Tier§flagged_points: Vec<FlaggedPoint>§contributors: Vec<Contributor>§trace_id: StringThreads appraise → record so an override can flow back via record(feedback='down').
abstained: bool方案 A:弃权是一等输出。true 时 valence=Neutral、flagged 为空、confidence=0,
但 strength 仍可见(弃权率/弃权精度的健康信号)。
abstain_reason: Option<AbstainReason>弃权原因;表态则 None。
confidence: f64方案 E/G:经校准映射 + 邻居离散度塑形后的置信度 ∈ [0,1]。与 strength 区分: strength 是原始共振强度,confidence 是「直觉对自己几斤几两的诚实估计」。
dispersion: f64方案 G:top-k 邻居 fused 离散度(max-min)。透明化,供下游判读模糊性。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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