pub struct GeometryReport {
pub ot_mean_distance: f32,
pub topology_coherence: f32,
pub h0_death_sum: Option<f32>,
pub ib_kl: f32,
pub diffusion_energy: f32,
pub attention_entropy: f32,
pub metrics: Vec<MetricValue>,
pub health_score: f32,
pub recommendation: AttentionRecommendation,
}Expand description
Unified geometry report
Fields§
§ot_mean_distance: f32OT sliced Wasserstein mean distance
topology_coherence: f32Topology coherence score
h0_death_sum: Option<f32>H0 persistence death sum (if computed)
ib_kl: f32Information bottleneck KL
diffusion_energy: f32Diffusion energy
attention_entropy: f32Attention entropy
metrics: Vec<MetricValue>All metrics with thresholds
health_score: f32Overall health score (0-1)
recommendation: AttentionRecommendationRecommended action
Implementations§
Source§impl GeometryReport
impl GeometryReport
Sourcepub fn is_healthy(&self) -> bool
pub fn is_healthy(&self) -> bool
Check if attention is healthy
Sourcepub fn warnings(&self) -> Vec<&MetricValue>
pub fn warnings(&self) -> Vec<&MetricValue>
Get all warning metrics
Sourcepub fn criticals(&self) -> Vec<&MetricValue>
pub fn criticals(&self) -> Vec<&MetricValue>
Get all critical metrics
Trait Implementations§
Source§impl Clone for GeometryReport
impl Clone for GeometryReport
Source§fn clone(&self) -> GeometryReport
fn clone(&self) -> GeometryReport
Returns a duplicate of the value. Read more
1.0.0 · 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 GeometryReport
impl Debug for GeometryReport
Source§impl<'de> Deserialize<'de> for GeometryReport
impl<'de> Deserialize<'de> for GeometryReport
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
Auto Trait Implementations§
impl Freeze for GeometryReport
impl RefUnwindSafe for GeometryReport
impl Send for GeometryReport
impl Sync for GeometryReport
impl Unpin for GeometryReport
impl UnwindSafe for GeometryReport
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