You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm porting your code to Delphi (yes) and as I was using the OpenFoodFact Nutriscore Test suite I discovered that Saturated-Fat value has to be rounded to closest integer.
Thank you for your input, very relevant!
I'm curious if we can find the rounding requirement in the source documents, then I'd be happy to correct that.
I'm porting your code to Delphi (yes) and as I was using the OpenFoodFact Nutriscore Test suite I discovered that Saturated-Fat value has to be rounded to closest integer.
See this OpenSourceFacts test suite comment :
https://github.com/openfoodfacts/openfoodfacts-server/blob/main/tests/unit/nutriscore.t#L59
nutriscore-ruby/lib/nutriscore/fr/negative_score.rb
Line 29 in dbffe04
The text was updated successfully, but these errors were encountered: