René's URL Explorer Experiment


Title: Boolean filters with axes labels which are a subset of array axes labels is silently broken · Issue #1085 · larray-project/larray · GitHub

Open Graph Title: Boolean filters with axes labels which are a subset of array axes labels is silently broken · Issue #1085 · larray-project/larray

X Title: Boolean filters with axes labels which are a subset of array axes labels is silently broken · Issue #1085 · larray-project/larray

Description: >>> arr = ndtest((2, 4)) >>> f = arr > 2 a\b b0 b1 b2 b3 a0 False False False True a1 True True True True >>> arr[f] a_b a0_b3 a1_b0 a1_b1 a1_b2 a1_b3 3 4 5 6 7 >>> f2 = f['b0,b2,b3'] >>> f2 a\b b0 b2 b3 a0 False False True a1 True True ...

Open Graph Description: >>> arr = ndtest((2, 4)) >>> f = arr > 2 a\b b0 b1 b2 b3 a0 False False False True a1 True True True True >>> arr[f] a_b a0_b3 a1_b0 a1_b1 a1_b2 a1_b3 3 4 5 6 7 >>> f2 = f['b0,b2,b3'] >>> f2 a\b b0...

X Description: >>> arr = ndtest((2, 4)) >>> f = arr > 2 a\b b0 b1 b2 b3 a0 False False False True a1 True True True True >>> arr[f] a_b a0_b3 a1_b0 a1_b1 a1_b2 a1_b3 3 4 5 6 7 >&g...

Opengraph URL: https://github.com/larray-project/larray/issues/1085

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Boolean filters with axes labels which are a subset of array axes labels is silently broken","articleBody":"```python\r\n>>> arr = ndtest((2, 4))\r\n>>> f = arr > 2\r\na\\b     b0     b1     b2    b3\r\n a0  False  False  False  True\r\n a1   True   True   True  True\r\n>>> arr[f]\r\na_b  a0_b3  a1_b0  a1_b1  a1_b2  a1_b3\r\n         3      4      5      6      7\r\n>>> f2 = f['b0,b2,b3']\r\n>>> f2\r\na\\b     b0     b2    b3\r\n a0  False  False  True\r\n a1   True   True  True\r\n>>> arr[f2]\r\na_b\\b  b3  b0  b2  b3\r\na0_b3   3   0   2   3\r\na1_b0   7   4   6   7\r\na1_b2   7   4   6   7\r\na1_b3   7   4   6   7\r\n```\r\n\r\nThis is complete junk. \r\n\r\nI see three options going forward: \r\n1. raise an error when common axes between filter.axes and array.axes are not equal\r\n1. behave as if the filter was False where not present (possibly check that filter.axes are subsets of array.axes). I think that numpy previously had the equivalent of this behavior but no longer support this.\r\n1. align filter.axes with array.axes, so that if filter.axes has more axes (unsure what happens in this case currently) or more labels on common axes, the result has more labels too.\r\n\r\nCurrently, I think it would be best to implement 1, until we implement align by default for all operations, in which case 3. would make more sense. I might revise my judgment on option 2 if it turns out absolutely necessary to solve #1084.\r\n\r\nFWIW, I don't think this is worth blocker priority even though this is a \"silent\" failure because the extra \"combined\" axis would be very quickly spotted by users.","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2023-10-11T11:40:27Z","url":"https://github.com/larray-project/larray/issues/1085"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:347c2b45-7d17-227b-40aa-9a41d741b4b8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC30E:3EE843:209DE98:2C71CA6:6B0025D0
html-safe-nonce7337d797b4549bd963e66efd4cf829f84b64ed28ffd14b21abc86ce47de34bd5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzBFOjNFRTg0MzoyMDlERTk4OjJDNzFDQTY6NkIwMDI1RDAiLCJ2aXNpdG9yX2lkIjoiNzY5MTI4ODQxMTY3NTU2NzU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacef17298cf8a473c24de77db2687c2e28ac88dcd2a4643cc484f5989bb75f3ae4
hovercard-subject-tagissue:1937563475
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/larray-project/larray/1085/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b6acb76b65bcc112bc89a9a0f8477441db5ade3e1c0632197d2b10641b677219/larray-project/larray/issues/1085
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b6acb76b65bcc112bc89a9a0f8477441db5ade3e1c0632197d2b10641b677219/larray-project/larray/issues/1085
og:image:alt>>> arr = ndtest((2, 4)) >>> f = arr > 2 a\b b0 b1 b2 b3 a0 False False False True a1 True True True True >>> arr[f] a_b a0_b3 a1_b0 a1_b1 a1_b2 a1_b3 3 4 5 6 7 >>> f2 = f['b0,b2,b3'] >>> f2 a\b b0...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegdementen
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
go-importgithub.com/larray-project/larray git https://github.com/larray-project/larray.git
octolytics-dimension-user_id26460981
octolytics-dimension-user_loginlarray-project
octolytics-dimension-repository_id16981067
octolytics-dimension-repository_nwolarray-project/larray
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16981067
octolytics-dimension-repository_network_root_nwolarray-project/larray
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/larray-project/larray/issues/1085#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flarray-project%2Flarray%2Fissues%2F1085
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flarray-project%2Flarray%2Fissues%2F1085
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=larray-project%2Flarray
Reloadhttps://github.com/larray-project/larray/issues/1085
Reloadhttps://github.com/larray-project/larray/issues/1085
Reloadhttps://github.com/larray-project/larray/issues/1085
larray-projecthttps://github.com/larray-project
larrayhttps://github.com/larray-project/larray
Codehttps://github.com/larray-project/larray
Issues279 (279)https://github.com/larray-project/larray/issues
Pull requests6 (6)https://github.com/larray-project/larray/pulls
Actionshttps://github.com/larray-project/larray/actions
Security and qualityhttps://github.com/larray-project/larray/security
Insightshttps://github.com/larray-project/larray/insights
https://github.com/larray-project/larray
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/1085
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/1085
Boolean filters with axes labels which are a subset of array axes labels is silently brokenhttps://github.com/larray-project/larray/issues/1085#top
https://github.com/gdementen
bughttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22bug%22
priority: very highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20very%20high%22
0.34.3https://github.com/larray-project/larray/milestone/32
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Oct 11, 2023https://github.com/larray-project/larray/issues/1085#issue-1937563475
#1084https://github.com/larray-project/larray/issues/1084
gdementenhttps://github.com/gdementen
bughttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22bug%22
priority: highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
on Oct 11, 2023https://github.com/larray-project/larray/issues/1085#event-10617448183
gdementenhttps://github.com/gdementen
0.35https://github.com/larray-project/larray/milestone/27
on Oct 25, 2023https://github.com/larray-project/larray/issues/1085#event-10763537958
gdementenhttps://github.com/gdementen
priority: very highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20very%20high%22
priority: highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
on Jun 19, 2024https://github.com/larray-project/larray/issues/1085#event-13213355264
gdementenhttps://github.com/gdementen
0.35https://github.com/larray-project/larray/milestone/27
0.34.3https://github.com/larray-project/larray/milestone/32
on Jun 19, 2024https://github.com/larray-project/larray/issues/1085#event-13213924675
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Jul 2, 2024https://github.com/larray-project/larray/issues/1085#event-13365998339
gdementenhttps://github.com/gdementen
on Jul 2, 2024https://github.com/larray-project/larray/issues/1085#event-13366287091
gdementenhttps://github.com/gdementen
on Jul 5, 2024https://github.com/larray-project/larray/issues/1085#event-13407369893
FIX: boolean subset with incompatible axes raises an error (closes la…https://github.com/gdementen/larray/commit/3a9da5db29e6da4bcecf3f05438b185f5aaca36e
la…https://github.com/larray-project/larray/issues/1085
https://docs.github.com/articles/closing-issues-via-commit-messages
3a9da5dhttps://github.com/gdementen/larray/commit/3a9da5db29e6da4bcecf3f05438b185f5aaca36e
gdementenhttps://github.com/gdementen
completedhttps://github.com/larray-project/larray/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
4c0bab3https://github.com/larray-project/larray/commit/4c0bab360b680cfd7278c1ab2f2d559440fc79ab
on Jul 16, 2024https://github.com/larray-project/larray/issues/1085#event-13521009683
gdementenhttps://github.com/gdementen
on Jul 18, 2024https://github.com/larray-project/larray/issues/1085#event-13554269969
FIX: boolean subset with incompatible axes raises an error (closes la…https://github.com/gdementen/larray/commit/4c0bab360b680cfd7278c1ab2f2d559440fc79ab
la…https://github.com/larray-project/larray/issues/1085
https://docs.github.com/articles/closing-issues-via-commit-messages
4c0bab3https://github.com/gdementen/larray/commit/4c0bab360b680cfd7278c1ab2f2d559440fc79ab
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Sep 19, 2024https://github.com/larray-project/larray/issues/1085#issuecomment-2361213770
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Jul 1, 2025https://github.com/larray-project/larray/issues/1085#issuecomment-3024218073
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Dec 11, 2025https://github.com/larray-project/larray/issues/1085#event-21498008979
Sign up for freehttps://github.com/signup?return_to=https://github.com/larray-project/larray/issues/1085
Sign in to commenthttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/1085
gdementenhttps://github.com/gdementen
bughttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22bug%22
priority: very highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20very%20high%22
0.34.3https://github.com/larray-project/larray/milestone/32
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.