Question: What did the company score for NAT.B03 Key areas important for biodiversity in the Nature Benchmark?
Answer:
2.5
World Benchmarking Alliance
JM Smucker
2023
Unverified - Added by Steward

score = (x) -> 
  if x == "Yes"
    10
  else if x == "Partially"
    5
  else
    0
    
redistributed_weights = (weights, values) ->
  num_of_weighted_values = weights.length  
  for value, index in values
    if value == "Not Applicable"
      num_of_weighted_values -= 1
      redistributed_weight_value = weights[index]
      for weight, i in weights
        if weight == 0
          continue
        weights[i] = weight + redistributed_weight_value/num_of_weighted_values
      weights[index] = 0
  weights
  
weights = [0.25, 0.25, 0.25, 0.25]
key_areas_for_biodiversity = [location_disclosure, key_areas_for_biodiversity_disclosure, key_areas_for_upstream_relationships, key_areas_for_management_plan]
redistributed_weights(weights, key_areas_for_biodiversity)

weights.reduce((weighted_sum, weight, index) -> 
              weighted_sum + weight*score(key_areas_for_biodiversity[index])
             , 0)
location_disclosure
Yes
key_areas_for_biodiversity_disclosure
No

Comments