Repository navigation
fix(grid): fit offload seats to each individual mind - #5571
Merged
Merged
Conversation
Contributor
Author
|
PASS (source) at a94d128 (Cormac), conditional on CI. Read: the whole diff, Verified:
Not run locally (continuum-mind and grid build); CI is the receipt. |
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.
Initial offloading used the residents' median prompt requirement for every candidate. A large resident could exclude a usable peer for a small mind, while a small median could send a large mind to an undersized seat.
Read each candidate's own requirement once and select the least-served candidate that fits each offered slot. Preserve candidates that do not fit for later wider peers. Remove the population requirement from LocalShape; keep existing freshness, model rank, queue, cooldown and reservation gates.
Adds a regression fixture for large, small and unmeasured minds, both peer orders, and a narrow-only peer. Existing placement fixtures updated for the per-mind input.
git diff --checkpasses. Rust execution is pending CI; no live deployment or performance claim. This retains the existing per-mind measurement used by return/opportunity paths; migration to the common focus receipt's mandatory floor remains separate.Stacked on documentation PR #5570 solely to keep this diff to the four code files; no runtime dependency on the documentation change. Retarget to canary after #5570 merges.