<commit_before><% if id.nil? || id.value == '' %>
    <% if scheme.name.downcase == 'orcid' %>
        <%= link_to  Rails.application.routes.url_helpers.send("user_orcid_omniauth_authorize_path"),
                     id: "connect-orcid-button", target: '_blank',
                     title: _("ORCID provides a persistent digital identifier that distinguishes you from other researchers. Learn more at orcid.org"),
                     'data-toggle': "tooltip", method: :post do %>
          <%= image_tag 'https://orcid.org/sites/default/files/images/orcid_16x16.png', alt: _('ORCID logo') %>
          &nbsp;
          <%= _("Create or connect your ORCID iD") %>
        <% end %>
    <% elsif scheme.name.downcase == 'shibboleth' %>
        <i class="fas fa-user" title="<%= _('Institutional credentials') %>" aria-hidden="true"></i>
        &nbsp;
        <%= link_to _('Link your institutional credentials'),
                    Rails.application.routes.url_helpers.send("user_shibboleth_omniauth_authorize_path"),
                    title: _("Link your institutional credentials to access your account with them."),
                    'data-toggle': "tooltip", method: :post %>
    <% end %>
<% else %>
    <% if scheme.name.downcase == 'orcid' %>
        <% titletext = _("ORCID provides a persistent digital identifier that distinguishes you from other researchers. Learn more at orcid.org") %>
        <% unlinktext = _("Disconnect your account from ORCID. You can reconnect at any time.") %>
        <% unlinkconf = _("Are you sure you want to disconnect your ORCID ID?") %><commit_msg>open omniauth orcid controller in same window<commit_after><% if id.nil? || id.value == '' %>
    <% if scheme.name.downcase == 'orcid' %>
        <%= link_to  Rails.application.routes.url_helpers.send("user_orcid_omniauth_authorize_path"),
                     id: "connect-orcid-button",
                     title: _("ORCID provides a persistent digital identifier that distinguishes you from other researchers. Learn more at orcid.org"),
                     'data-toggle': "tooltip", method: :post do %>
          <%= image_tag 'https://orcid.org/sites/default/files/images/orcid_16x16.png', alt: _('ORCID logo') %>
          &nbsp;
          <%= _("Create or connect your ORCID iD") %>
        <% end %>
    <% elsif scheme.name.downcase == 'shibboleth' %>
        <i class="fas fa-user" title="<%= _('Institutional credentials') %>" aria-hidden="true"></i>
        &nbsp;
        <%= link_to _('Link your institutional credentials'),
                    Rails.application.routes.url_helpers.send("user_shibboleth_omniauth_authorize_path"),
                    title: _("Link your institutional credentials to access your account with them."),
                    'data-toggle': "tooltip", method: :post %>
    <% end %>
<% else %>
    <% if scheme.name.downcase == 'orcid' %>
        <% titletext = _("ORCID provides a persistent digital identifier that distinguishes you from other researchers. Learn more at orcid.org") %>
        <% unlinktext = _("Disconnect your account from ORCID. You can reconnect at any time.") %>
        <% unlinkconf = _("Are you sure you want to disconnect your ORCID ID?") %>
{'fraction_non_alphanumeric': 0.14009962640099627, 'fraction_numerical': 0.0024906600249066002, 'mean_word_length': 2.6804123711340204, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5829704', 'n_tokens_mistral': 976, 'n_tokens_neox': 909, 'n_words': 254}