ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

querier

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed relationship between the named quantities or parameters. Its interpretation depends on the…

Implementation mathematicsSource recovered; runtime not executed
Learn with the Atlas

Learn to read this model

Start with the symbols, follow the operations, and check what the result means.

Open guided lesson
gh-eq-5db55a4bdc308c49source-comment-equation
Hybridretrieval:pgvectorcosinekNNfusedwithfull−textrankviaReciprocalRankFusion(k=60).Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion (k=60).

Read the equation

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. 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

  1. Read Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion as the quantity being defined or updated by this relation.

  2. Substitute the source-defined variables or recorded values and follow the displayed arithmetic and indexing exactly.

  3. 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
	// for GET /proposal-readiness [review COMPL-2]. RLS scopes all three tables to the caller's org.
	ProposalReadiness(ctx context.Context, opportunityID *uuid.UUID) ([]ProposalReadinessRow, error)
	// Candidates whose most recent recorded decision is older than the retention window and whose PII is
	// not yet anonymized. The de identified slate_members outcomes are retained; only the candidate PII is
	// wiped (by AnonymizeCandidate). RLS scopes this to the caller's org.
	RetentionDueCandidates(ctx context.Context, dollar_1 int32) ([]uuid.UUID, error)
	SamSyncMeta(ctx context.Context) (SamSyncMetaRow, error)
	// Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion (k=60).
	// RLS already scopes both legs to the caller's org. $1=query embedding, $2=limit, $3=text query.
	// Every ORDER BY carries a unique tiebreaker (id) so results are byte-stable for fixed inputs, the
	// AEDT reproducibility mandate [review SQLC-2/PGV-1/PGV-2]. Caller SETs LOCAL hnsw.ef_search first.
	SearchCandidatesHybrid(ctx context.Context, arg SearchCandidatesHybridParams) ([]SearchCandidatesHybridRow, error)
	// Cosine nearest-neighbor over the skills ontology (powers semantic skill adjacency).
	SearchSkillsSemantic(ctx context.Context, arg SearchSkillsSemanticParams) ([]SearchSkillsSemanticRow, error)
	// An org FSO records HOW a candidate's clearance is known. RLS scopes this to the caller's own org.
	// verified_at is the date the FSO confirmed it; it is NULL for a self reported indicator. The platform
	// never verifies a clearance itself, it records the org's authoritative assertion.
	SetCandidateClearanceProvenance(ctx context.Context, arg SetCandidateClearanceProvenanceParams) (int64, error)
Exact original notation
Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion (k=60).

Related builds

Related mathematical records

01

func (q *Queries) ListCandidatesScoped(ctx context.Context, arg ListCandidatesScopedParams) ([]Candidate, error)

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “func (q *Queries) ListCandidatesScoped(ctx…

02

querier

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed…

03

func (q *Queries) ListCandidatesForIntel(ctx context.Context, limit int32) ([]Candidate, error)

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “func (q *Queries)…

04

querier

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed…

05

func (q *Queries) ListCandidatesForIntel(ctx context.Context, limit int32) ([]Candidate, error)

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “func (q *Queries)…

06

querier

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed…

07

func (q *Queries) ListCandidatesForIntel(ctx context.Context, limit int32) ([]Candidate, error)

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “func (q *Queries)…

08

querier

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed…

09

func (q *Queries) ListCandidatesForIntel(ctx context.Context, limit int32) ([]Candidate, error)

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “func (q *Queries)…

10

querier

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed…

11

func (q *Queries) ListCandidatesForIntel(ctx context.Context, limit int32) ([]Candidate, error)

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “func (q *Queries)…

12

querier

This relation defines Hybrid retrieval: pgvector cosine kNN fused with full-text rank via Reciprocal Rank Fusion in the source section “querier”. It specifies the displayed…

Sources & provenance

Search equations, builds, manuscript text, and recovered sources.