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

Improve the statistics on the product page (tracker) #10855

Open
6 tasks
aleene opened this issue Oct 2, 2024 · 0 comments
Open
6 tasks

Improve the statistics on the product page (tracker) #10855

aleene opened this issue Oct 2, 2024 · 0 comments
Labels
averages by categories Generating & Leveraging average nutrition values by category

Comments

@aleene
Copy link
Contributor

aleene commented Oct 2, 2024

Description

The statistics module now presents some standard information (mean, deviation, min, max, 10%, median). This could be extended to include parameters to detect/identify outliers. This can be used to identify products in the distribution with strange values.
Estimates for a beta distribution, which will provide better means and deviations as well for the nutrients. Nutrients lie on a bounded interval, which means that a normal distribution is not applicable.
It should be possible to retrieve the statistics data through an API.

Acceptance criteria

For a demo category we could define the acceptable values that can be checked;

What would a demo look like

The statistics information on a facet page could include the new information;

Notes

  • Do not use upper limits in the statistics calculation;
  • Suppress the 10% quantiles and replace them with 25% quartiles;

Tasks

  • Define calculations for the required statistics
  • Setup the calculations
  • Expose the values on web
  • Expose the values on API
  • Use boundaries to raise product flags
  • Add flags to data quality monitoring
@teolemon teolemon added averages by categories Generating & Leveraging average nutrition values by category 📊 Charts and removed 📊 Charts labels Oct 11, 2024
@teolemon teolemon changed the title Statistics Improve the statistics on the product page (tracker) Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
averages by categories Generating & Leveraging average nutrition values by category
Projects
Status: To discuss and validate
Development

No branches or pull requests

2 participants