Formula
getResult = (m1, m2, location, address, products, parent) -> opts = [ "Name of Facility" "Address" "Type of products or services" "Approximate number of workers at each site" "Name of Parent Company (for each facility if applicable)" ] if ["Yes", "Partial"].includes m1 then m1 else if [m2].flat().filter((v) -> opts.includes v).length == 5 then "Yes" else if [m2].flat().some((v) -> opts.includes v) then "Partial" else if [location, address, products, parent].filter((v) -> v == "Yes").length == 4 then "Yes" else if [location, address, products, parent].some((v) -> v == "Yes") then "Partial" else "No" getResult(m1, m2, location, address, products, parent)
Supplier Disclosure
Research lock_open
Clean Clothes Campaign
m1
3.1 Tier One Factory Disclosure
Research lock
Fashion Revolution
m2
Fashion Revolution
location
Fashion Revolution
address
Fashion Revolution
products
Fashion Revolution
parent
Topics
Value Type
Category
Options
Yes
Partial
No
Researchable
no
Research Policy
Community Assessed
Steward
Yes Fair Wear Foundation