Repository navigation
Deps: pin cafaeval-protea at the row-numbering fix - #1129
Merged
github-actions[bot] merged 1 commit intoNov 7, 2026
Merged
Conversation
cafaeval-protea#27 names the NK/LK per-protein rows by the matrix rows they came from. Its NK/LK branch passed `np.arange(p.shape[0])` as `row_index` for a prediction matrix it had already filtered to the proteins carrying truth, while `ids` numbered the unfiltered ground truth, so every row after the first dropped protein would have worn a neighbour's accession. It now passes `np.flatnonzero(proteins_has_gt)`, which is what the PK branch already did. That is why NK:MFO and LK:MFO have had no per-protein breakdown: the producer refused to write a mislabelled table, with `unmappable_row_numbering` on the record each time. With this pin the refusal stops firing on its own and the paired comparison reaches eight panels instead of six. Nothing already written moves. When no protein is dropped, `flatnonzero` of an all-true mask is `arange`, so every table that was written stays identical; only the two that were refused start being written. Exploration 3 is decided and its four arms were all evaluated on e937e0e1, so this changes none of its numbers.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1129 +/- ##
===========================================
+ Coverage 87.85% 88.19% +0.34%
===========================================
Files 306 390 +84
Lines 23414 30234 +6820
===========================================
+ Hits 20570 26665 +6095
- Misses 2844 3569 +725 🚀 New features to boost your workflow:
|
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.
Picks up cafaeval-protea#27,
merged at
203af0a28f0bb6f8cd0588c0d6d02ebf251eccce.What it fixes
The NK/LK branch of
compute_metricspassednp.arange(p.shape[0])asrow_indexfor a prediction matrix it had already filtered to the proteinscarrying truth, while
idsnumbered the unfiltered ground truth. So from thefirst dropped protein onward every row would have worn a neighbour's accession.
It now passes
np.flatnonzero(proteins_has_gt), which the PK branch alreadydid.
That is why two panels have had no per-protein breakdown since the grid
artefact existed, with the reason on the record every time:
NK covered 3,390 of 3,394 ground-truth proteins and LK 2,433 of 2,444, so the
filter did remove rows and the numbering did not survive it. With this pin the
producer stops refusing and a paired comparison reaches eight panels
instead of six.
PK:BPOstays refused: its weighted and unweighted branchesscore different populations, which one row set cannot hold, and that is
structural.
Nothing already written moves
When no protein is dropped,
flatnonzeroof an all-true mask isarange, soevery per-protein table that was written stays identical and only the two that
were refused start being written.
Exploration 3 is decided and all four of its arms were evaluated on
e937e0e1, so this changes none of its numbers. That was the reason it stayedin draft until the exploration closed.
Lock
poetry lockchanges the reference, the resolved reference and the contenthash.
poetry check --lockexits 0.