-
-
Notifications
You must be signed in to change notification settings - Fork 403
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: add quality facet ingredient percent over hundred #8094
feat: add quality facet ingredient percent over hundred #8094
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8094 +/- ##
==========================================
+ Coverage 45.20% 45.23% +0.02%
==========================================
Files 102 102
Lines 20272 20283 +11
Branches 4639 4641 +2
==========================================
+ Hits 9164 9175 +11
Misses 10011 10011
Partials 1097 1097
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Looks good, thank you. I'm not sure if it should be a warning or an error, I'm curious to see the affected products.
You want it to be a warning instead of an error? I will change it later during the week. |
…h-specified-percent-greater-than-200
Kudos, SonarCloud Quality Gate passed! |
Looks good to me, thanks a lot Benoît. I feel that this is clearly an error and not a warning but we can wait and see the first products. |
Resolve #2168
there is ingredients>id
if percentage is given: "ingredients>percent"
if it is not given: "ingredients>" (the key "percent" is missing)
option 1 is preferred because it is the main language that is used to analyze ingredients + option 2 would have to re-extract percentage from entire list of ingredients, which is not without risk (maybe something can be above 100% in the text but not related to ingredients)
name?
en:ingredients- + description (similar to existing quality facets)
en:ingredients-extracted-ingredient-from-picture-with-more-than-100-percent