<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def render(self):
 """Render report to HTML"""

        template = self.get_template()
        return template.render(
            messages=self._messages,
            metrics=self.metrics,
            report=self)