Add fielded BM25 to shadow skill selection - #33605
Merged
copyberry[bot] merged 1 commit intoJul 16, 2026
Merged
Conversation
## 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
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/e5ac6a1f0d6a1f68b194467ef7da48adf4a88d7c
branch
from
July 16, 2026 13:58
9a14e5c to
a47c661
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/e5ac6a1f0d6a1f68b194467ef7da48adf4a88d7c
branch
July 16, 2026 14:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add fielded BM25 to shadow skill selection
What changed
and description fields, weighting names most heavily and rare terms more highly.
experiment, with deterministic tie-breaking and existing per-method metrics.
and input limits.
dependency.