wandb icon indicating copy to clipboard operation
wandb copied to clipboard

[Feature] OR logic for Filters

Open richardrl opened this issue 3 years ago • 12 comments

Is your feature request related to a problem? Please describe. I find myself needing an OR operation between filters all the time. It's very hard to select runs otherwise.

Describe the solution you'd like In the filter screen, if I click checkmarks next to two filters, it does an AND operation between the filters. But for example, I want to find all runs that are "status=running" or "name=dog". This is excruciating to do right now in the current interface.

Describe alternatives you've considered A simple line of logic to allow OR logic between filters.

Additional context image

Add a UI element that enables OR operations here.

richardrl avatar Jun 23 '21 07:06 richardrl

Hey @richardrl , thank you for the feature request! We'll bump up the priority for this feature.

tyomhak avatar Jun 23 '21 21:06 tyomhak

@tyomhak Hi, just wondering if there's any update here, or if there's some other way to accomplish what I want?

richardrl avatar Jul 20 '21 22:07 richardrl

@richardrl if you create a report with multiple run sets in a section, those run sets will operate as "OR". Here's an example from our docs. As you can see, each run set is filtering to a group of runs, which are then displayed above together on the charts.

image

cvphelps avatar Jul 22 '21 20:07 cvphelps

I'd like to note that we do have this ticket in the backlog, and would like to improve the filter UI to directly support that.

cvphelps avatar Jul 22 '21 20:07 cvphelps

@richardrl if you create a report with multiple run sets in a section, those run sets will operate as "OR". Here's an example from our docs. As you can see, each run set is filtering to a group of runs, which are then displayed above together on the charts.

image

Hi, the problem is I (and I imagine many others) need to do this dozens of time per day, manipulating the report to do it is too time consuming.

richardrl avatar Aug 14 '21 10:08 richardrl

I'd like to note that we do have this ticket in the backlog, and would like to improve the filter UI to directly support that.

Is there any update here? Still hurting for this feature. Very hard to compare new runs with key old runs unless I do a bunch of unnecessary tagging. I should be able to see how the "currently running" runs compare with a few select old runs, without generating a bunch of unnecesssary tags.

richardrl avatar Aug 23 '21 07:08 richardrl

This issue is stale because it has been open 60 days with no activity.

github-actions[bot] avatar Oct 23 '21 00:10 github-actions[bot]

Hi @richardrl , not yet. I've escalated your request to our eng team, though. Thanks for your patience.

anmolmann avatar Oct 27 '21 00:10 anmolmann

This issue is stale because it has been open 60 days with no activity.

github-actions[bot] avatar Dec 27 '21 00:12 github-actions[bot]

@anmolmann Any update? Myself and many other researchers I know are hurting for this future.

richardrl avatar Jan 27 '22 07:01 richardrl

Would like to echo how useful this would be! I have some boolean flag arguments and as of right now I have no way of filtering for multiple flags at the same time.

paulhager avatar Sep 14 '22 08:09 paulhager

WandB Internal User commented: paulhager commented: Would like to echo how useful this would be!

exalate-issue-sync[bot] avatar Sep 15 '22 16:09 exalate-issue-sync[bot]

Would also really love such a feature, eg. for setting baselines that have entirely different hyperparameters. One idea would be to have multiple filter profiles, and only filter out the runs that do not match any of the filter profiles.

alinafdima avatar Dec 12 '22 13:12 alinafdima

Thanks for the context @alinafdima! I've made an internal note for this!

anmolmann avatar Dec 12 '22 15:12 anmolmann

Not sure if this is a new feature, but using the 'in' and 'not in' operators seems to achieve this purpose now.

najwalb avatar Jul 25 '23 12:07 najwalb

Thanks for the update, @najwalb! We worked on lots of improvements and features in the past year, hence, the reason the operators IN and NOT IN help you achieve the purpose. Happy to help in case you have further queries.

anmolmann avatar Jul 25 '23 13:07 anmolmann