def METHOD_NAME(actual, expected, failed):
    _actual = f'<a href="{actual}"><img src="{actual}">'
    _expected = f'<a href="{expected}"><img src="{expected}">'
    _failed = "--"
    if failed:
        _failed = f'<a href="{failed}">diff</a>'
        status = "failed"
    elif not expected:
        status = "new"
        _expected = ""
        _failed = ""
    else:
        status = "passed"
    return f"""