-
Notifications
You must be signed in to change notification settings - Fork 55
Feature/no answer pipeline #183
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
8e880a6
79a4fef
8f2ef57
42afe3d
02475a5
28fdd21
90d5f8a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ age: | |
| - range_more_than_65 | ||
|
|
||
| years_of_experience: | ||
| - no_answer | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because every field will need a
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure we actually need to add it though, or maybe only at the GraphQL level… at least I don't think we use those keys in the pipeline? I'll double check.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Previously
Generic pipeline updated. Added "no_answer" key to the buckets section. Also, when no facets is selected, I tested and got results as you wrote before.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes, I absolutely agree. If 'no_answer' key is needed for every field, better to add it in generic.ts or at the GraphQL level (if keys.yml are not used in pipeline). I have checked - don't found straight use of keys in Mongo aggregation, but you better check. |
||
| - range_less_than_1 | ||
| - range_1_2 | ||
| - range_2_5 | ||
|
|
@@ -47,6 +48,7 @@ gender: | |
| - non_binary | ||
| - not_listed | ||
|
|
||
|
|
||
| race_ethnicity: | ||
| # - biracial | ||
| - black_african | ||
|
|
@@ -99,14 +101,14 @@ feature: | |
| - heard | ||
| - used | ||
|
|
||
| happiness: | ||
| happiness: | ||
| - 0 | ||
| - 1 | ||
| - 2 | ||
| - 3 | ||
| - 4 | ||
|
|
||
| opinions: | ||
| opinions: | ||
| - 0 | ||
| - 1 | ||
| - 2 | ||
|
|
@@ -125,12 +127,12 @@ graphql_experience: | |
| - range_3_5 | ||
| - range_6_10 | ||
|
|
||
| code_generation_type: | ||
| code_generation_type: | ||
| - code_first | ||
| - schema_first | ||
| - database_first | ||
|
|
||
| css_js_balance: | ||
| css_js_balance: | ||
| - 0 | ||
| - 1 | ||
| - 2 | ||
|
|
@@ -139,4 +141,4 @@ css_js_balance: | |
| - 5 | ||
| - 6 | ||
| - 7 | ||
| - 8 | ||
| - 8 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can safely remove this whole step then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed comments. Changed aggregation.