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>
Constructors
Section titled “Constructors”Decision(string, double, double, double?)
Section titled “Decision(string, double, double, double?)”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? |
Properties
Section titled “Properties”Choice
Section titled “Choice”public string Choice { get; init; }Value: string
Confidence
Section titled “Confidence”public double Confidence { get; init; }Value: double
Probability
Section titled “Probability”public double Probability { get; init; }Value: double
public double? Score { get; init; }Value: double?