<commit_before>= item.coins_span

- if item.grant_info.present?
  %p
    Research funded by
    = item.grant_info.join('  |  ')

.item-links
  - if item.citations.present?
    %a{:href => "javascript:showCitationsBox('#{item.hashed}');"}
      %i.fa.fa-quote-left
        = item.citations.count
        citations from patents
  %a{:href => 'http://doi.org/' + item.doi}
    %i.fa.fa-external-link
    = "http://doi.org/#{item.doi}"
  %a.cite-link.nowrap{:href => "javascript:showCiteBox('#{item.doi}', '#{item.title_escaped}');"}
    %i.fa.fa-quote-left
    Cite

  - if item.alternate.present?
    %span.dropdown.nowrap
      %a.dropdown-toggle{:role => 'button', 'data-toggle' => 'dropdown', :href => '#'}
        %i.fa.fa-info
        Other Identifiers
      %ul.dropdown-menu{:role => 'menu'}
        - item.alternate.each do |alternate|
          %li.alternate
            %strong
              = alternate[:id]
            = alternate[:text]

  - if signed_in?
    - if item.in_user_profile?
      %span.well-transparent.claim-ok{id: item.doi}
        %img{src: '/images/orcid_16x16.gif'}
        %span In your profile
    - elsif item.user_claimed?
      %span.well-transparent.claim-warn{id: item.doi}
        %img{src: '/images/orcid_16x16.gif'}
        %span Not visible
    - else
      %span.well-transparent.claim-none{id: item.doi}
        %img{src: '/images/orcid_16x16.gif'}
        %span Add to ORCID

- if item.grouped_related.present?<commit_msg>another rename from profile to record<commit_after>= item.coins_span

- if item.grant_info.present?
  %p
    Research funded by
    = item.grant_info.join('  |  ')

.item-links
  - if item.citations.present?
    %a{:href => "javascript:showCitationsBox('#{item.hashed}');"}
      %i.fa.fa-quote-left
        = item.citations.count
        citations from patents
  %a{:href => 'http://doi.org/' + item.doi}
    %i.fa.fa-external-link
    = "http://doi.org/#{item.doi}"
  %a.cite-link.nowrap{:href => "javascript:showCiteBox('#{item.doi}', '#{item.title_escaped}');"}
    %i.fa.fa-quote-left
    Cite

  - if item.alternate.present?
    %span.dropdown.nowrap
      %a.dropdown-toggle{:role => 'button', 'data-toggle' => 'dropdown', :href => '#'}
        %i.fa.fa-info
        Other Identifiers
      %ul.dropdown-menu{:role => 'menu'}
        - item.alternate.each do |alternate|
          %li.alternate
            %strong
              = alternate[:id]
            = alternate[:text]

  - if signed_in?
    - if item.in_user_profile?
      %span.well-transparent.claim-ok{id: item.doi}
        %img{src: '/images/orcid_16x16.gif'}
        %span In your record
    - elsif item.user_claimed?
      %span.well-transparent.claim-warn{id: item.doi}
        %img{src: '/images/orcid_16x16.gif'}
        %span Not visible
    - else
      %span.well-transparent.claim-none{id: item.doi}
        %img{src: '/images/orcid_16x16.gif'}
        %span Add to ORCID

- if item.grouped_related.present?
{'fraction_non_alphanumeric': 0.1672875042329834, 'fraction_numerical': 0.008127328140873687, 'mean_word_length': 2.403225806451613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, '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': '1964069', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1051, 'n_words': 166}