code: def score(self, report):
          
  
          try:
              threatlevel = int(report['threat_level'])
              threatscore = int(report['threat_score'])
          except (KeyError, IndexError, ValueError, TypeError) as e:
              raise sandboxapi.SandboxError(e)
  
          # from falcon docs:
          # threatlevel is the verdict field with values: 0 = no threat, 1 = suspicious, 2 = malicious
          # threascore  is the "heuristic" confidence value of Falcon Sandbox in the verdict and is a value between 0
          # and 100. A value above 75/100 is "pretty sure", a value above 90/100 is "very sure".
  
          # the scoring below converts these values to a scalar. modify as needed.
          score = 0
          if threatlevel == 2 and threatscore >= 90:
              score = 10
          elif threatlevel == 2 and threatscore >= 75:
              score = 9
          elif threatlevel == 2:
              score = 8
          elif threatlevel == 1 and threatscore >= 90:
              score = 7
          elif threatlevel == 1 and threatscore >= 75:
              score = 6
          elif threatlevel == 1:
              score = 5
          elif threatlevel == 0 and threatscore < 75:
              score = 1
  
          return score
docs: Pass in the report from self.report(), get back an int 0-10.