-
Notifications
You must be signed in to change notification settings - Fork 0
Fix gate selection #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| '@platforma-open/milaboratories.sort-seq-analysis.model': patch | ||
| '@platforma-open/milaboratories.sort-seq-analysis.software': patch | ||
| '@platforma-open/milaboratories.sort-seq-analysis.ui': patch | ||
| '@platforma-open/milaboratories.sort-seq-analysis.block': patch | ||
| --- | ||
|
|
||
| Gate order is a selection, not a ranking of every value the gate column carries | ||
|
|
||
| The block no longer refuses to run until every distinct value of the gate column has been | ||
| given an order position. The gate column of a real sort-seq run routinely carries values | ||
| that are not rungs on the binding ladder — an unsorted input, a specificity arm, a | ||
| stability arm — and demanding a rank for each refused configurations the computation runs | ||
| perfectly well. | ||
|
|
||
| The ordered list is now the run's gate scope: the gates it holds, in the order it holds | ||
| them, are the ladder, and removing a value takes it and its samples out of the run. Ranks | ||
| stay contiguous from 1 over the gates that remain, so a removal leaves no gap that would | ||
| shift every score. | ||
|
|
||
| - **Model** — the coverage check is gone; what remains is that the list is non-empty and | ||
| names nothing the column does not carry. | ||
| - **Computation** — rows outside the declared ladder are dropped before the depths are | ||
| taken, so an unselected gate contributes to neither sum of the weighted mean. Its | ||
| samples are likewise outside the one-sample-per-group and sort-fraction refusals, and | ||
| its fraction is not part of a condition's sum. | ||
| - **A condition whose every sample sits in an unselected gate** is dropped from the run, | ||
| exactly as an excluded condition is, rather than scored to an empty file. |
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a direct CLI invocation supplies a non-empty
gateRanksmap whose keys match none of the current gate values,selected_gatesremoves every row and the pipeline exits successfully with an emptyconditionsmanifest and no score files instead of rejecting the stale selection.Prompt To Fix With AI