Table of Contents

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

Label string

What the column shows, such as "Current policy".

Hypothetical bool

Whether this is a what-if rather than a re-verification of the recorded decision.

HypotheticalReason string

Why it is a what-if, when it is.

PolicyVersion string

The policy version replayed under.

PolicyHash string

The policy hash replayed under.

DisabledConstraints IReadOnlyList<string>

The registered constraints left out.

PolicyChanges IReadOnlyList<string>

What the candidate policy changes, when it is the stand-in next version.

Partial bool

Whether the result depends on an input the ledger does not record.

DecisiveUnknownInputs IReadOnlyList<string>

The unrecorded inputs the result depends on.

IgnoredUnknownInputs IReadOnlyList<string>

The unrecorded inputs that made no difference to the result.

Branches IReadOnlyList<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

IReadOnlyList<DecisionReplayBranch>

DecisiveUnknownInputs

The unrecorded inputs the result depends on.

public IReadOnlyList<string> DecisiveUnknownInputs { get; init; }

Property Value

IReadOnlyList<string>

DisabledConstraints

The registered constraints left out.

public IReadOnlyList<string> DisabledConstraints { get; init; }

Property Value

IReadOnlyList<string>

Hypothetical

Whether this is a what-if rather than a re-verification of the recorded decision.

public bool Hypothetical { get; init; }

Property Value

bool

HypotheticalReason

Why it is a what-if, when it is.

public string? HypotheticalReason { get; init; }

Property Value

string

IgnoredUnknownInputs

The unrecorded inputs that made no difference to the result.

public IReadOnlyList<string> IgnoredUnknownInputs { get; init; }

Property Value

IReadOnlyList<string>

Label

What the column shows, such as "Current policy".

public string Label { get; init; }

Property Value

string

Partial

Whether the result depends on an input the ledger does not record.

public bool Partial { get; init; }

Property Value

bool

PolicyChanges

What the candidate policy changes, when it is the stand-in next version.

public IReadOnlyList<string> PolicyChanges { get; init; }

Property Value

IReadOnlyList<string>

PolicyHash

The policy hash replayed under.

public string PolicyHash { get; init; }

Property Value

string

PolicyVersion

The policy version replayed under.

public string PolicyVersion { get; init; }

Property Value

string