pub struct HierarchicalExecutionTrace {Show 14 fields
pub top1_coarse: String,
pub top1_coarse_prob: f64,
pub top2_coarse: Option<String>,
pub top2_coarse_prob: Option<f64>,
pub coarse_margin: f64,
pub coarse_normalized_entropy: f64,
pub coarse_composite_confidence: f64,
pub early_exit_triggered: bool,
pub early_exit_reason: Option<String>,
pub soft_beam_triggered: bool,
pub selected_coarse_clusters: Vec<String>,
pub evaluated_fine_count: usize,
pub fine_temperature: f64,
pub catchall_bias_triggered: bool,
}Expand description
粗密二段階推論の実行トレース詳細情報。
Fields§
§top1_coarse: String第 1 パス (大分類) の Top-1 クラスタキー。
top1_coarse_prob: f64第 1 パス (大分類) の Top-1 確率。
top2_coarse: Option<String>第 1 パス (大分類) の Top-2 クラスタキー。
top2_coarse_prob: Option<f64>第 1 パス (大分類) の Top-2 確率。
coarse_margin: f64第 1 パスの差分マージン ($M_{\text{coarse}} = P(C_{(1)}) - P(C_{(2)})$)。
coarse_normalized_entropy: f64第 1 パスの正規化エントロピー ($\tilde{H}(\mathbf{P}_C)$)。
coarse_composite_confidence: f64第 1 パスの複合確信度スコア ($S_{\text{coarse}}$)。
early_exit_triggered: boolEarly-Exit が発動したか。
early_exit_reason: Option<String>Early-Exit が発動した場合の理由。
soft_beam_triggered: boolSoft-Beam が発動したか。
selected_coarse_clusters: Vec<String>第 2 パスへ投入された大分類クラスタ群。
evaluated_fine_count: usize第 2 パスで実際に評価された細分類候補数。
fine_temperature: f64第 2 パスに適用された動的温度 ($T_{\text{fine}}$)。
catchall_bias_triggered: bool受け皿候補優先バイアスが発動したか。
Trait Implementations§
Source§impl Clone for HierarchicalExecutionTrace
impl Clone for HierarchicalExecutionTrace
Source§fn clone(&self) -> HierarchicalExecutionTrace
fn clone(&self) -> HierarchicalExecutionTrace
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 HierarchicalExecutionTrace
impl Debug for HierarchicalExecutionTrace
Source§impl<'de> Deserialize<'de> for HierarchicalExecutionTrace
impl<'de> Deserialize<'de> for HierarchicalExecutionTrace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for HierarchicalExecutionTrace
Auto Trait Implementations§
impl Freeze for HierarchicalExecutionTrace
impl RefUnwindSafe for HierarchicalExecutionTrace
impl Send for HierarchicalExecutionTrace
impl Sync for HierarchicalExecutionTrace
impl Unpin for HierarchicalExecutionTrace
impl UnsafeUnpin for HierarchicalExecutionTrace
impl UnwindSafe for HierarchicalExecutionTrace
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more