A validated, normalized formal trace.
Trace structs are returned by load/1; consumers should not construct them
directly because loading establishes the structural and value invariants
required by the runner.
Summary
Types
Normalized trace metadata retained from the ITF document.
A finite trace, or a loaded lasso trace that replay will reject.
Functions
Loads and validates the supported ITF subset from path.
Types
@type metadata() :: %{ variables: [String.t()], parameters: [String.t()], source_format: :itf, itf: map() }
Normalized trace metadata retained from the ITF document.
@type t() :: %Victoria.Trace{ loop_index: non_neg_integer() | nil, metadata: metadata(), source: Path.t(), steps: [Victoria.Step.t(), ...] }
A finite trace, or a loaded lasso trace that replay will reject.
Functions
@spec load(Path.t()) :: {:ok, t()} | {:error, Victoria.ITF.Error.t()}
Loads and validates the supported ITF subset from path.