Skip to content

Commit

Permalink
Update assets
Browse files Browse the repository at this point in the history
  • Loading branch information
M123-dev committed Jul 18, 2024
1 parent 8264ee0 commit 34033ca
Showing 1 changed file with 72 additions and 66 deletions.
138 changes: 72 additions & 66 deletions packages/smooth_app/assets/onboarding/sample_product_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,15 @@
"name" : "Labels"
}
],
"brands" : "Open Food Facts",
"brands" : "zoahary Baobab",
"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"
"Légumes et dérivés",
"Légumes",
"Légumes-feuilles",
"Choux-fleurs"
],
"code" : "093270067481501",
"ecoscore_data" : {
Expand Down Expand Up @@ -588,26 +589,26 @@
"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_food_code" : "20016",
"co2_agriculture" : 0.35608494,
"co2_consumption" : 0.080351049,
"co2_distribution" : 0.025513693,
"co2_packaging" : 0,
"co2_processing" : 0,
"co2_total" : 0.735512212,
"co2_transportation" : 0.27356253,
"code" : "20016",
"dqr" : "2.09",
"ef_agriculture" : 0.050129254,
"ef_consumption" : 0.0031873654,
"ef_distribution" : 0.0063324863,
"ef_packaging" : 0,
"ef_processing" : 0,
"ef_total" : 0.0809900627,
"ef_transportation" : 0.021340957,
"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",
"name_en" : "Cauliflower, raw",
"name_fr" : "Chou-fleur, cru",
"score" : 98,
"version" : "3.1.1"
},
Expand Down Expand Up @@ -786,7 +787,7 @@
{
"element_type" : "text",
"text_element" : {
"html" : "\n <p>The carbon emission figure comes from ADEME's Agribalyse database, for the category: \n <a href=\"https://agribalyse.ademe.fr/app/aliments/25903\">Soup, mixed vegetables, prepacked, to be reheated</a>\n (Source: ADEME Agribalyse Database)\n </p>\n ",
"html" : "\n <p>The carbon emission figure comes from ADEME's Agribalyse database, for the category: \n <a href=\"https://agribalyse.ademe.fr/app/aliments/20016\">Cauliflower, raw</a>\n (Source: ADEME Agribalyse Database)\n </p>\n ",
"type" : "summary"
}
},
Expand All @@ -813,8 +814,8 @@
"text" : "Agriculture"
},
{
"percent" : 20.3326275087945,
"text" : "20.3 %"
"percent" : 48.41319208443,
"text" : "48.4 %"
}
]
},
Expand All @@ -826,8 +827,8 @@
"text" : "Processing"
},
{
"percent" : 29.3728073746592,
"text" : "29.4 %"
"percent" : 0,
"text" : "0.0 %"
}
]
},
Expand All @@ -839,8 +840,8 @@
"text" : "Packaging"
},
{
"percent" : 19.5753974535878,
"text" : "19.6 %"
"percent" : 0,
"text" : "0.0 %"
}
]
},
Expand All @@ -852,8 +853,8 @@
"text" : "Transportation"
},
{
"percent" : 25.484985099752,
"text" : "25.5 %"
"percent" : 37.1934721866997,
"text" : "37.2 %"
}
]
},
Expand All @@ -865,8 +866,8 @@
"text" : "Distribution"
},
{
"percent" : 3.0732288312766,
"text" : "3.1 %"
"percent" : 3.46883336316379,
"text" : "3.5 %"
}
]
},
Expand All @@ -878,8 +879,8 @@
"text" : "Consumption"
},
{
"percent" : 2.16095373192992,
"text" : "2.2 %"
"percent" : 10.9245023657065,
"text" : "10.9 %"
}
]
}
Expand All @@ -895,8 +896,8 @@
"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" : "74 g CO² per 100g of product",
"title" : "Equal to driving 0.4 km in a petrol car"
},
"topics" : [
"environment"
Expand Down Expand Up @@ -970,7 +971,7 @@
{
"element_type" : "text",
"text_element" : {
"html" : "\n <p>Category: \n <a href=\"https://agribalyse.ademe.fr/app/aliments/25903\">Soup, mixed vegetables, prepacked, to be reheated</a>\n </p>\n <ul>\n <li>\n PEF environmental score: 0.08\n (the lower the score, the lower the impact)\n </li>\n <li>\n including impact on climate change: 0.51\n kg CO2 eq/kg of product\n </li>\n </ul>\n ",
"html" : "\n <p>Category: \n <a href=\"https://agribalyse.ademe.fr/app/aliments/20016\">Cauliflower, raw</a>\n </p>\n <ul>\n <li>\n PEF environmental score: 0.08\n (the lower the score, the lower the impact)\n </li>\n <li>\n including impact on climate change: 0.74\n kg CO2 eq/kg of product\n </li>\n </ul>\n ",
"type" : "summary"
}
},
Expand All @@ -997,8 +998,8 @@
"text" : "Agriculture"
},
{
"percent" : 28.8334807891208,
"text" : "28.8 %"
"percent" : 61.8955614168206,
"text" : "61.9 %"
}
]
},
Expand All @@ -1010,8 +1011,8 @@
"text" : "Processing"
},
{
"percent" : 35.987979481715,
"text" : "36.0 %"
"percent" : 0,
"text" : "0.0 %"
}
]
},
Expand All @@ -1023,8 +1024,8 @@
"text" : "Packaging"
},
{
"percent" : 12.1231296385815,
"text" : "12.1 %"
"percent" : 0,
"text" : "0.0 %"
}
]
},
Expand All @@ -1036,8 +1037,8 @@
"text" : "Transportation"
},
{
"percent" : 12.6472018669578,
"text" : "12.6 %"
"percent" : 26.3500931948285,
"text" : "26.4 %"
}
]
},
Expand All @@ -1049,8 +1050,8 @@
"text" : "Distribution"
},
{
"percent" : 5.47647634395376,
"text" : "5.5 %"
"percent" : 7.81884355795171,
"text" : "7.8 %"
}
]
},
Expand All @@ -1062,8 +1063,8 @@
"text" : "Consumption"
},
{
"percent" : 4.93173187967106,
"text" : "4.9 %"
"percent" : 3.93550183039925,
"text" : "3.9 %"
}
]
}
Expand All @@ -1079,7 +1080,7 @@
"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",
"subtitle" : "Category: Cauliflower, raw",
"title" : "Average impact of products of the same category: A (Score: 98/100)",
"type" : "grade"
},
Expand Down Expand Up @@ -1277,7 +1278,7 @@
"title_element" : {
"grade" : "a",
"icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg",
"subtitle" : "Product: A good product for you - Open Food Facts - 200 g",
"subtitle" : "Product: A good product for you - zoahary Baobab - 200 g",
"title" : "Impact for this product: A (Score: 115/100)",
"type" : "grade"
},
Expand Down Expand Up @@ -1653,7 +1654,7 @@
{
"element_type" : "text",
"text_element" : {
"html" : "\n\n \n \n <p>Elements that indicate the product is in the 3 - Processed foods group:</p>\n <ul>\n \n <li>Category: Meals</li>\n \n <li>Ingredient: Salt</li>\n \n </ul>\n \n \n\n"
"html" : "\n\n \n \n <p>Elements that indicate the product is in the 3 - Processed foods group:</p>\n <ul>\n \n <li>Ingredient: Salt</li>\n \n </ul>\n \n \n\n"
}
},
{
Expand Down Expand Up @@ -2104,7 +2105,7 @@
{
"column_group_id" : "comparisons",
"shown_by_default" : true,
"text" : "Compared to: Vegetable soups",
"text" : "Compared to: Cauliflowers",
"type" : "text"
}
],
Expand All @@ -2119,7 +2120,7 @@
},
{
"evaluation" : "good",
"text" : "-54%"
"text" : "-10%"
}
]
},
Expand All @@ -2131,8 +2132,8 @@
"text" : "Fat"
},
{
"evaluation" : "good",
"text" : "-68%"
"evaluation" : "bad",
"text" : "+34%"
}
]
},
Expand All @@ -2144,8 +2145,8 @@
"text" : "Saturated fat"
},
{
"evaluation" : "good",
"text" : "-42%"
"evaluation" : "bad",
"text" : "+29%"
}
]
},
Expand All @@ -2157,8 +2158,8 @@
"text" : "Salt"
},
{
"evaluation" : "good",
"text" : "-40%"
"evaluation" : "bad",
"text" : "+72%"
}
]
},
Expand All @@ -2170,7 +2171,7 @@
"text" : "Carbohydrates"
},
{
"text" : "-63%"
"text" : "-24%"
}
]
},
Expand All @@ -2183,7 +2184,7 @@
},
{
"evaluation" : "good",
"text" : "+96%"
"text" : "+44%"
}
]
},
Expand All @@ -2196,7 +2197,7 @@
},
{
"evaluation" : "good",
"text" : "-83%"
"text" : "-77%"
}
]
},
Expand All @@ -2209,7 +2210,7 @@
},
{
"evaluation" : "bad",
"text" : "-56%"
"text" : "-44%"
}
]
},
Expand Down Expand Up @@ -2505,6 +2506,11 @@
"carbon-footprint-from-known-ingredients_100g" : 18,
"carbon-footprint-from-known-ingredients_product" : 36,
"energy" : 120,
"energy-kcal" : 765,
"energy-kcal_100g" : 765,
"energy-kcal_unit" : "kcal",
"energy-kcal_value" : 765,
"energy-kcal_value_computed" : 30.5,
"energy-kj" : 120,
"energy-kj_100g" : 120,
"energy-kj_unit" : "kJ",
Expand Down

0 comments on commit 34033ca

Please sign in to comment.