Skip to main content

Module eval

Module eval 

Source

Modules§

bootstrap
caching_store
metrics

Structs§

AggregateReport
ArmMetrics
CorpusEntry
EmbeddedQuery
EvalQuery
FloorPoint
FloorSweepReport
GatePoint
GateSweepReport
HybridContext
Index-backed pieces the hybrid engines need beside the (possibly caching) Store: candidates come from the real indexes over the snapshot SqliteStore, ranking runs against the caching wrapper.
QueryRecord
ScopedPair
One gold query scored for the exhausted-scope floor: the cosine of its gold memory, which a recall scoped to the gold’s own project must admit, and the best cosine in an unrelated project, which a recall scoped there should answer with nothing.

Constants§

FLOOR_GOLD_TARGET
A named scope is the caller asserting where the answer is, so the floor may cost at most one gold answer in a hundred.

Functions§

aggregate
embed_all_queries
exhausted_floor_sweep
extract_corpus
gate_sweep
load_eval_set
run_arm
run_arm_parallel
scoped_pairs
Scores every gold query whose gold memory is live in store against its own vector and against the best match in a foreign project: one of projects other than the gold’s, picked by the query’s position so the pairing is deterministic and spread over every project.