oxibrain-core 0.5.0

Core domain types, temporal fold, extraction, ranking, and packing for oxibrain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Space statistics — counts for dashboards and the `stats` MCP tool.

use serde::{Deserialize, Serialize};

/// Aggregate counts for a space.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct SpaceStats {
    /// Number of episodes recorded in the space.
    pub episodes: i64,
    /// Number of entities (excluding merged-away) in the space.
    pub entities: i64,
    /// Number of statements in the space.
    pub statements: i64,
    /// Number of contradicted statements in the space.
    pub contradictions: usize,
}