diff --git a/packages/smooth_app/assets/onboarding/sample_product_data.json b/packages/smooth_app/assets/onboarding/sample_product_data.json index 8da40ee73192..44e8b8da3313 100644 --- a/packages/smooth_app/assets/onboarding/sample_product_data.json +++ b/packages/smooth_app/assets/onboarding/sample_product_data.json @@ -276,15 +276,15 @@ "attributes" : [ { "description" : "", - "description_short" : "Very low environmental impact", - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg", + "description_short" : "Moderate environmental impact", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-c.svg", "id" : "ecoscore", - "match" : 100, + "match" : 53, "name" : "Eco-Score", "panel_id" : "ecoscore", "status" : "known", - "title" : "Eco-Score A" + "title" : "Eco-Score C" }, { "description" : "", @@ -332,12 +332,12 @@ ], "brands" : "Open Food Facts", "categories_tags_fr" : [ - "Aliments et boissons à base de végétaux", - "Aliments d'origine végétale", - "Aliments à base de fruits et de légumes", - "Plats préparés", - "Soupes", - "Soupes de légumes" + "Snacks", + "Snacks sucrés", + "Cacao et dérivés", + "Chocolats", + "Chocolats noirs", + "Chocolats noirs en tablette" ], "code" : "093270067481501", "ecoscore_data" : { @@ -588,94 +588,94 @@ "threatened_species" : {} }, "agribalyse" : { - "agribalyse_proxy_food_code" : "25903", - "co2_agriculture" : 0.10371296, - "co2_consumption" : 0.011022624, - "co2_distribution" : 0.01567597, - "co2_packaging" : 0.09985047, - "co2_processing" : 0.14982524, - "co2_total" : 0.510081444, - "co2_transportation" : 0.12999418, - "code" : "25903", - "dqr" : "2.42", - "ef_agriculture" : 0.023583571, - "ef_consumption" : 0.0040337776, - "ef_distribution" : 0.0044793367, - "ef_packaging" : 0.0099157882, - "ef_processing" : 0.029435401, - "ef_total" : 0.0817923135, - "ef_transportation" : 0.010344439, + "agribalyse_proxy_food_code" : "31005", + "co2_agriculture" : 15.887773, + "co2_consumption" : 0, + "co2_distribution" : 0.017263204, + "co2_packaging" : 0.10402936, + "co2_processing" : 0.45803597, + "co2_total" : 16.878582384, + "co2_transportation" : 0.41148085, + "code" : "31005", + "dqr" : "2.99", + "ef_agriculture" : 0.77882279, + "ef_consumption" : 0, + "ef_distribution" : 0.0046101581, + "ef_packaging" : 0.010330022, + "ef_processing" : 0.043605116, + "ef_total" : 0.8797669371, + "ef_transportation" : 0.042398851, "is_beverage" : 0, - "name_en" : "Soup, mixed vegetables, prepacked, to be reheated", - "name_fr" : "Soupe aux légumes variés, préemballée à réchauffer", - "score" : 98, + "name_en" : "Dark chocolate bar, less than 70% cocoa", + "name_fr" : "Chocolat noir à moins de 70% de cacao, à croquer, tablette", + "score" : 35, "version" : "3.1.1" }, - "grade" : "a", + "grade" : "c", "grades" : { - "ad" : "a", - "al" : "a", - "at" : "a", - "ax" : "a", - "ba" : "a", - "be" : "a", - "bg" : "a", - "ch" : "a", - "cy" : "a", - "cz" : "a", - "de" : "a", - "dk" : "a", - "dz" : "a", - "ee" : "a", - "eg" : "a", - "es" : "a", - "fi" : "a", - "fo" : "a", - "fr" : "a", - "gg" : "a", - "gi" : "a", - "gr" : "a", - "hr" : "a", - "hu" : "a", - "ie" : "a", - "il" : "a", - "im" : "a", - "is" : "a", - "it" : "a", - "je" : "a", - "lb" : "a", - "li" : "a", - "lt" : "a", - "lu" : "a", - "lv" : "a", - "ly" : "a", - "ma" : "a", - "mc" : "a", - "md" : "a", - "me" : "a", - "mk" : "a", - "mt" : "a", - "nl" : "a", - "no" : "a", - "pl" : "a", - "ps" : "a", - "pt" : "a", - "ro" : "a", - "rs" : "a", - "se" : "a", - "si" : "a", - "sj" : "a", - "sk" : "a", - "sm" : "a", - "sy" : "a", - "tn" : "a", - "tr" : "a", - "ua" : "a", - "uk" : "a", - "us" : "a", - "va" : "a", - "world" : "a", - "xk" : "a" + "ad" : "b", + "al" : "c", + "at" : "c", + "ax" : "b", + "ba" : "c", + "be" : "b", + "bg" : "c", + "ch" : "b", + "cy" : "c", + "cz" : "c", + "de" : "b", + "dk" : "c", + "dz" : "c", + "ee" : "b", + "eg" : "c", + "es" : "c", + "fi" : "b", + "fo" : "b", + "fr" : "b", + "gg" : "b", + "gi" : "c", + "gr" : "c", + "hr" : "c", + "hu" : "c", + "ie" : "c", + "il" : "c", + "im" : "b", + "is" : "b", + "it" : "c", + "je" : "b", + "lb" : "c", + "li" : "b", + "lt" : "b", + "lu" : "b", + "lv" : "b", + "ly" : "b", + "ma" : "b", + "mc" : "b", + "md" : "c", + "me" : "c", + "mk" : "c", + "mt" : "b", + "nl" : "b", + "no" : "c", + "pl" : "c", + "ps" : "c", + "pt" : "c", + "ro" : "c", + "rs" : "c", + "se" : "c", + "si" : "c", + "sj" : "b", + "sk" : "c", + "sm" : "c", + "sy" : "c", + "tn" : "c", + "tr" : "c", + "ua" : "c", + "uk" : "b", + "us" : "c", + "va" : "c", + "world" : "c", + "xk" : "c" }, "previous_data" : { "agribalyse" : { @@ -704,76 +704,76 @@ "grade" : "a", "score" : 122 }, - "score" : 115, + "score" : 52, "scores" : { - "ad" : 123, - "al" : 115, - "at" : 121, - "ax" : 123, - "ba" : 117, - "be" : 123, - "bg" : 118, - "ch" : 123, - "cy" : 121, - "cz" : 122, - "de" : 123, - "dk" : 121, - "dz" : 122, - "ee" : 123, - "eg" : 120, - "es" : 121, - "fi" : 123, - "fo" : 123, - "fr" : 123, - "gg" : 123, - "gi" : 116, - "gr" : 122, - "hr" : 120, - "hu" : 119, - "ie" : 122, - "il" : 120, - "im" : 123, - "is" : 123, - "it" : 122, - "je" : 123, - "lb" : 121, - "li" : 123, - "lt" : 123, - "lu" : 123, - "lv" : 123, - "ly" : 123, - "ma" : 123, - "mc" : 123, - "md" : 119, - "me" : 121, - "mk" : 119, - "mt" : 123, - "nl" : 123, - "no" : 118, - "pl" : 119, - "ps" : 121, - "pt" : 117, - "ro" : 120, - "rs" : 116, - "se" : 117, - "si" : 121, - "sj" : 123, - "sk" : 119, - "sm" : 121, - "sy" : 119, - "tn" : 116, - "tr" : 116, - "ua" : 121, - "uk" : 123, - "us" : 115, - "va" : 119, - "world" : 115, - "xk" : 119 + "ad" : 60, + "al" : 52, + "at" : 58, + "ax" : 60, + "ba" : 54, + "be" : 60, + "bg" : 55, + "ch" : 60, + "cy" : 58, + "cz" : 59, + "de" : 60, + "dk" : 58, + "dz" : 59, + "ee" : 60, + "eg" : 57, + "es" : 58, + "fi" : 60, + "fo" : 60, + "fr" : 60, + "gg" : 60, + "gi" : 53, + "gr" : 59, + "hr" : 57, + "hu" : 56, + "ie" : 59, + "il" : 57, + "im" : 60, + "is" : 60, + "it" : 59, + "je" : 60, + "lb" : 58, + "li" : 60, + "lt" : 60, + "lu" : 60, + "lv" : 60, + "ly" : 60, + "ma" : 60, + "mc" : 60, + "md" : 56, + "me" : 58, + "mk" : 56, + "mt" : 60, + "nl" : 60, + "no" : 55, + "pl" : 56, + "ps" : 58, + "pt" : 54, + "ro" : 57, + "rs" : 53, + "se" : 54, + "si" : 58, + "sj" : 60, + "sk" : 56, + "sm" : 58, + "sy" : 56, + "tn" : 53, + "tr" : 53, + "ua" : 58, + "uk" : 60, + "us" : 52, + "va" : 56, + "world" : 52, + "xk" : 56 }, "status" : "known" }, - "ecoscore_grade" : "a", - "ecoscore_score" : 115, + "ecoscore_grade" : "c", + "ecoscore_score" : 52, "environment_impact_level_tags" : [], "ingredients_analysis_tags" : [ "en:palm-oil-free", @@ -786,7 +786,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n

The carbon emission figure comes from ADEME's Agribalyse database, for the category: \n Soup, mixed vegetables, prepacked, to be reheated\n (Source: ADEME Agribalyse Database)\n

\n ", + "html" : "\n

The carbon emission figure comes from ADEME's Agribalyse database, for the category: \n Dark chocolate bar, less than 70% cocoa\n (Source: ADEME Agribalyse Database)\n

\n ", "type" : "summary" } }, @@ -813,8 +813,8 @@ "text" : "Agriculture" }, { - "percent" : 20.3326275087945, - "text" : "20.3 %" + "percent" : 94.1297831686432, + "text" : "94.1 %" } ] }, @@ -826,8 +826,8 @@ "text" : "Processing" }, { - "percent" : 29.3728073746592, - "text" : "29.4 %" + "percent" : 2.71371113746018, + "text" : "2.7 %" } ] }, @@ -839,8 +839,8 @@ "text" : "Packaging" }, { - "percent" : 19.5753974535878, - "text" : "19.6 %" + "percent" : 0.616339439138054, + "text" : "0.6 %" } ] }, @@ -852,8 +852,8 @@ "text" : "Transportation" }, { - "percent" : 25.484985099752, - "text" : "25.5 %" + "percent" : 2.43788749930837, + "text" : "2.4 %" } ] }, @@ -865,8 +865,8 @@ "text" : "Distribution" }, { - "percent" : 3.0732288312766, - "text" : "3.1 %" + "percent" : 0.102278755450248, + "text" : "0.1 %" } ] }, @@ -878,8 +878,8 @@ "text" : "Consumption" }, { - "percent" : 2.16095373192992, - "text" : "2.2 %" + "percent" : 0, + "text" : "0.0 %" } ] } @@ -889,14 +889,14 @@ } } ], - "evaluation" : "good", + "evaluation" : "bad", "expanded" : false, "level" : "info", "title_element" : { "icon_color_from_evaluation" : true, "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/car.svg", - "subtitle" : "51 g CO² per 100g of product", - "title" : "Equal to driving 0.3 km in a petrol car" + "subtitle" : "1688 g CO² per 100g of product", + "title" : "Equal to driving 8.7 km in a petrol car" }, "topics" : [ "environment" @@ -956,9 +956,9 @@ ], "level" : "info", "title_element" : { - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg", - "title" : "Eco-Score A - Very low environmental impact", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-c.svg", + "title" : "Eco-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -970,7 +970,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n

Category: \n Soup, mixed vegetables, prepacked, to be reheated\n

\n \n ", + "html" : "\n

Category: \n Dark chocolate bar, less than 70% cocoa\n

\n \n ", "type" : "summary" } }, @@ -997,8 +997,8 @@ "text" : "Agriculture" }, { - "percent" : 28.8334807891208, - "text" : "28.8 %" + "percent" : 88.5260353801491, + "text" : "88.5 %" } ] }, @@ -1010,8 +1010,8 @@ "text" : "Processing" }, { - "percent" : 35.987979481715, - "text" : "36.0 %" + "percent" : 4.95643950245922, + "text" : "5.0 %" } ] }, @@ -1023,8 +1023,8 @@ "text" : "Packaging" }, { - "percent" : 12.1231296385815, - "text" : "12.1 %" + "percent" : 1.17417711036643, + "text" : "1.2 %" } ] }, @@ -1036,8 +1036,8 @@ "text" : "Transportation" }, { - "percent" : 12.6472018669578, - "text" : "12.6 %" + "percent" : 4.81932762099022, + "text" : "4.8 %" } ] }, @@ -1049,8 +1049,8 @@ "text" : "Distribution" }, { - "percent" : 5.47647634395376, - "text" : "5.5 %" + "percent" : 0.524020386035032, + "text" : "0.5 %" } ] }, @@ -1062,8 +1062,8 @@ "text" : "Consumption" }, { - "percent" : 4.93173187967106, - "text" : "4.9 %" + "percent" : 0, + "text" : "0.0 %" } ] } @@ -1075,12 +1075,12 @@ ], "level" : "info", "title_element" : { - "grade" : "a", + "grade" : "d", "icon_color_from_evaluation" : true, "icon_size" : "small", "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/lca.svg", - "subtitle" : "Category: Soup, mixed vegetables, prepacked, to be reheated", - "title" : "Average impact of products of the same category: A (Score: 98/100)", + "subtitle" : "Category: Dark chocolate bar, less than 70% cocoa", + "title" : "Average impact of products of the same category: D (Score: 35/100)", "type" : "grade" }, "topics" : [ @@ -1268,17 +1268,17 @@ { "element_type" : "text", "text_element" : { - "html" : "\n Life cycle analysis score: 98
\n Sum of bonuses and maluses:\n \n +17\n

\n Final score: 115/100\n \n ", + "html" : "\n Life cycle analysis score: 35
\n Sum of bonuses and maluses:\n \n +17\n

\n Final score: 52/100\n \n ", "type" : "summary" } } ], "level" : "info", "title_element" : { - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-c.svg", "subtitle" : "Product: A good product for you - Open Food Facts - 200 g", - "title" : "Impact for this product: A (Score: 115/100)", + "title" : "Impact for this product: C (Score: 52/100)", "type" : "grade" }, "topics" : [ @@ -1653,7 +1653,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n\n \n \n

Elements that indicate the product is in the 3 - Processed foods group:

\n \n \n \n\n" + "html" : "\n\n \n \n

Elements that indicate the product is in the 3 - Processed foods group:

\n \n \n \n\n" } }, { @@ -2104,7 +2104,7 @@ { "column_group_id" : "comparisons", "shown_by_default" : true, - "text" : "Compared to: Vegetable soups", + "text" : "Compared to: Dark chocolate bar", "type" : "text" } ], @@ -2119,7 +2119,7 @@ }, { "evaluation" : "good", - "text" : "-54%" + "text" : "-94%" } ] }, @@ -2132,7 +2132,7 @@ }, { "evaluation" : "good", - "text" : "-68%" + "text" : "-99%" } ] }, @@ -2145,7 +2145,7 @@ }, { "evaluation" : "good", - "text" : "-42%" + "text" : "-99%" } ] }, @@ -2157,8 +2157,8 @@ "text" : "Salt" }, { - "evaluation" : "good", - "text" : "-40%" + "evaluation" : "bad", + "text" : "+506%" } ] }, @@ -2170,7 +2170,7 @@ "text" : "Carbohydrates" }, { - "text" : "-63%" + "text" : "-91%" } ] }, @@ -2182,8 +2182,8 @@ "text" : "Fiber" }, { - "evaluation" : "good", - "text" : "+96%" + "evaluation" : "bad", + "text" : "-65%" } ] }, @@ -2196,7 +2196,7 @@ }, { "evaluation" : "good", - "text" : "-83%" + "text" : "-98%" } ] }, @@ -2209,7 +2209,7 @@ }, { "evaluation" : "bad", - "text" : "-56%" + "text" : "-86%" } ] },