<commit_before>## -*- coding: utf-8 -*-
<% from website import settings %>
<div style="margin: 15px 30px 30px; background: white;">
    <p>Hello ${recipient.fullname},</p>
    <p>
    % if workflow == 'pre-moderation':
        Your submission <a href="${reviewable.absolute_url}">${reviewable.title}</a>, submitted to ${reviewable.provider.name} has
        % if is_rejected:
            not been accepted. Contributors with admin permissions may edit the ${reviewable.provider.preprint_word} and
            resubmit, at which time it will return to a pending state and be reviewed by a moderator.
        % else:
            been accepted by the moderator and is now discoverable to others.
        % endif
    % elif workflow == 'post-moderation':
        Your submission <a href="${reviewable.absolute_url}">${reviewable.title}</a>, submitted to ${reviewable.provider.name} has
        % if is_rejected:
            not been accepted and will be made private and not discoverable by others.
            Contributors with admin permissions may edit the ${reviewable.provider.preprint_word} and contact
            the moderator at ${provider_contact_email} to resubmit.
        % else:
            been accepted by the moderator and ${'remains' if was_pending else 'is now'} discoverable to others.
        % endif
    % endif

    % if notify_comment:
        The moderator has also provided a comment that is only visible to contributors
        of the ${reviewable.provider.preprint_word}, and not to others:<br/>
        ${comment}
    % endif
    </p>

    % if not is_rejected:
    <p>
        <table style="padding: 0; border: 0;" width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tbody>
                <tr>
                    <td>
                        Now that you've shared your ${reviewable.provider.preprint_word}, take advantage of more OSF features:
                        <ul>
                            <li>Upload supplemental, materials, data, and code to the OSF project associated with your ${reviewable.provider.preprint_word}.
                                <a href="http://help.osf.io/m/preprints/l/685323-add-supplemental-files-to-a-preprint" target="_blank">Learn how</a></li>
                            <li>Preregister your next study. <a href="http://help.osf.io/m/registrations/l/524205-register-your-project">Read more</a></li>
                            <li>Or share on social media: Tell your friends through:
                                <table style="display: inline-table;" width="53" border="0" cellspacing="0" cellpadding="0" align="center">
                                    <tbody>
                                        <tr>
                                            <td>
                                                <a href="${u'https://twitter.com/home?status=Read%20my%20{word}%2C%20%E2%80%9C{title}%E2%80%9D%20on%20{name}%20{link}'.format(word=reviewable.provider.preprint_word,title=reviewable.title, name=reviewable.provider.name, link=reviewable.absolute_url)}" target="_blank">
                                                    <img src="${'{}static/img/fa-twitter-blue.png'.format(settings.DOMAIN)}" alt="twitter" style="display: block; border: 0;outline: none;text-decoration: none; text-align: center;vertical-align: bottom;" width="14">
                                                </a>
                                            </td>
                                            <td>
                                                <a href="${u'https://www.facebook.com/sharer/sharer.php?u={link}%3Futm_source%3Dnotification%26utm_medium%3Demail%26utm_campaign%3Dpreprint_review_status'.format(link=reviewable.absolute_url)}" target="_blank">
                                                    <img src="${'{}static/img/fa-facebook-blue.png'.format(settings.DOMAIN)}" alt="facebook" style="display: block; border: 0;outline: none;text-decoration: none; text-align: center;vertical-align: bottom;" width="14">
                                                </a>
                                            </td>
                                            <td>
                                                <a href="${u'https://www.linkedin.com/shareArticle?mini=true&url={link}&summary=Read%20my%20{word}%2C%20%E2%80%9C{title}%E2%80%9D%20on%20{name}%20{link}&title=I%20just%20posted%20a%20{word}&source='.format(word=reviewable.provider.preprint_word,title=reviewable.title, name=reviewable.provider.name, link=reviewable.absolute_url)}" target="_blank">
                                                    <img src="${'{}static/img/fa-linkedin-blue.png'.format(settings.DOMAIN)}" alt="LinkedIn" style="display: block; border: 0;outline: none;text-decoration: none; text-align: center;vertical-align: bottom;" width="14">
                                                </a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </li>
                        </ul>
                    </td>
                </tr>
            </tbody>
        </table>
    </p>
    % endif
    % if not is_creator:
    <p>
        If you have been erroneously associated with "${reviewable.title}," then you
        may visit the project's "Contributors" page and remove yourself as a contributor.
    </p>
    % endif
    <p>Learn more about <a href="${provider_url}">${reviewable.provider.name}</a> or <a href="https://osf.io/">OSF</a>.</p>
    <br>
    <p>
        Sincerely,<br>
        Your ${reviewable.provider.name} and OSF teams
    </p>
</div><commit_msg>update knowledge base links<commit_after>## -*- coding: utf-8 -*-
<% from website import settings %>
<div style="margin: 15px 30px 30px; background: white;">
    <p>Hello ${recipient.fullname},</p>
    <p>
    % if workflow == 'pre-moderation':
        Your submission <a href="${reviewable.absolute_url}">${reviewable.title}</a>, submitted to ${reviewable.provider.name} has
        % if is_rejected:
            not been accepted. Contributors with admin permissions may edit the ${reviewable.provider.preprint_word} and
            resubmit, at which time it will return to a pending state and be reviewed by a moderator.
        % else:
            been accepted by the moderator and is now discoverable to others.
        % endif
    % elif workflow == 'post-moderation':
        Your submission <a href="${reviewable.absolute_url}">${reviewable.title}</a>, submitted to ${reviewable.provider.name} has
        % if is_rejected:
            not been accepted and will be made private and not discoverable by others.
            Contributors with admin permissions may edit the ${reviewable.provider.preprint_word} and contact
            the moderator at ${provider_contact_email} to resubmit.
        % else:
            been accepted by the moderator and ${'remains' if was_pending else 'is now'} discoverable to others.
        % endif
    % endif

    % if notify_comment:
        The moderator has also provided a comment that is only visible to contributors
        of the ${reviewable.provider.preprint_word}, and not to others:<br/>
        ${comment}
    % endif
    </p>

    % if not is_rejected:
    <p>
        <table style="padding: 0; border: 0;" width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tbody>
                <tr>
                    <td>
                        Now that you've shared your ${reviewable.provider.preprint_word}, take advantage of more OSF features:
                        <ul>
                            <li>Upload supplemental, materials, data, and code to the OSF project associated with your ${reviewable.provider.preprint_word}.
                                <a href="https://openscience.zendesk.com/hc/en-us/articles/360019930533-Upload-a-Preprint#add-supplemental-materials" target="_blank">Learn how</a></li>
                            <li>Preregister your next study. <a href="https://openscience.zendesk.com/hc/en-us/articles/360019930893-Register-Your-Project">Read more</a></li>
                            <li>Or share on social media: Tell your friends through:
                                <table style="display: inline-table;" width="53" border="0" cellspacing="0" cellpadding="0" align="center">
                                    <tbody>
                                        <tr>
                                            <td>
                                                <a href="${u'https://twitter.com/home?status=Read%20my%20{word}%2C%20%E2%80%9C{title}%E2%80%9D%20on%20{name}%20{link}'.format(word=reviewable.provider.preprint_word,title=reviewable.title, name=reviewable.provider.name, link=reviewable.absolute_url)}" target="_blank">
                                                    <img src="${'{}static/img/fa-twitter-blue.png'.format(settings.DOMAIN)}" alt="twitter" style="display: block; border: 0;outline: none;text-decoration: none; text-align: center;vertical-align: bottom;" width="14">
                                                </a>
                                            </td>
                                            <td>
                                                <a href="${u'https://www.facebook.com/sharer/sharer.php?u={link}%3Futm_source%3Dnotification%26utm_medium%3Demail%26utm_campaign%3Dpreprint_review_status'.format(link=reviewable.absolute_url)}" target="_blank">
                                                    <img src="${'{}static/img/fa-facebook-blue.png'.format(settings.DOMAIN)}" alt="facebook" style="display: block; border: 0;outline: none;text-decoration: none; text-align: center;vertical-align: bottom;" width="14">
                                                </a>
                                            </td>
                                            <td>
                                                <a href="${u'https://www.linkedin.com/shareArticle?mini=true&url={link}&summary=Read%20my%20{word}%2C%20%E2%80%9C{title}%E2%80%9D%20on%20{name}%20{link}&title=I%20just%20posted%20a%20{word}&source='.format(word=reviewable.provider.preprint_word,title=reviewable.title, name=reviewable.provider.name, link=reviewable.absolute_url)}" target="_blank">
                                                    <img src="${'{}static/img/fa-linkedin-blue.png'.format(settings.DOMAIN)}" alt="LinkedIn" style="display: block; border: 0;outline: none;text-decoration: none; text-align: center;vertical-align: bottom;" width="14">
                                                </a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </li>
                        </ul>
                    </td>
                </tr>
            </tbody>
        </table>
    </p>
    % endif
    % if not is_creator:
    <p>
        If you have been erroneously associated with "${reviewable.title}," then you
        may visit the project's "Contributors" page and remove yourself as a contributor.
    </p>
    % endif
    <p>Learn more about <a href="${provider_url}">${reviewable.provider.name}</a> or <a href="https://osf.io/">OSF</a>.</p>
    <br>
    <p>
        Sincerely,<br>
        The ${reviewable.provider.name} and OSF teams
    </p>
</div>
{'fraction_non_alphanumeric': 0.12601025462761797, 'fraction_numerical': 0.018249761015034328, 'mean_word_length': 1.775018085362913, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 70, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5394364', 'n_tokens_mistral': 3185, 'n_tokens_neox': 2947, 'n_words': 700}