Read the equation
This relation defines impact ratio (i.e., the reference group count >= 2 so ratios are not all "n/a"). in the source section “func assertRatesInBounds(t *testing.T, rows []eeo.ImpactRow, label string)”. 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 impact ratio (i.e., the reference group count >= 2 so ratios are not all "n/a"). 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
if rate < 0 || rate > 1 {
t.Errorf("%s group %s: rate %s is outside [0,1]", label, row.Group, row.Rate)
}
}
}
// assertAtLeastTwoKnownGroups verifies that at least two groups in the cut have a computed
// impact ratio (i.e., the reference group count >= 2 so ratios are not all "n/a").
func assertAtLeastTwoKnownGroups(t *testing.T, rows []eeo.ImpactRow, label string) {
t.Helper()
known := 0
for _, row := range rows {
if row.ImpactRatio != "n/a" {
known++
}
}
if known < 2 {
t.Errorf("%s: want at least 2 groups with a computed impact ratio, got %d (all n/a?)", label, known)Exact original notation
impact ratio (i.e., the reference group count >= 2 so ratios are not all "n/a").