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 = 0Tag the span with both
motiv.reasonandmotiv.assertions. The default.None = 2Tag neither — the span still carries the outcome, but no explanation text.
ReasonOnly = 1Tag the span with
motiv.reasononly; omit themotiv.assertionsarray.
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.