pub struct FunctionHealth {
pub attributed: bool,
pub complete: bool,
pub checks: u64,
pub measured_checks: u64,
pub near_limit_checks: u64,
pub exhausted_checks: u64,
pub unlimited_checks: u64,
pub unrecorded_checks: u64,
pub peak: Option<Consumption>,
}Expand description
Health measurements for one original function report, not a proof tier.
Fields§
§attributed: boolAn obligation inventory was recorded; false differs from an empty one.
complete: boolEvery recorded check has answer, provenance, requested limit and effort. This says nothing about repeated-run stability or proof success.
checks: u64Original checks, including advisory checks.
measured_checks: u64Checks with finite positive limits and actual recorded effort.
near_limit_checks: u64Checks whose measured effort exceeds half their finite limit (ADR 0009).
exhausted_checks: u64Checks whose original reason-unknown identifies resource exhaustion.
unlimited_checks: u64Checks explicitly requesting an unlimited resource budget (limit zero).
unrecorded_checks: u64Checks missing an answer, source, requested limit or actual effort.
peak: Option<Consumption>Highest exact finite check-consumption fraction; absent without one.
Implementations§
Source§impl FunctionHealth
impl FunctionHealth
Sourcepub fn from_obligations(obligations: Option<&[ObligationReport]>) -> Self
pub fn from_obligations(obligations: Option<&[ObligationReport]>) -> Self
Derives measurements only from original attributed per-check evidence.