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

fix: dq_nutrition_rm_salt_under_01g #9464

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

benbenben2
Copy link
Collaborator

What

remove quality warning for salt under 0.1g

remaing quality warnings: salt under 0.01g and 0.001g

note that the warnings aim to detect if values could have been given in mg instead of g.

Related issue(s) and discussion

@benbenben2 benbenben2 added 🧽 Data quality https://wiki.openfoodfacts.org/Quality 🧽 Data quality - Measure - Quality facets One of the facets available in Open Food Facts is /quality & allows us to spot products w/ bad data 🧽 Data quality - Nutrition labels Dec 1, 2023
@benbenben2 benbenben2 self-assigned this Dec 1, 2023
@benbenben2 benbenben2 requested a review from a team as a code owner December 1, 2023 23:11
@github-actions github-actions bot added 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies 🧪 tests labels Dec 1, 2023
@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (be477d2) 49.00% compared to head (79be7bb) 49.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9464      +/-   ##
==========================================
+ Coverage   49.00%   49.02%   +0.01%     
==========================================
  Files          66       66              
  Lines       20421    20420       -1     
  Branches     4904     4904              
==========================================
+ Hits        10008    10010       +2     
+ Misses       9144     9142       -2     
+ Partials     1269     1268       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Dec 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@stephanegigandet stephanegigandet merged commit 5ed2c36 into main Dec 5, 2023
13 checks passed
@stephanegigandet stephanegigandet deleted the dq_nutrition_rm_salt_under_01g branch December 5, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧽 Data quality - Measure - Quality facets One of the facets available in Open Food Facts is /quality & allows us to spot products w/ bad data 🧽 Data quality - Nutrition 🧽 Data quality https://wiki.openfoodfacts.org/Quality 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies 🧪 tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nutrition value under 0.1 g salt warning is counterproductive for the majority of the cases
3 participants