docs: def render(self):
          """Render report to HTML"""
          template = self.get_template()
          return template.render(
              messages=self._messages,
              metrics=self.metrics,
              report=self)