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 the % in the personal match score #4530

Open
Tracked by #1284
monsieurtanuki opened this issue Aug 15, 2023 · 4 comments
Open
Tracked by #1284

Add the % in the personal match score #4530

monsieurtanuki opened this issue Aug 15, 2023 · 4 comments
Labels
🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding. personal search

Comments

@monsieurtanuki
Copy link
Contributor

monsieurtanuki commented Aug 15, 2023

What

  • Related to that, is it planned to add the % score on the mobile app, like we have on the website?

Originally posted by @stephanegigandet in openfoodfacts/openfoodfacts-dart#785 (comment)

Part of

@teolemon
Copy link
Member

teolemon commented Aug 15, 2023

From Google Maps, notice the explanation of the score, and the link to provide feedback:
image

@monsieurtanuki
Copy link
Contributor Author

@teolemon For each product attribute that is in the user preferences, we typically have four states: does not match, may not match, unknown match, and a score.
What we would need are:

  • collection of "does not match" attributes
  • collection of "may not match" attributes
  • collection of "unknown match" attributes
  • list of attributes, sorted by descending score contribution

With that we would be able to list the top 3 attributes that explain the score/percentage/match, wouldn't we?

@stephanegigandet
Copy link
Contributor

What we do on the website is that we just sort the attributes we display below the score by importance: the mandatory ones first, then very important, then important. Always in the same order.

It works well to explain the score in almost all cases (the case where it doesn't work is if you say you are allergic to 10 different allergens, then it would be useful to display the non-matching first).

For this kind of feature, I would really recommend that we do the same thing on both the app and the website. We should try to have a seamless experience.

If we decide that there's a better way to present the information, we can then work to implement it on both the app and website.

@monsieurtanuki
Copy link
Contributor Author

What we do on the website is that we just sort the attributes we display below the score by importance: the mandatory ones first, then very important, then important. Always in the same order.

Same behavior in the app.

It works well to explain the score in almost all cases (the case where it doesn't work is if you say you are allergic to 10 different allergens, then it would be useful to display the non-matching first).

Fair enough.

For this kind of feature, I would really recommend that we do the same thing on both the app and the website. We should try to have a seamless experience.

The size of the screens do have an impact, though.

If we decide that there's a better way to present the information, we can then work to implement it on both the app and website.

Maybe we have more flexibility in the app with the dev mode.

@teolemon teolemon added the ✨ enhancement New feature or request label Feb 22, 2024
@teolemon teolemon changed the title Add the % score Add the % in the personal match score Apr 16, 2024
@teolemon teolemon added the 🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding. label Apr 16, 2024
@teolemon teolemon removed the ✨ enhancement New feature or request label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding. personal search
Projects
Status: 💬 To discuss and validate
Development

No branches or pull requests

3 participants