Read the equation
This relation defines MATERIALIZED two arm fusion with k in the source section “func HybridSearch(ctx context.Context, db tenant.DB, client inference.Client, query, mission string, limit int) ([]Hit, error)”. 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 MATERIALIZED two arm fusion with k 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
// 1. opportunity_records is PUBLIC federal reference data with no organization_id and no row level
// security, the same status as the skills ontology. There is therefore no tenant predicate to write and
// none is written. It still runs inside RunInTenantTx because under per tenant routing that is how the
// caller's leaf pool is resolved, and the global catalog lives in each tenant database as part of the
// shared migration set.
// 2. The SQL is written here rather than generated, because sqlc models a table from the migration set at
// generation time and this query fuses two arms over a column added later; the shape is the same
// MATERIALIZED two arm fusion with k=60 the candidate query uses.
//
// The EEO guard runs exactly as it does on the candidate leg. A public solicitation carries no protected
// attribute, but the guard is on the QUESTION, and a question that reaches for demographics must not be
// able to reach a retrieval path at all just because it names a contract.
func HybridSearchOpportunities(ctx context.Context, db *tenant.DB, client *inference.Client, query string, limit int) ([]OppHit, error) {
if db == nil || client == nil {
return nil, errors.New("ai: opportunity retrieval needs a database and an inference client")
}
if err := ForbidEEO(query); err != nil {
return nil, errExact original notation
MATERIALIZED two arm fusion with k=60 the candidate query uses.