Read the equation
This relation defines The base rate is sigmoid(logit(0.60)) in the source section “func TestScoreModelIntentPriorOnlyReturnsBaseRate(t *testing.T) · The base rate is sigmoid(logit(0.60))”. 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 The base rate is sigmoid(logit(0.60)) 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
}
// Two very different feature values must yield the SAME probability, because the coefficient is zero.
valueA, _ := scoreModelIntent(model, []Contribution{{FeatureName: "segment_base_rate", Value: decimal.RequireFromString("0.10")}})
valueB, _ := scoreModelIntent(model, []Contribution{{FeatureName: "segment_base_rate", Value: decimal.RequireFromString("0.90")}})
if !valueA.Equal(valueB) {
t.Errorf("a prior only model (zero coefficient) must return the same base rate for any feature, got %s and %s", valueA, valueB)
}
// The base rate is sigmoid(logit(0.60)) = 0.60. Allow a small rounding tolerance.
lo := decimal.RequireFromString("0.599")
hi := decimal.RequireFromString("0.601")
if valueA.LessThan(lo) || valueA.GreaterThan(hi) {
t.Errorf("the prior only base rate must be near 0.60, got %s", valueA)
}
}
// TestApplyCalibrationIdentityAndMap proves the calibration behavior: an empty bin set is the identity map (the
// raw passes through), and a bin that covers the raw remaps it to the bin's empirical rate. The result is
// always clamped to [0, 1].Exact original notation
The base rate is sigmoid(logit(0.60)) = 0.60. Allow a small rounding tolerance.