-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Listing problematic attributes for obscure matches #785
Comments
Well, if we could have something pedagogical about the computation as well. I'm unsure whether we'll be at ease showing it to users at first, but it would be interesting to have in Dev mode. |
@teolemon Understood: I will extend that principle to "may not match" and "does not match". |
@teolemon @stephanegigandet Btw I think there's a flaw in the score computation, as we loop on the product attributes but not on the preference importances. That means that a mandatory preference is ignored if the product doesn't have the related attribute at all. It's OK as long as a product has
|
@monsieurtanuki The server always compute all attributes so we should be fine. |
I'm not sure if creating a separate list with explanations is the right approach: that kinds of duplicates the information we have on the attribute cards that are displayed on top of the product page. e.g. on the website we have something like that on top of the product page: Related to that, is it planned to add the % score on the mobile app, like we have on the website? Could we also adopt the same translations on the website + app for the strings like "Does not match" etc. e.g. in French on the app we have "Pas de compatibilité" while on the website we have "Ne correspond pas" |
@stephanegigandet You're right, there's some kind of duplication here, and it may not be necessary. Basically there are 3 reasons why the product match is unknown:
It's easy to detect which attributes have an unknown match, and which are mandatory. What can be done is just providing extra data in the "unknown" cases, with 1 |
Let's try to code directly in Smoothie first, and then move some code here if relevant. |
Why - Problem description
cf. @teolemon's openfoodfacts/smooth-app#1118
When we try to match a product with the user preferences, sometimes we get an "unknown match".
We just know it's unknown, and we don't list what is missing for a correct yes/no match.
What - Proposed solution
Instead of just saying the match is unknown, we should list which attributes are missing.
The text was updated successfully, but these errors were encountered: