def calculate_score(self):
    now = datetime.datetime.utcnow()
    if self.repository.most_recent_date != datetime.datetime(1, 1, 1):
      td = (now - self.repository.most_recent_date)
      r = (td.seconds + td.days * 24 * 3600) / 60
    else:
      r = MAX_SCORE_MINUTES
    r = min([r, MAX_SCORE_MINUTES])
    
    if self.blog.most_recent_date != datetime.datetime(1, 1, 1):
      td = (now - self.blog.most_recent_date)
      b = 60 / (td.seconds + td.days * 24 * 3600)
    else:
      b = MAX_SCORE_MINUTES
    b = min([b, MAX_SCORE_MINUTES])
    
    self.score = r * 1.5 + b
    self.save()
  
  # string representation of the project
dataset/ETHPy150Open natestedman/Observatory/observatory/dashboard/models/Project.py/Project.calculate_score/swapped operands of `/`