Changes

Jump to navigation Jump to search
22 bytes removed ,  10:23, 24 April 2019
→‎Checkbot: Update checkbot doc
Line 1: Line 1:  
[[Category:Verification]]
 
[[Category:Verification]]
==Checkbot==
+
== Checkbot ==
Checkbot is a little bot that will check Open Food Facts for obvious errors and report them on Slack, in the [https://openfoodfacts.slack.com/messages/bots/ #bots] channel.
+
Checkbot is a little bot that will check Open Food Facts for obvious errors and report them on Slack, in the [https://openfoodfacts.slack.com/messages/bots-alerts/ #bots-alerts] channel.
 +
 
 
=== Last Run Date ===
 
=== Last Run Date ===
 +
    
=== Code ===
 
=== Code ===
 
* Language: Perl
 
* Language: Perl
* [https://bitbucket.org/openfoodfacts/product-opener/src/3f2b4c2790d19ad559fb68376001d4dbc7cd34a5/cgi/checkbot.pl?at=master Code on bitbucket]
+
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/scripts/checkbot.pl Code on Github]
 +
 
 
=== Current checks ===
 
=== Current checks ===
 
* It checks if one of the nutrients has a value higher than 105g for 100g / 100ml.
 
* It checks if one of the nutrients has a value higher than 105g for 100g / 100ml.
* It checks if sugar+starch > carbohydrates etc.
+
* It checks if sugar+starch > carbohydrates.
* We'll be able to add rules like: sum of nutrients per 100g > 105g,
+
* We'll be able to add rules like:
 +
** sum of nutrients per 100g > 105g,
    
=== Ideas ===
 
=== Ideas ===

Navigation menu