<commit_before><%= form_tag path, :method => 'get', :id => "entries_filter" do %>
  <%= hidden_field_tag :sort, params[:sort] %>
	<%= select nil, :is_popular, options_for_select({ "Klassik" => 0, "Pop" => 1 }, current_scopes[:is_popular]),
      { :include_blank => "Alle Genres" } %>
  <%= select nil, :in_category, Category.all.collect { |c| [c.name, c.id] },
      { :selected => params[:in_category], :include_blank => "Alle Kategorien" } %>
  <%= select nil, :from_host, Host.all.collect { |c| [c.name, c.id] },
      { :selected => params[:from_host], :include_blank => "Alle Schulen" } %>
	<%= select nil, :on_date,
          @competition.days.collect { |day| [l(day, :format => :long), day.to_s] },
        { :selected => params[:on_date], :include_blank => "Alle Tage" } %>
  <%= submit_tag "Filtern", :name => nil %>
<% end %><commit_msg>Filter shows only currently active categories<commit_after><%= form_tag path, :method => 'get', :id => "entries_filter" do %>
  <%= hidden_field_tag :sort, params[:sort] %>
	<%= select nil, :is_popular, options_for_select({ "Klassik" => 0, "Pop" => 1 }, current_scopes[:is_popular]),
      { :include_blank => "Alle Genres" } %>
  <%= select nil, :in_category, Category.current.collect { |c| [c.name, c.id] },
      { :selected => params[:in_category], :include_blank => "Alle Kategorien" } %>
  <%= select nil, :from_host, Host.all.collect { |c| [c.name, c.id] },
      { :selected => params[:from_host], :include_blank => "Alle Schulen" } %>
	<%= select nil, :on_date,
          @competition.days.collect { |day| [l(day, :format => :long), day.to_s] },
        { :selected => params[:on_date], :include_blank => "Alle Tage" } %>
  <%= submit_tag "Filtern", :name => nil %>
<% end %>
{'fraction_non_alphanumeric': 0.21593533487297922, 'fraction_numerical': 0.0023094688221709007, 'mean_word_length': 4.157738095238095, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 45, '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': '813597', 'n_tokens_mistral': 655, 'n_tokens_neox': 617, 'n_words': 137}