Repository navigation
[temp CI] #1388 rust tournament - #8
Open
kevin-gatimu wants to merge 2 commits into
Open
kevin-gatimu wants to merge 2 commits into
kevin-gatimu wants to merge 2 commits into
Conversation
LayaShortlist::predict_tournament narrows each large choice in rounds of
contiguous groups of group_size labels, one predict call per round with
the group winners kept in order, then answers the full request once with
each choice cut to its finalists, as laya/shortlist.py predict_tournament
does: same group slicing, round ids, errors and option_order warning; the
result is the final call's with tournament metadata {labels, n, rounds}.
predict_tournament_with takes a predict closure so per-call options reach every
round, as Python's **predict_kwargs.
CachedEmbed ports cached_embed_fn: an LRU of float32 rows keyed
on the exact text, misses embedded in one de-duplicated call, non-finite
values cached as 0.0, the dimension guard, cache_info and cache_clear.
Goldens, a tournament probe and a cache probe come from
tools/regen_golden.py and Python's own functions; the case lists are
shared verbatim with the .NET SDK.
kevin-gatimu
force-pushed
the
chain/rust-4-tournament
branch
from
October 29, 2026 23:53
611c38f to
47f2128
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Temporary fork PR to run CI on the rebased NandhaKishorM#1388. Not for upstream; will be closed.