mirror of
https://github.com/openai/codex.git
synced 2026-11-29 07:35:16 +00:00
Add fielded BM25 to shadow skill selection (#33605)
## What changed - Add a bounded BM25 selector that ranks skills across name, short-description, and description fields, weighting names most heavily and rare terms more highly. - Run the selector alongside the weighted lexical method in the shadow-selection experiment, with deterministic tie-breaking and existing per-method metrics. - Add unit coverage for field weighting, rare-term ranking, unmatched queries, and input limits. - Remove the implicit-invocation integration test and its telemetry development dependency. GitOrigin-RevId: e5ac6a1f0d6a1f68b194467ef7da48adf4a88d7c
This commit is contained in:
1 parent
9ff47868eb
commit
a47c661ea9
7 files changed
+325
-394
No files matched your search
@@ -1,4 +1,6 @@
|
||||
mod fielded_bm25;
|
||||
mod weighted_lexical;
|
||||
pub(crate) use fielded_bm25::FieldedBm25SkillSelector;
|
||||
pub(crate) use weighted_lexical::WeightedLexicalSkillSelector;
|
||||
|
||||
/// Metadata searched by a cheap skill selector.
|
||||
|
||||
Reference in new issue
Block a user