Read the equation
This relation defines every factor at 1.0 and the weights summing to one in the source section “func TestScoreCaptureReadinessIsAnExactWeightedAverage(t *testing.T)”. It specifies the displayed relationship between the named quantities or parameters. Its interpretation depends on the source’s stated variables and conditions; this record does not assign an unprovided physical or cognitive meaning to them.
Terms & definitions
The recovered passage does not supply a separate symbol table. Read the source context for the notation used in this version; familiar letters may carry different meanings in other builds.
How it works
Read every factor at 1.0 and the weights summing to one as the quantity being defined or updated by this relation.
Substitute the source-defined variables or recorded values and follow the displayed arithmetic and indexing exactly.
Use this version’s variable definitions and update order. The same symbol may be assigned a different meaning in another build.
Assumptions & limits
This source expression was recovered from the pinned code revision. Its presence does not establish that the associated program was built, run, or scientifically validated.
Original context
Read the surrounding source passage
factorMarketWinLikelihood: dec("0.30"),
factorIncumbencyPosition: dec("0.20"),
factorPastPerformance: dec("0.15"),
}
}
func TestScoreCaptureReadinessIsAnExactWeightedAverage(t *testing.T) {
// every factor at 1.0 and the weights summing to one => the score is exactly 1.0 (no sigmoid distortion).
factors := []captureFactor{
{factorStaffingReadiness, dec("1"), ""},
{factorMarketWinLikelihood, dec("1"), ""},
{factorIncumbencyPosition, dec("1"), ""},
{factorPastPerformance, dec("1"), ""},
}
score, trace := scoreCaptureReadiness(captureWeights(), factors)
if !score.Equal(dec("1")) {
t.Fatalf("all factors at 1.0 must score exactly 1.0, got %s", score)
}Exact original notation
every factor at 1.0 and the weights summing to one => the score is exactly 1.0 (no sigmoid distortion).