SchemaStats
Metrics plus optional throughput for a single schema.
Used as Input
0
functions accept this type
Used as Output
0
functions return this type(+1 nested)
Type Definition
16 nested items
struct— Metrics plus optional throughput for a single schema.
metrics*:SchemaMetrics— Quality metrics for a path schema, computed from its instance connections.
coverage*:f64— Fraction of source-type instances with at least one connection.
exclusivity*:f64— Inverse average fan-in:
|distinct targets| / support. High = each target reached by few sources.reach*:f64— Fraction of target-type instances reached.
selectivity*:f64— Inverse average fan-out:
1 / (avg distinct targets per connected source). High = discriminating.throughput:Option<ThroughputStats>— Event-to-event throughput times, if both endpoints are events.
variant 1:ThroughputStats— Throughput time statistics (seconds) over event-to-event connections.
variant 2:()
Example JSON Value
{
"metrics": {
"coverage": 0.2,
"exclusivity": 0.2,
"path_count": 1,
"reach": 0.2,
"selectivity": 0.2,
"sources_with_paths": 1,
"support": 1,
"total_sources": 1
}
}