more features checks. setup improvements

This commit is contained in:
master
2026-02-13 02:04:55 +02:00
parent 9911b7d73c
commit 9ca2de05df
675 changed files with 37550 additions and 1826 deletions

View File

@@ -189,8 +189,12 @@ public sealed class DeltaIfPresentCalculator : IDeltaIfPresentCalculator
var bestUncertainty = _uncertaintyCalculator.Calculate(bestSnapshot, effectiveWeights);
var worstUncertainty = _uncertaintyCalculator.Calculate(worstSnapshot, effectiveWeights);
var maxScore = _trustAggregator.Aggregate(bestSnapshot, bestUncertainty, effectiveWeights);
var minScore = _trustAggregator.Aggregate(worstSnapshot, worstUncertainty, effectiveWeights);
var bestScore = _trustAggregator.Aggregate(bestSnapshot, bestUncertainty, effectiveWeights);
var worstScore = _trustAggregator.Aggregate(worstSnapshot, worstUncertainty, effectiveWeights);
// Ensure correct ordering regardless of which scenario produces higher/lower scores
var minScore = Math.Min(bestScore, worstScore);
var maxScore = Math.Max(bestScore, worstScore);
// Calculate missing weight percentage
var missingWeight = currentUncertainty.Gaps.Sum(g => g.Weight);