-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: associated packagings #7756
Conversation
Failed test at tests/unit/ecoscore.t line 576.Structures begin differing at:$got->{packagings}[0]{material} = 'en:metal,en:aluminium,en:steel'$expected->{packagings}[0]{material} = 'en:metal' |
@@ -383,6 +397,7 @@ xx:PEmet, 07 PEmet, PEmet 07, 07PEmet, PEmet07, 7 PEmet, PEmet 7, 7PEmet, PEmet7 | |||
<xx:PE | |||
en:MDPE - Medium-density polyethylene, Medium-density polyethylene | |||
de:MDPE - Polyethylen mittlerer Dichte, Polyethylen mittlerer Dichte | |||
fr:MDPE - Polyéthylène moyenne densité, Polyéthylène moyenne densité |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:MDPE - Polyéthylène moyenne densité, Polyéthylène moyenne densité | |
fr:07 - MDPE - Polyéthylène moyenne densité, Polyéthylène moyenne densité |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stephanegigandet ok with adding the number as a prefix, as proposed in the Packaging meeting ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge the PR as is without adding further changes, I will make a new PR with the numbers. We'll probably keep the acronym first and have the number second, so that suggestions work better. If the number is first, searching for "PET" will result in many PET + something composites etc. being suggested first.
xx:LLDPE, 07 LLDPE, LLDPE 07, 07LLDPE, LLDPE07, 7 LLDPE, LLDPE 7, 7LLDPE, LLDPE7, PE-LLD, 07 PE-LLD, PE-LLD 07, 07PE-LLD, PE-LLD07, 7 PE-LLD, PE-LLD 7, 7PE-LLD, PE-LLD7 | ||
wikidata:en:Q1863987 | ||
|
||
<en:Multilayer composite | ||
<xx:PET | ||
en:PETmet - Metalized polyethylene terephthalate, Metalized polyethylene terephthalate | ||
de:PETmet - Metallisiertes Polyethylenterephthalat, Metallisiertes Polyethylenterephthalat | ||
fr:PETmet - Polyéthylène téréphtalate métallisé |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:PETmet - Polyéthylène téréphtalate métallisé | |
fr:07 - PETmet - Polyéthylène téréphtalate métallisé, Polyéthylène téréphtalate métallisé |
@@ -363,13 +375,15 @@ wikidata:en:Q413769 | |||
<xx:PE | |||
en:LLDPE - Linear low-density polyethylene, Linear low-density polyethylene | |||
de:LLDPE - Lineares Polyethylen niedriger Dichte, Lineares Polyethylen niedriger Dichte | |||
fr:LLDPE - Polyéthylène basse densité linéaire, Polyéthylène basse densité linéaire |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:LLDPE - Polyéthylène basse densité linéaire, Polyéthylène basse densité linéaire | |
fr:07 - LLDPE - Polyéthylène basse densité linéaire, Polyéthylène basse densité linéaire |
@@ -323,6 +333,7 @@ wikidata:en:Q62246 | |||
<en:Other plastics | |||
en:PA - Polyamide, Polyamide | |||
de:PA - Polyamide, Polyamide | |||
fr:PA - Polyamide, Polyamide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:PA - Polyamide, Polyamide | |
fr:07 - PA - Polyamide, Polyamide |
@@ -315,6 +324,7 @@ non_recyclable_and_non_biodegradable:en:yes | |||
<en:Other plastics | |||
en:PC - Polycarbonate, Polycarbonate | |||
de:PC - Polycarbonate, Polycarbonate | |||
fr:PC - Polycarbonate, Polycarbonate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:PC - Polycarbonate, Polycarbonate | |
fr:07 - PC - Polycarbonate, Polycarbonate |
@@ -124,6 +128,7 @@ non_recyclable_and_non_biodegradable:en:no | |||
<en:Other plastics | |||
en:PVDC - Polyvinylidene chloride, Polyvinylidene chloride | |||
de:PVDC - Polyvinylidenchlorid, Polyvinylidenchlorid | |||
fr:PVDC - Chlorure de polyvinylidène, Chlorure de polyvinylidène |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:PVDC - Chlorure de polyvinylidène, Chlorure de polyvinylidène | |
fr:01 - PVDC - Chlorure de polyvinylidène, Chlorure de polyvinylidène |
@@ -275,11 +281,13 @@ non_recyclable_and_non_biodegradable:en:no | |||
<xx:PP | |||
en:CPP - Cast PolyPropylen, Cast PolyPropylen | |||
de:CPP - Ungerecktes Polypropylen | |||
fr:CPP - Polypropylène coulé, Polypropylène coulé |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:CPP - Polypropylène coulé, Polypropylène coulé | |
fr:05 - CPP - Polypropylène coulé, Polypropylène coulé |
xx:CPP, PP-C, 05 CPP, CPP 05, 5 CPP, CPP 5, 05CPP, CPP05, 5CPP, CPP5, 05 PP-C, PP-C 05, 5 PP-C, PP-C 5, 05PP-C, PP-C05, 5PP-C, PP-C5 | ||
|
||
<xx:PP | ||
en:OPP - Oriented PolyPropylen, Oriented PolyPropylen | ||
de:OPP - Orientiertes Polypropylen | ||
fr:OPP - PolyPropylène Orienté, PolyPropylène Orienté |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fr:OPP - PolyPropylène Orienté, PolyPropylène Orienté | |
fr:05 - OPP - PolyPropylène Orienté, PolyPropylène Orienté |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge as is.
Tests are failing, probably need to be updated, I'll look into it. |
Tests are failing because the default "packaging_materials:en: en:metal" was removed for en:can, I will add it back. |
@stephanegigandet I've added the fix so that tests can start running |
Kudos, SonarCloud Quality Gate passed! |
What
Part of