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

feat: script to compute ingredients distributions #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stephanegigandet
Copy link
Contributor

a script to read products from the JSONL exports and compute some stats on ingredients.

sample output:

en:sea-salt {'count': 575, 'min': 0.0, 'max': 100.0, 'mean': 4.9432472547973285, 'stddev': 13.39285650370593}
en:yeast {'count': 586, 'min': 0.0, 'max': 100.0, 'mean': 2.6097431979562016, 'stddev': 6.053055675592899}
en:e110 {'count': 590, 'min': 0.0, 'max': 18.75, 'mean': 0.5072895627914018, 'stddev': 1.7187237839431908}
en:modified-starch {'count': 598, 'min': 0.0, 'max': 70.3, 'mean': 3.517524612411999, 'stddev': 6.083758668406214}
en:raising-agent {'count': 605, 'min': 0.0, 'max': 25.0, 'mean': 0.9015126759436042, 'stddev': 2.244794850335427}
en:lactic-ferments {'count': 609, 'min': 0.0, 'max': 23.75, 'mean': 6.586342299203504, 'stddev': 6.915535960981633}
en:cocoa-butter {'count': 621, 'min': 0.0, 'max': 26.25, 'mean': 8.769743375437656, 'stddev': 7.342648423979297}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant