code: def score(self, report):
          
          score = 0
  
          try:
              # cuckoo-modified format
              score = report['malscore']
          except KeyError:
              # cuckoo-2.0 format
              score = report.get('info', {}).get('score', 0)
  
          return score
docs: Pass in the report from self.report(), get back an int.