Read the equation
The first quarter-weighted component is zero and all remaining component scores are 100. The weighted sum is therefore 75, which the source test assigns to Yellow. This illustrates how one component can reduce the final score even when every other component is maximal.
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 the definition from its right-hand expression to the quantity on the left. Its surrounding source records the intended input, state, or parameter context. Where the source leaves an operation unspecified, this page preserves that gap.
Assumptions & limits
Source recovery establishes that the expression appears in this record. Its mathematical validity, implementation behavior, and interpretation must be assessed separately. See the linked source and research notes for the checks available for this version.
Original context
Read the surrounding source passage
t.Fatalf("gap count %d, want 1: %v", len(res.GapSummary), res.GapSummary)
}
if !strings.Contains(res.GapSummary[0], "SI") {
t.Fatalf("gap does not name SI: %q", res.GapSummary[0])
}
// Golden total: clearance 0, all other dimensions 100 (no requirements on those dimensions;
// candidate is available). Total = 0*0.25 + 100*0.25 + 100*0.15 + 100*0.15 + 100*0.10 + 100*0.10.
// = 0 + 25 + 15 + 15 + 10 + 10 = 75.00, Yellow.
if res.Total.StringFixed(2) != "75.00" {
t.Fatalf("total = %s, want 75.00", res.Total.StringFixed(2))
}
if res.Band != engine.BandYellow {
t.Fatalf("band = %s, want Yellow", res.Band)
}
sum := decimal.Zero
for _, comp := range res.Trace {
sum = sum.Add(comp.Weighted)
}Exact original notation
candidate is available). Total = 0*0.25 + 100*0.25 + 100*0.15 + 100*0.15 + 100*0.10 + 100*0.10. = 0 + 25 + 15 + 15 + 10 + 10 = 75.00, Yellow.