Table of Contents

Class RuntimeTraceComparison

Namespace
Utils.Parser.Runtime
Assembly
Utils.Parser.dll

Represents a deterministic descriptive comparison between two observation sequences.

public sealed record RuntimeTraceComparison : IEquatable<RuntimeTraceComparison>
Inheritance
RuntimeTraceComparison
Implements
Inherited Members
Extension Methods

Constructors

RuntimeTraceComparison(bool, bool, bool, int, int, IReadOnlyDictionary<ParserRuntimeObservationKind, int>)

Represents a deterministic descriptive comparison between two observation sequences.

public RuntimeTraceComparison(bool AreSummariesEquivalent, bool AreTextExportsIdentical, bool AreJsonExportsIdentical, int FirstTotalObservations, int SecondTotalObservations, IReadOnlyDictionary<ParserRuntimeObservationKind, int> EventCountDelta)

Parameters

AreSummariesEquivalent bool

Indicates whether the two deterministic summaries are equivalent.

AreTextExportsIdentical bool

Informational flag indicating whether deterministic text exports are byte-identical.

AreJsonExportsIdentical bool

Informational flag indicating whether deterministic JSON exports are byte-identical.

FirstTotalObservations int

Observation count in the first sequence.

SecondTotalObservations int

Observation count in the second sequence.

EventCountDelta IReadOnlyDictionary<ParserRuntimeObservationKind, int>

Per-event-kind count deltas computed as first minus second.

Properties

AreJsonExportsIdentical

Informational flag indicating whether deterministic JSON exports are byte-identical.

public bool AreJsonExportsIdentical { get; init; }

Property Value

bool

AreSummariesEquivalent

Indicates whether the two deterministic summaries are equivalent.

public bool AreSummariesEquivalent { get; init; }

Property Value

bool

AreTextExportsIdentical

Informational flag indicating whether deterministic text exports are byte-identical.

public bool AreTextExportsIdentical { get; init; }

Property Value

bool

EventCountDelta

Gets the immutable event-count delta snapshot.

public IReadOnlyDictionary<ParserRuntimeObservationKind, int> EventCountDelta { get; init; }

Property Value

IReadOnlyDictionary<ParserRuntimeObservationKind, int>

FirstTotalObservations

Observation count in the first sequence.

public int FirstTotalObservations { get; init; }

Property Value

int

SecondTotalObservations

Observation count in the second sequence.

public int SecondTotalObservations { get; init; }

Property Value

int