Documentation
Table of Contents

Enum TrialOutcome

Namespace
IntentSharp.Trials
Assembly
IntentSharp.dll

How one sampled call of an IntentTrial compared, as a TrialSample records it.

public enum TrialOutcome
Extension Methods

Fields

Agreed = 0

Both versions produced a verified value, and the two values are the same JSON.

CandidateFailed = 2

The candidate did not produce a verified value: its result failed, its run threw, or the version holds no definition of the intent that loads, is enabled and can run with the caller's result type.

CandidateUnavailable = 3

The candidate version could not be read: the store has no version with that sequence or has rejected it, the read failed, or the catalog does not keep its intents in a document store.

Differed = 1

The candidate produced a verified value, and the running version produced a different one or none.

Other = 4

An outcome this version of the library does not name: the two values could not be compared, or a runner of your own reported it.