Merge master into dev (#814 review fixes) - #820
Conversation
Brings #814, which restores review fixes dropped from #808 and #810. The #810 fix matters: without the `len(val) != 2` guard, a collection like [100, None, 125] was read as a malformed range and raised instead of doing a membership check. docs/tutorial/coords.qmd conflicts because dev rewrote the snap section. Kept dev's description of what snap does and its precision loss, and folded in master's warning that snap returns no indexer, so an unsorted coordinate's snapped values no longer label the same samples.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe query helper now treats only two-element collections as ranges. Other collections use membership matching, including ChangesQuery Matching and Snap Documentation
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #820 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 164 164
Lines 17879 17879
=========================================
Hits 17879 17879
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
✅ Documentation built: |
Description
Follow-up sync: brings #814 into
dev, which restored review fixes dropped from #808 and #810. Both of those came to dev in #815, so dev inherited the gaps.The #810 part is a real fix, not cosmetic. Without the
len(val) != 2guard, any collection containingNonewas treated as a malformed range query. On current dev:That is a legitimate membership query and now behaves as one again. Verified against a reproduction before and after.
docs/tutorial/coords.qmdwas the only conflict, because dev rewrote the snap section. Resolved by combining both: dev's description of what snap does and the precision it loses, plus master's warning that snap returns no indexer, so an unsorted coordinate's snapped values no longer label the samples they used to. BothCoordManager.snapandPatch.snap_coordsare referenced for the alignment case; all three link targets verified to exist on dev.Changelog
none
Checklist
I have (if applicable):
Summary by CodeRabbit
Bug Fixes
None, ensuring they perform membership matching rather than range filtering.Documentation
Tests
Nonevalues in membership filters.