<commit_before>- cool_paper = paper.scites_count > 0 || @search

- unless defined?(showabs)
  - showabs = cool_paper || (current_user && current_user.expand_abstracts)

li.paper.tex2jax
  .row
    .col-md-8
      .title
        a href="/arxiv/#{paper.uid}" = paper.title
      .authors
        - paper.authors_searchterm[0..19].each_with_index do |searchterm, i|
          a> href="/search?q=au:#{searchterm}+in:#{paper.feed_uids[0].split('.')[0]}"
            = paper.authors_fullname[i] + (i == paper.authors_searchterm.length - 1 ? ' ' : ',')
        - if paper.authors_searchterm.length > 20
          = link_to "et al (#{paper.authors_searchterm.length - 20})", paper
      .uid
        => paper.pubdate.strftime("%b %d %Y")
        - paper.feed_uids.each do |feed_uid|
          a> href=(feed_uid) = feed_uid
        => "arXiv:#{paper.uid}v#{paper.versions_count}"
    .col-md-4
      .pull-right
        div.scite-toggle> data-paper-uid=(paper.uid)
          button.btn.unscite.btn-success title="Unscite this paper"
            | Scited

          button.btn.btn-default.scite title="Scite this paper if you find it interesting"
            | Scite!

          .scites-count
            a href="/arxiv/#{paper.uid}/scites" title="Number of Scites"
              button.btn.btn-default.count= paper.scites_count

        div.bibtex>
          a.btn.btn-default title="Get BibTeX citation"
            i.fa.fa-bookmark-o
          .card.hidden
            textarea.bibtex= paper.to_bibtex
            button#copyButton.btn.btn-default Copy Citation

        a.paper-download.btn.btn-success title="Download PDF" href=(paper.pdf_url)
          | PDF
        - if paper.comments_count > 0
          div
            a href="/arxiv/#{paper.uid}" = pluralize(paper.comments_count, 'comment')
<commit_msg>Fix feed links<commit_after>- cool_paper = paper.scites_count > 0 || @search

- unless defined?(showabs)
  - showabs = cool_paper || (current_user && current_user.expand_abstracts)

li.paper.tex2jax
  .row
    .col-md-8
      .title
        a href="/arxiv/#{paper.uid}" = paper.title
      .authors
        - paper.authors_searchterm[0..19].each_with_index do |searchterm, i|
          a> href="/search?q=au:#{searchterm}+in:#{paper.feed_uids[0].split('.')[0]}"
            = paper.authors_fullname[i] + (i == paper.authors_searchterm.length - 1 ? ' ' : ',')
        - if paper.authors_searchterm.length > 20
          = link_to "et al (#{paper.authors_searchterm.length - 20})", paper
      .uid
        => paper.pubdate.strftime("%b %d %Y")
        - paper.feed_uids.each do |feed_uid|
          a> href="/arxiv/#{feed_uid}" = feed_uid
        => "arXiv:#{paper.uid}v#{paper.versions_count}"
    .col-md-4
      .pull-right
        div.scite-toggle> data-paper-uid=(paper.uid)
          button.btn.unscite.btn-success title="Unscite this paper"
            | Scited

          button.btn.btn-default.scite title="Scite this paper if you find it interesting"
            | Scite!

          .scites-count
            a href="/arxiv/#{paper.uid}/scites" title="Number of Scites"
              button.btn.btn-default.count= paper.scites_count

        div.bibtex>
          a.btn.btn-default title="Get BibTeX citation"
            i.fa.fa-bookmark-o
          .card.hidden
            textarea.bibtex= paper.to_bibtex
            button#copyButton.btn.btn-default Copy Citation

        a.paper-download.btn.btn-success title="Download PDF" href=(paper.pdf_url)
          | PDF
        - if paper.comments_count > 0
          div
            a href="/arxiv/#{paper.uid}" = pluralize(paper.comments_count, 'comment')

{'fraction_non_alphanumeric': 0.14167357083678542, 'fraction_numerical': 0.008285004142502071, 'mean_word_length': 2.1855760773966577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '343327', 'n_tokens_mistral': 1234, 'n_tokens_neox': 1165, 'n_words': 204}