Question: What did the company score for NAT.C09 Integrating and acting on human rights risk and impact assessments in the Nature Benchmark?
Answer:
0
World Benchmarking Alliance
Grupo Arcor
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.5, 0.5]
integrating_and_acting_on_rights_risk = [impact_assessments, specific_conclusions]
redistributed_weights(weights, integrating_and_acting_on_rights_risk)

weights.reduce((weighted_sum, weight, index) -> 
              weighted_sum + weight*score(integrating_and_acting_on_rights_risk[index])
             , 0)

Comments