Class DecisionReplayEvaluation
- Namespace
- ReferenceApplication.Web.Governance.Replay
- Assembly
- ReferenceApplication.Web.dll
A decision replayed against one policy.
public sealed record DecisionReplayEvaluation : IEquatable<DecisionReplayEvaluation>
- Inheritance
-
DecisionReplayEvaluation
- Implements
- Inherited Members
Constructors
DecisionReplayEvaluation(string, bool, string?, string, string, IReadOnlyList<string>, IReadOnlyList<string>, bool, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<DecisionReplayBranch>)
A decision replayed against one policy.
public DecisionReplayEvaluation(string Label, bool Hypothetical, string? HypotheticalReason, string PolicyVersion, string PolicyHash, IReadOnlyList<string> DisabledConstraints, IReadOnlyList<string> PolicyChanges, bool Partial, IReadOnlyList<string> DecisiveUnknownInputs, IReadOnlyList<string> IgnoredUnknownInputs, IReadOnlyList<DecisionReplayBranch> Branches)
Parameters
LabelstringWhat the column shows, such as "Current policy".
HypotheticalboolWhether this is a what-if rather than a re-verification of the recorded decision.
HypotheticalReasonstringWhy it is a what-if, when it is.
PolicyVersionstringThe policy version replayed under.
PolicyHashstringThe policy hash replayed under.
DisabledConstraintsIReadOnlyList<string>The registered constraints left out.
PolicyChangesIReadOnlyList<string>What the candidate policy changes, when it is the stand-in next version.
PartialboolWhether the result depends on an input the ledger does not record.
DecisiveUnknownInputsIReadOnlyList<string>The unrecorded inputs the result depends on.
IgnoredUnknownInputsIReadOnlyList<string>The unrecorded inputs that made no difference to the result.
BranchesIReadOnlyList<DecisionReplayBranch>One branch when the result is determined; one per assumption when it is partial.
Properties
Branches
One branch when the result is determined; one per assumption when it is partial.
public IReadOnlyList<DecisionReplayBranch> Branches { get; init; }
Property Value
DecisiveUnknownInputs
The unrecorded inputs the result depends on.
public IReadOnlyList<string> DecisiveUnknownInputs { get; init; }
Property Value
DisabledConstraints
The registered constraints left out.
public IReadOnlyList<string> DisabledConstraints { get; init; }
Property Value
Hypothetical
Whether this is a what-if rather than a re-verification of the recorded decision.
public bool Hypothetical { get; init; }
Property Value
HypotheticalReason
Why it is a what-if, when it is.
public string? HypotheticalReason { get; init; }
Property Value
IgnoredUnknownInputs
The unrecorded inputs that made no difference to the result.
public IReadOnlyList<string> IgnoredUnknownInputs { get; init; }
Property Value
Label
What the column shows, such as "Current policy".
public string Label { get; init; }
Property Value
Partial
Whether the result depends on an input the ledger does not record.
public bool Partial { get; init; }
Property Value
PolicyChanges
What the candidate policy changes, when it is the stand-in next version.
public IReadOnlyList<string> PolicyChanges { get; init; }
Property Value
PolicyHash
The policy hash replayed under.
public string PolicyHash { get; init; }
Property Value
PolicyVersion
The policy version replayed under.
public string PolicyVersion { get; init; }