pub struct Outcome {
pub verdict: Verdict,
pub stats: Stats,
pub metrics: Metrics,
pub warnings: Vec<(u16, u32)>,
pub trace: Option<Result<Vec<TraceState>, String>>,
pub failure: Option<Failure>,
pub in_init: bool,
pub expanded: bool,
pub replayed: Option<Replayed>,
pub sampled: Vec<SampledState>,
pub printed: Vec<String>,
}Expand description
The result of a run.
Fields§
§verdict: VerdictHow it ended.
stats: StatsTLC’s statistics.
metrics: MetricsStrategy metrics.
warnings: Vec<(u16, u32)>Warnings 2143 (variable, UNCHANGED site as an ExprId index), once each, in the
order raised.
trace: Option<Result<Vec<TraceState>, String>>The counterexample of a violation, deadlock or failure, initial
state first, rebuilt by replay; Err when the replay failed (a core
bug). After a failure in a check, the last state is the one checked.
failure: Option<Failure>Where the search failed (Verdict::Failed).
in_init: boolWhether the run stopped while generating the initial states.
expanded: boolWhether the run expanded a level after Init. Init runs on one
worker; only later levels use the requested width.
replayed: Option<Replayed>What TLC’s call-stack replay changed after an invariant failed to evaluate on a new successor.
sampled: Vec<SampledState>The sampled expanded states (Config::sample), as persistent
handles and their actual source evaluation levels.
printed: Vec<String>What Print and PrintT printed during the search, in TLC’s order
(a plan that prints runs one worker: Plan::effects).