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 ==
+
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 ===
+
+
=== 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 ===
Line 19:
Line 26:
[http://world.openfoodfacts.org/contributor/infobot Infobot user profile]
[http://world.openfoodfacts.org/contributor/infobot Infobot user profile]
Infobot will add some information on requests on many products
Infobot will add some information on requests on many products