Documentation
Table of Contents

Class FitReport

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

The verdict on an offer: it fits when every finding fits.

public sealed class FitReport
Inheritance
object
FitReport
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

FitReport()

Creates an empty report that fits, with no findings; prefer From(IEnumerable<FitFinding>, string, DateTimeOffset).

Properties

Findings

The findings, one per evaluator that ran, in the order they ran.

Fits

True when every finding fits.

JudgedAt

When the offer was judged.

OfferHash

An opaque text that identifies the offer judged: its definition and how the specialist is reached (the provider, the model, and the service's id and revision for it). The runtime sets it, and reuses a recorded report only for an offer with the same text, so an offer obtained again after a restart is judged again when it changed. Null on a report made without it, which is reused as it is.

RequestHash

The RequestHash of the request the judged offer answered.

Methods

From(IEnumerable<FitFinding>, string, DateTimeOffset)

A report over findings: it fits when every one of them fits.

Problems()

The reasons of the findings that do not fit, each starting with its evaluator's name.