<commit_before>%ul.nav.nav-list.well.well-small.feed-nav.feed-sidebar
  %li.nav-header Feeds
  %li
    = link_to refresh_url(feed_id: nil) do
      All feeds
      #refresh.badge.pull-right
        0 unread
  / , data: { track_history: true }
  - Feed.order('title ASC').each do |feed|
    - logger.info "#{params[:feed_id]} == #{feed.id}"
    %li{ id: dom_id(feed, :sidebar), class: (params[:feed_id].to_i == feed.id ? 'active' : '') }
      = link_to refresh_url(feed_id: feed), title: feed.title, data: { track_history: true } do
        %i.icon-rss
        = feed.title
%br/
- if signed_in?
  %ul.nav.nav-list.well.well-small.feed-nav
    %li.nav-header
      Filters<commit_msg>only show unread badge for logged in users<commit_after>%ul.nav.nav-list.well.well-small.feed-nav.feed-sidebar
  %li.nav-header Feeds
  %li
    = link_to refresh_url(feed_id: nil) do
      All feeds
      - if signed_in?
        #refresh.badge.pull-right
          0 unread
  / , data: { track_history: true }
  - Feed.order('title ASC').each do |feed|
    - logger.info "#{params[:feed_id]} == #{feed.id}"
    %li{ id: dom_id(feed, :sidebar), class: (params[:feed_id].to_i == feed.id ? 'active' : '') }
      = link_to refresh_url(feed_id: feed), title: feed.title, data: { track_history: true } do
        %i.icon-rss
        = feed.title
%br/
- if signed_in?
  %ul.nav.nav-list.well.well-small.feed-nav
    %li.nav-header
      Filters
{'fraction_non_alphanumeric': 0.16326530612244897, 'fraction_numerical': 0.0014074595355383533, 'mean_word_length': 2.7421052631578946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4134778', 'n_tokens_mistral': 536, 'n_tokens_neox': 530, 'n_words': 104}