Skip to content

Decision

Namespace: E2E.Decision

public sealed record Decision : IEquatable<Decision>

One gated answer: the chosen option, its probability, and the provider confidence. A score answer reads its most probable level as the choice, carries the probability-weighted level as Score, and its probability is the mass on the levels within half a level of that score: a spread over two adjacent columns is a precise position, not an uncertain one.

Inheritance: object

Implements: IEquatable<Decision>

View source

public Decision(string Choice, double Probability, double Confidence, double? Score = null)

One gated answer: the chosen option, its probability, and the provider confidence. A score answer reads its most probable level as the choice, carries the probability-weighted level as Score, and its probability is the mass on the levels within half a level of that score: a spread over two adjacent columns is a precise position, not an uncertain one.

Parameters

Name Type Description
Choice string
Probability double
Confidence double
Score double?

public string Choice { get; init; }

Value: string

public double Confidence { get; init; }

Value: double

public double Probability { get; init; }

Value: double

public double? Score { get; init; }

Value: double?