Repository navigation
Fuse recent and lexical skills in shadow selection - #38204
Merged
copyberry[bot] merged 1 commit intoAug 12, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed - Add the `lru_plus_lexical_v1` selector, combining the 50 most recent skills with weighted lexical matches through reciprocal rank fusion. - Include the combined selector in the shadow-selection experiment and propagate query and candidate truncation metadata from both inputs. - Generalize the existing reciprocal-rank fusion helper to accept a rank constant while preserving the existing lexical/character selector behavior. ## Testing - Cover lexical-only selection, merging recent and matching skills, promotion from agreement between both rankings, and weak overlaps. - Extend the skills extension test to verify invocation metrics for the new selector alongside `lru_v1`. GitOrigin-RevId: 1b7b82bc97ea919c719cd05a009351b701019306
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/1b7b82bc97ea919c719cd05a009351b701019306
branch
from
August 12, 2026 15:19
9bd74fd to
3d7f9b4
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/1b7b82bc97ea919c719cd05a009351b701019306
branch
August 12, 2026 15:20
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.
Fuse recent and lexical skills in shadow selection
What changed
lru_plus_lexical_v1selector, combining the 50 most recent skillswith weighted lexical matches through reciprocal rank fusion.
query and candidate truncation metadata from both inputs.
constant while preserving the existing lexical/character selector behavior.
Testing
from agreement between both rankings, and weak overlaps.
selector alongside
lru_v1.