def html(self):
        """
        Generate an HTML representation of the compactness score. This
        is represented as a percentage or "n/a"

        @return: A number formatted similar to "1.00%", or "n/a"
        """
        if not self.result is None and self.result in 'value':
            return self.percentage()
        else:
            return _("n/a")
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/calculators.py/LengthWidthCompactness.html/swapped operands of `in`