Read the equation
This relation defines Skills component: 3 of 4 required met in the source section “func TestGoldenMandatorySkillGapCap(t *testing.T) · Skills component: 3 of 4 required met”. 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 Skills component: 3 of 4 required met 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
// Terraform (sk-tf) is missing. One mandatory skill unmet.
},
Available: true,
}
res := engine.ScoreCandidate(context.Background(), cand, req, nil)
// Skills component: 3 of 4 required met = 75.
if res.Skills.StringFixed(2) != "75.00" {
t.Fatalf("Skills = %s, want 75.00", res.Skills.StringFixed(2))
}
// Uncapped total: 100*0.25 + 75*0.25 + 100*0.15 + 100*0.15 + 100*0.10 + 100*0.10
// = 25 + 18.75 + 15 + 15 + 10 + 10 = 93.75. bandFor(93.75) = Green.
// The total is unchanged by the cap.
if res.Total.StringFixed(2) != "93.75" {
t.Fatalf("total = %s, want 93.75 (mandatory skill gap cap does not change the total)", res.Total.StringFixed(2))
}
// v1.4.0 mandatory skill gap cap: band must be Yellow (Green lowered to Yellow).Exact original notation
Skills component: 3 of 4 required met = 75.