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