Documentation
Table of Contents

Class TrialReport

Namespace
IntentSharp.Trials
Assembly
IntentSharp.dll

How an IntentTrial is going: the calls counted, the calls sampled and how each sample compared. It names no input, value or reply, so it is safe to log and to keep.

[Experimental("INTENTSHARP002")]
public sealed class TrialReport
Inheritance
object
TrialReport
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Remarks

With a document store, the counts start from those the store's state already held for this document and version when the trial started, as ClientTrials describes; otherwise they start at zero. Sampled is the sum of the four outcome counts and the samples recorded as Other.

Constructors

TrialReport()

Creates a report. ClientTrials creates these; a test may create its own.

Properties

Agreed

The samples where both versions produced the same verified value (Agreed).

Calls

The calls of intents in the document counted while the trial ran, sampled or not.

CandidateFailed

The samples where the candidate produced no verified value (CandidateFailed).

CandidateUnavailable

The samples where the candidate version could not be read (CandidateUnavailable).

CandidateUsage

The tokens the candidate's runs used across the samples. Each count stops at MaxValue.

Differed

The samples where the candidate's verified value differed from the running version's result (Differed).

Document

The intent document on trial.

LastSampledAt

When a sample was last recorded; null before the first.

Sampled

The calls that also ran the candidate and recorded how it compared. A sampled call whose running version throws runs no candidate and is not counted here, only in Calls.

Sequence

The candidate version, by its sequence in the store.

StartedAt

When the trial's counts began: the start of the trial, or of the counts the store held when it started.