<commit_before><fieldset class="cf-tab-pane" id="readability">
  <legend><%= t("users.settings.readability_overview") %></legend>

  <div class="cf-cgroup">
    <label><%= t('users.settings.standard_thread_view') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="thread-view" name="settings[standard_view]"<%= disabled %><% if @settings.conf('standard_view') == 'thread-view' %> checked="checked"<% end %>> Thread-Ansicht</label>
      <label class="radio"><input type="radio" value="nested-view" name="settings[standard_view]"<%= disabled %><% if @settings.conf('standard_view') == 'nested-view' %> checked="checked"<% end %>> Nested-Ansicht</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.hide_subjects_when_unchanged') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="no" name="settings[hide_subjects_unchanged]"<%= disabled %><% if @settings.conf('hide_subjects_unchanged', 'yes') == 'no' %> checked="checked"<% end %>> anzeigen</label>
      <label class="radio"><input type="radio" value="yes" name="settings[hide_subjects_unchanged]"<%= disabled %><% if @settings.conf('hide_subjects_unchanged', 'yes') == 'yes' %> checked="checked"<% end %>> ausblenden</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.mark_suspicious') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="yes"
                                  name="settings[mark_suspicious]"<%= disabled %>
        <% if @settings.conf('mark_suspicious') == 'yes' %> checked="checked"<% end %>>
        Ja</label>
      <label class="radio"><input type="radio" value="no"
                                  name="settings[mark_suspicious]"<%= disabled %>
        <% if @settings.conf('mark_suspicious') == 'no' %> checked="checked"<% end %>>
        Nein</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.sort_threads') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="ascending" name="settings[sort_threads]"<%= disabled %><% if @settings.conf('sort_threads') == 'ascending' %> checked="checked"<% end %>> Aufsteigend</label>
      <label class="radio"><input type="radio" value="descending" name="settings[sort_threads]"<%= disabled %><% if @settings.conf('sort_threads') == 'descending' || !@settings.conf('sort_threads') %> checked="checked"<% end %>> Absteigend</label>
      <label class="radio"><input type="radio" value="newest-first" name="settings[sort_threads]"<%= disabled %><% if @settings.conf('sort_threads') == 'newest-first' %> checked="checked"<% end %>> Threads mit letzter Aktivität zuerst</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.sort_messages') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="ascending" name="settings[sort_messages]"<%= disabled %><% if @settings.conf('sort_messages') == 'ascending' %> checked="checked"<% end %>> Aufsteigend</label>
      <label class="radio"><input type="radio" value="descending" name="settings[sort_messages]"<%= disabled %><% if @settings.conf('sort_messages') == 'descending' || !@settings.conf('sort_messages') %> checked="checked"<% end %>> Absteigend</label>
    </div>
  </div>

  <%= render 'widgets/users_selector', desc: t('users.settings.highlighted_users'), name: "settings[highlighted_users][]", id: "settings_highlighted_users", users: @highlighted_users_list %>
<commit_msg>fix: set some reasonable defaults<commit_after><fieldset class="cf-tab-pane" id="readability">
  <legend><%= t("users.settings.readability_overview") %></legend>

  <div class="cf-cgroup">
    <label><%= t('users.settings.standard_thread_view') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="thread-view" name="settings[standard_view]"<%= disabled %><% if @settings.conf('standard_view', 'thread-view') == 'thread-view' %> checked="checked"<% end %>> Thread-Ansicht</label>
      <label class="radio"><input type="radio" value="nested-view" name="settings[standard_view]"<%= disabled %><% if @settings.conf('standard_view', 'thread-view') == 'nested-view' %> checked="checked"<% end %>> Nested-Ansicht</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.hide_subjects_when_unchanged') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="no" name="settings[hide_subjects_unchanged]"<%= disabled %><% if @settings.conf('hide_subjects_unchanged', 'yes') == 'no' %> checked="checked"<% end %>> anzeigen</label>
      <label class="radio"><input type="radio" value="yes" name="settings[hide_subjects_unchanged]"<%= disabled %><% if @settings.conf('hide_subjects_unchanged', 'yes') == 'yes' %> checked="checked"<% end %>> ausblenden</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.mark_suspicious') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="yes"
                                  name="settings[mark_suspicious]"<%= disabled %>
        <% if @settings.conf('mark_suspicious', 'yes') == 'yes' %> checked="checked"<% end %>>
        Ja</label>
      <label class="radio"><input type="radio" value="no"
                                  name="settings[mark_suspicious]"<%= disabled %>
        <% if @settings.conf('mark_suspicious', 'yes') == 'no' %> checked="checked"<% end %>>
        Nein</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.sort_threads') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="ascending" name="settings[sort_threads]"<%= disabled %><% if @settings.conf('sort_threads', 'descending') == 'ascending' %> checked="checked"<% end %>> Aufsteigend</label>
      <label class="radio"><input type="radio" value="descending" name="settings[sort_threads]"<%= disabled %><% if @settings.conf('sort_threads', 'descending') == 'descending' %> checked="checked"<% end %>> Absteigend</label>
      <label class="radio"><input type="radio" value="newest-first" name="settings[sort_threads]"<%= disabled %><% if @settings.conf('sort_threads', 'descending') == 'newest-first' %> checked="checked"<% end %>> Threads mit letzter Aktivität zuerst</label>
    </div>
  </div>

  <div class="cf-cgroup">
    <label><%= t('users.settings.sort_messages') %></label>
    <div class="cntrls">
      <label class="radio"><input type="radio" value="ascending" name="settings[sort_messages]"<%= disabled %><% if @settings.conf('sort_messages', 'ascending') == 'ascending' %> checked="checked"<% end %>> Aufsteigend</label>
      <label class="radio"><input type="radio" value="descending" name="settings[sort_messages]"<%= disabled %><% if @settings.conf('sort_messages', 'ascending') == 'descending' %> checked="checked"<% end %>> Absteigend</label>
    </div>
  </div>

  <%= render 'widgets/users_selector', desc: t('users.settings.highlighted_users'), name: "settings[highlighted_users][]", id: "settings_highlighted_users", users: @highlighted_users_list %>

{'fraction_non_alphanumeric': 0.2163361530994314, 'fraction_numerical': 0.0, 'mean_word_length': 5.195876288659794, 'pattern_counts': {'":': 0, '<': 215, '<?xml version=': 0, '>': 215, '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': '823566', 'n_tokens_mistral': 2432, 'n_tokens_neox': 2267, 'n_words': 413}