sprints work
This commit is contained in:
@@ -23,6 +23,8 @@ public sealed record VerdictPredicate
|
||||
IEnumerable<VerdictEvidence>? evidence = null,
|
||||
IEnumerable<VerdictVexImpact>? vexImpacts = null,
|
||||
VerdictReachability? reachability = null,
|
||||
VerdictEvidenceWeightedScore? evidenceWeightedScore = null,
|
||||
VerdictBudgetCheck? budgetCheck = null,
|
||||
ImmutableSortedDictionary<string, string>? metadata = null)
|
||||
{
|
||||
Type = PredicateType;
|
||||
@@ -47,6 +49,8 @@ public sealed record VerdictPredicate
|
||||
Evidence = NormalizeEvidence(evidence);
|
||||
VexImpacts = NormalizeVexImpacts(vexImpacts);
|
||||
Reachability = reachability;
|
||||
EvidenceWeightedScore = evidenceWeightedScore;
|
||||
BudgetCheck = budgetCheck;
|
||||
Metadata = NormalizeMetadata(metadata);
|
||||
}
|
||||
|
||||
@@ -77,6 +81,19 @@ public sealed record VerdictPredicate
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public VerdictReachability? Reachability { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Evidence-weighted score decomposition for scoring transparency.
|
||||
/// </summary>
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public VerdictEvidenceWeightedScore? EvidenceWeightedScore { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Budget check information for unknown budget enforcement.
|
||||
/// Captures the budget configuration and result at decision time.
|
||||
/// </summary>
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public VerdictBudgetCheck? BudgetCheck { get; }
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
||||
public ImmutableSortedDictionary<string, string> Metadata { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user