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

Add not missing filter for experiments table #4308

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Jul 19, 2023

Related to #4269.

Could partly solve the third checkbox depending on the answer we get back from the user.

Remove all records where one column is not defined (only-changed?) @shcheklein to confirm if this is about experiments or columns.

The additional filter can be used to exclude experiments that are missing a value for a column.

Demo

Screen.Recording.2023-07-19.at.4.21.36.pm.mov

Note: In the demo project I queued up an experiment and metrics are no longer missing. To be discussed with @shcheklein.

@mattseddon mattseddon added the product PR that affects product label Jul 19, 2023
@mattseddon mattseddon self-assigned this Jul 19, 2023
@@ -0,0 +1,271 @@
import { FilterDefinition, filterExperiment, Operator } from '.'
Copy link
Member Author

Choose a reason for hiding this comment

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

[F] This file got purged in #3585. I brought it back/modified it to bring back some coverage.

@mattseddon mattseddon marked this pull request as ready for review July 19, 2023 08:43
@@ -21,6 +21,12 @@ export const OPERATORS = [
types: ['number', 'string'],
value: Operator.NOT_EQUAL
},
{
description: 'Not Missing',
Copy link
Contributor

Choose a reason for hiding this comment

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

Would an antonym of missing make more sense? Like "Defined" or "Contains"?

Copy link
Member Author

Choose a reason for hiding this comment

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

"Missing"/"Missing values" is a Data Science term that most users will be familiar with.

@shcheklein
Copy link
Member

No matter the answer is, I think it's a great option to have anyways. Let's go for it and show this to the user. Thanks @mattseddon !

@mattseddon mattseddon enabled auto-merge (squash) July 19, 2023 22:47
@codeclimate
Copy link

codeclimate bot commented Jul 19, 2023

Code Climate has analyzed commit 834ccf4 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 85.7% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.2%.

View more on Code Climate.

@mattseddon mattseddon merged commit 97a042d into main Jul 19, 2023
6 checks passed
@mattseddon mattseddon deleted the add-not-missing-filter branch July 19, 2023 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants