def METHOD_NAME(failed_builds, total_builds, html=False):
    # All the templates
    count = [
            '{{failed}} of {{total}} regressions failed',
            '<p><b>{{failed}}</b> of <b>{{total}}</b> regressions failed</p>'
    ]
    regression_link = [
            '\tRegression Link: {{link}}\n'
            '\tNode: {{node}}',
            '<p>&emsp;Regression Link: {{link}}</p>'
            '<p>&emsp;Node: {{node}}</p>'
    ]
    component = [
            '\tComponent: {{comp}}',
            '<p>&emsp;Component: {{comp}}</p>'
    ]
    failure_count = [
            ''.join([
                TERM.red,
                '{{test}} ; Failed {{count}} times',
                TERM.normal
            ]),
            (
                '<p><font color="red"><b>{{test}};</b> Failed <b>{{count}}'
                '</b> times</font></p>'
            )
    ]
    template = 0
    if html:
        template = 1
    print(render(
            count[template],
            {'failed': failed_builds, 'total': total_builds}
    ))
    for k, v in summary.items():
        if k == 'core':
            print(''.join([TERM.red, "Found cores:", TERM.normal]))
            for comp, link in zip(v[::2], v[1::2]):
                print(render(component[template], {'comp': comp}))
                print(render(
                        regression_link[template],
                        {'link': link[0], 'node': link[1]}
                ))
        else:
            print(render(failure_count[template], {'test': k, 'count': len(v)}))
            for link in v:
                print(render(
                        regression_link[template],
                        {'link': link[0], 'node': link[1]}
                ))