docs: def compute_quality_score(self, quality):
          """Compute the score related to the quality of that dataset."""
          score = 0
          UNIT = 2
          if 'frequency' in quality:
              # TODO: should be related to frequency.
              if quality['update_in'] < 0:
                  score += UNIT
              else:
                  score -= UNIT
          if 'tags_count' in quality:
              if quality['tags_count'] > 3:
                  score += UNIT
          if 'description_length' in quality:
              if quality['description_length'] > 100:
                  score += UNIT
          if 'has_resources' in quality:
              if quality['has_only_closed_or_no_formats']:
                  score -= UNIT
              else:
                  score += UNIT
              if quality['has_unavailable_resources']:
                  score -= UNIT
              else:
                  score += UNIT
          if 'discussions' in quality:
              if quality['has_untreated_discussions']:
                  score -= UNIT
              else:
                  score += UNIT
          if score < 0:
              return 0
          return score