<commit_before>%h1 All Swarms

%p This page lists all swarms

%table.table
  %thead
    %tr
      %th Name
      %th Description
      %th Opens At
      %th Closes At
      %th Actions

  %tbody
    - for swarm in @swarms
      %tr
        %td= swarm.name
        %td= swarm.description
        %td= swarm.opens_at
        %td= swarm.closes_at
        %td
          = link_to "Edit", edit_swarm_path(swarm)
          |
          = link_to "Delete", delete_swarm_path(swarm)
          |
          = link_to "JSON", swarm_path(swarm, :format => 'json')
          |
          = link_to "Results", result_path(swarm)

%p= link_to "New swarm", new_swarm_path
<commit_msg>Link to view swarm from front page.<commit_after>%h1 All Swarms

%p This page lists all swarms

%table.table
  %thead
    %tr
      %th Name
      %th Description
      %th Opens At
      %th Closes At
      %th Actions

  %tbody
    - for swarm in @swarms
      %tr
        %td= swarm.name
        %td= swarm.description
        %td= swarm.opens_at
        %td= swarm.closes_at
        %td
          = link_to "View", swarm
          |
          = link_to "Edit", edit_swarm_path(swarm)
          |
          = link_to "Delete", delete_swarm_path(swarm)
          |
          = link_to "JSON", swarm_path(swarm, :format => 'json')
          |
          = link_to "Results", result_path(swarm)

%p= link_to "New swarm", new_swarm_path

{'fraction_non_alphanumeric': 0.10271041369472182, 'fraction_numerical': 0.0014265335235378032, 'mean_word_length': 1.7892644135188867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6074238', 'n_tokens_mistral': 498, 'n_tokens_neox': 477, 'n_words': 125}