<commit_before>
<div>
  <em>
    <%= t("projects.reports.elements.modals.project_contents_inner.instructions") %>
  </em>
</div>

<% if project.project_my_modules.count > 0 %>
  <%= form.check_box :project, label: project.name, class: "project-all-cb" %>
  <ul class="no-style project-contents-list">
    <% project.experiments.each do |experiment| %>
      <li>
        <%= form.check_box "experiment_#{experiment.id}", label: experiment.name, class: "project-all-cb" %>
        <ul class="no-style experiment-contents-list">
          <% experiment.my_module_groups.each do |my_module_group| %>
            <% if my_module_group.my_modules.present? then %>
                <% my_module_group.ordered_modules.each do |my_module| %>
                  <li>
                    <%= form.check_box "modules[#{my_module.id}]", label: my_module.name %>
                  </li>
                <% end %>
            <% end %>
          <% end %>
        </ul>
      </li>

      <!-- Tasks without groups -->
      <% modules_without_group = experiment.modules_without_group %>
      <% if modules_without_group.present? and modules_without_group.count > 0 %>
        <li>
          <%= form.check_box :no_module_group, label: t("projects.reports.elements.modals.project_contents_inner.no_module_group"), class: "project-all-cb" %>
          <ul class="no-style experiment-contents-list">
            <% modules_without_group.each do |my_module| %>
              <li>
                <%= form.check_box "modules[#{my_module.id}]", label: my_module.name %>
              </li>
            <% end %>
          </ul>
        </li>
      <% end %>
    <% end %>

  </ul>
<% else %>
  <div>
    <em>
      <%= t("projects.reports.elements.modals.project_contents_inner.no_modules") %>
    </em>
  </div>
<% end %><commit_msg>Remove no module group from reports<commit_after>
<div>
  <em>
    <%= t("projects.reports.elements.modals.project_contents_inner.instructions") %>
  </em>
</div>

<% if project.project_my_modules.count > 0 %>
  <%= form.check_box :project, label: project.name, class: "project-all-cb" %>
  <ul class="no-style project-contents-list">
    <% project.experiments.each do |experiment| %>
      <li>
        <%= form.check_box "experiment_#{experiment.id}", label: experiment.name, class: "project-all-cb" %>
        <ul class="no-style experiment-contents-list">
          <% experiment.my_module_groups.each do |my_module_group| %>
            <% if my_module_group.my_modules.present? then %>
                <% my_module_group.ordered_modules.each do |my_module| %>
                  <li>
                    <%= form.check_box "modules[#{my_module.id}]", label: my_module.name %>
                  </li>
                <% end %>
            <% end %>
          <% end %>
        </ul>
      </li>

      <!-- Tasks without groups -->
      <% modules_without_group = experiment.modules_without_group %>
      <% if modules_without_group.present? and modules_without_group.count > 0 %>
        <ul class="no-style experiment-contents-list">
          <% modules_without_group.each do |my_module| %>
            <li>
              <%= form.check_box "modules[#{my_module.id}]", label: my_module.name %>
            </li>
          <% end %>
        </ul>
      <% end %>
    <% end %>

  </ul>
<% else %>
  <div>
    <em>
      <%= t("projects.reports.elements.modals.project_contents_inner.no_modules") %>
    </em>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.16376811594202897, 'fraction_numerical': 0.0011594202898550724, 'mean_word_length': 2.2162162162162162, 'pattern_counts': {'":': 0, '<': 92, '<?xml version=': 0, '>': 96, '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': '4938076', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1072, 'n_words': 183}