Skip to content
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

feat(experiments): add experiment run filter to compare experiments page #5738

Open
wants to merge 58 commits into
base: main
Choose a base branch
from

Conversation

axiomofjoy
Copy link
Contributor

@axiomofjoy axiomofjoy commented Dec 14, 2024

Adds filtering via query DSL to compare experiments page.

Screenshot 2024-12-17 at 4 45 38 PM

resolves #5681

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@axiomofjoy axiomofjoy force-pushed the xander/experiment-run-filter branch from b54ce9b to f921977 Compare December 16, 2024 22:38
@axiomofjoy axiomofjoy marked this pull request as ready for review December 18, 2024 00:44
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Dec 18, 2024
@axiomofjoy axiomofjoy changed the title feat(experiments): experiment run filter query dsl feat(experiments): add experiment run filter to compare experiments page Dec 18, 2024
Comment on lines 650 to 653
elif isinstance(ast_operator, ast.In):
return lambda left, right: operators.contains_op(right, left)
elif isinstance(ast_operator, ast.NotIn):
return lambda left, right: operators.not_contains_op(right, left)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, we should use TextContains, otherwise it turns into LIKE and special characters like % would need escaping.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I addressed with escaping since its smaller change to the current implementation. 10c5fd1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
Status: 📘 Todo
Development

Successfully merging this pull request may close these issues.

[experiments] filter on experiment runs
2 participants