Table of Contents

Enum ExplanationDetail

Namespace
Motiv.Diagnostics
Assembly
Motiv.dll

Controls how much of an evaluation's explanation is attached to its telemetry span.

public enum ExplanationDetail
Extension Methods

Fields

Full = 0

Tag the span with both motiv.reason and motiv.assertions. The default.

None = 2

Tag neither — the span still carries the outcome, but no explanation text.

ReasonOnly = 1

Tag the span with motiv.reason only; omit the motiv.assertions array.

Remarks

The motiv.reason and motiv.assertions tags carry text authored by the proposition, which can embed values from the model being evaluated — for example a WhenTrue delegate that interpolates a customer's income. A deployment that cannot guarantee that text is free of sensitive data can reduce or suppress it via ExplanationDetail. Reducing the detail also avoids resolving the suppressed text, so its cost — and any exception from a user's WhenTrue/WhenFalse delegate — is skipped.