<commit_before><h1>My sites</h1>

<p id="notice"><%= notice %></p>

<table>
  <tr>
    <th></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @sites.each do |site| %>
  <tr>
    <td><%= site.name %></td>
    <td><%= link_to 'Edit site', edit_site_path(site), method: :get %></td>
    <td><%= link_to 'Edit globals', site_path(site), method: :get %></td>
    <td><%= link_to 'Pages', pages_path(:site_id => site.id), method: :get %></td>
    <td><%= link_to 'Generate', pages_path(:site_id => site.id), method: :get %></td>
    <td><%= link_to 'Destroy', site, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New site', new_site_path %><commit_msg>change: linked generate link to right action<commit_after><h1>My sites</h1>

<p id="notice"><%= notice %></p>

<table>
  <tr>
    <th></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @sites.each do |site| %>
  <tr>
    <td><%= site.name %></td>
    <td><%= link_to 'Edit site', edit_site_path(site), method: :get %></td>
    <td><%= link_to 'Edit globals', site_path(site), method: :get %></td>
    <td><%= link_to 'Pages', pages_path(:site_id => site.id), method: :get %></td>
    <td><%= link_to 'Generate', generate_site_path(site), method: :get %></td>
    <td><%= link_to 'Destroy', site, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New site', new_site_path %>
{'fraction_non_alphanumeric': 0.2635605006954103, 'fraction_numerical': 0.0027816411682892906, 'mean_word_length': 3.6720779220779223, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 88, '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': '4126566', 'n_tokens_mistral': 611, 'n_tokens_neox': 583, 'n_words': 147}